Translate treemenu entries

This commit is contained in:
chfhtw
2026-07-17 12:01:17 +02:00
parent 43d69a5683
commit 65e76e951a
2 changed files with 446 additions and 3 deletions
+5 -3
View File
@@ -85,7 +85,7 @@ class StudVwLib
return [
[
'path' => sprintf($path_template, '1'),
'name' => 'Prestudent',
'name' => ['lehre', 'prestudent'],
'no_sem_reload' => true
]
];
@@ -187,9 +187,10 @@ class StudVwLib
if ($stg === null)
return [];
// TODO(chris): phrasen
$item = [
'path' => sprintf($path_template, '1'),
'name' => $original_method
'name' => ['treemenu', 'filter_' . $original_method]
];
if (!$has_children)
@@ -203,9 +204,10 @@ class StudVwLib
if (!$this->_ci->permissionlib->isBerechtigt('inout/uebersicht'))
return [];
// TODO(chris): phrasen
$item = [
'path' => sprintf($path_template, '1'),
'name' => $original_method
'name' => ['treemenu', 'inout_' . $original_method]
];
if (!$has_children)
+441
View File
@@ -39988,6 +39988,447 @@ array(
)
)
),
//**************************** CORE/treemenu
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_interessenten',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Interessenten',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Candidates',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerbungnichtabgeschickt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Bewerbung nicht abgeschickt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Application not submitted',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerbungabgeschickt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Bewerbung abgeschickt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Application submitted',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_zgv',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'ZGV',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'ZGV',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_statusbestaetigt',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Status bestätigt',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Status confirmed',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_statusbestaetigtrtnichtangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest nicht angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test not registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_statusbestaetigtrtangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_reihungstestnichtangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest nicht angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test not registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_reihungstestangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerber',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Bewerber',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Applicants',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerberrtnichtangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest nicht angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test not registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerberrtangemeldet',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Reihungstest angemeldet',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Ranking test registered',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerberrtangemeldetteilgenommen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Teilgenommen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Participated',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_bewerberrtangemeldetnichtteilgenommen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Nicht teilgenommen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Not participated',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_aufgenommen',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Aufgenommen',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Accepted',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_warteliste',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Warteliste',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Waiting list',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_absage',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Absage',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Rejected',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'filter_incoming',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Incoming',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Incoming',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'inout_inout',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'International',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'International',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'inout_incoming',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Incoming',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Incoming',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'inout_outgoing',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Outgoing',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Outgoing',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'core',
'category' => 'treemenu',
'phrase' => 'inout_shared_studies',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Gemeinsame Studien',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Shared studies',
'description' => '',
'insertvon' => 'system'
)
)
),
//**************************** CORE/stv
array(
'app' => 'core',