Skip to content
Snippets Groups Projects
Commit 0935cd55 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

mark strings as translatable, fixes #698

parent 3df90678
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ class Search_ModuleController extends MVVController
$this->indexURL(['sterm' => $this->sterm, 'type' => 'Studiengang']),
'id'
);
$options = [0 => 'Alle'];
$options = [0 => _('Alle')];
if(!empty($drill_down['studiengaenge']['objects'])){
foreach ($drill_down['studiengaenge']['objects'] as $studiengang) {
$options[$studiengang->studiengang_id] = $studiengang->name;
......@@ -180,7 +180,7 @@ class Search_ModuleController extends MVVController
$this->indexURL(['sterm' => $this->sterm, 'type' => 'Fach']),
'id'
);
$options = [0 => 'Alle'];
$options = [0 => _('Alle')];
if(!empty($drill_down['faecher']['objects'])){
foreach ($drill_down['faecher']['objects'] as $fach) {
$options[$fach->fach_id] = $fach->name;
......@@ -197,7 +197,6 @@ class Search_ModuleController extends MVVController
'id'
);
$widget->class = 'institute-list';
$options = [0 => 'Alle'];
$widget->addElement(new SelectElement(0, _('Alle')), 'select-all');
if(!empty($drill_down['institutes']['objects'])){
foreach ($drill_down['institutes']['objects'] as $institut) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment