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

mark strings as translatable, fixes #698

parent 32fdf021
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class Search_ModuleController extends MVVController
$widget = new SelectWidget(_('Studiengänge'),
$this->url_for('',['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;
......@@ -175,7 +175,7 @@ class Search_ModuleController extends MVVController
$widget = new SelectWidget(_('Fächer'),
$this->url_for('',['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;
......@@ -189,7 +189,6 @@ class Search_ModuleController extends MVVController
$widget = new SelectWidget(_('Verantwortliche Einrichtungen'),
$this->url_for('',['sterm' => $this->sterm, 'type' => 'Fachbereich']), '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.
Please register or to comment