Skip to content

Commit 26d9fc0

Browse files
WIP: festival: Allow translating lineup and timetable headers
1 parent a8cd575 commit 26d9fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/datatypes/festival.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ protected function lineupView(HyphaRequest $request) {
959959
$this->html->find('#langList')->append(hypha_indexLanguages($this->pageListNode, $this->language, self::PATH_LINEUP));
960960

961961
$html = '';
962-
$header = $this->getConfigElement(self::CONFIG_ID_LINEUP_HEADER);
962+
$header = $this->getConfigElement(self::CONFIG_ID_LINEUP_HEADER, null, $this->language);
963963
if ($header)
964964
$html .= '<div class="header">' . $header->html() . '</div>';
965965
foreach($this->getContributions() as $contribution) {
@@ -1042,7 +1042,7 @@ protected function timetableView(HyphaRequest $request) {
10421042
$locations = $this->getConfigElement(self::CONFIG_ID_LOCATIONS, self::CONFIG_TAG_LOCATIONS)->children();
10431043

10441044
$html = '';
1045-
$header = $this->getConfigElement(self::CONFIG_ID_TIMETABLE_HEADER);
1045+
$header = $this->getConfigElement(self::CONFIG_ID_TIMETABLE_HEADER, null, $this->language);
10461046
if ($header)
10471047
$html .= '<div class="header">' . $header->html() . '</div>';
10481048
// iterate over all dates

0 commit comments

Comments
 (0)