diff --git a/public/js/apps/Cis.js b/public/js/apps/Cis.js index efc104d69..14dd7d853 100644 --- a/public/js/apps/Cis.js +++ b/public/js/apps/Cis.js @@ -15,14 +15,14 @@ const app = Vue.createApp({ origin: "cis", cssclass: "", calcheightonly: true, - types: [ - "employee", - "student", - "room", - "organisationunit", - "cms", - "dms" - ], + types: { + employee: Vue.computed(() => this.$p.t("search/type_employee")), + student: Vue.computed(() => this.$p.t("search/type_student")), + room: Vue.computed(() => this.$p.t("search/type_room")), + organisationunit: Vue.computed(() => this.$p.t("search/type_organisationunit")), + cms: Vue.computed(() => this.$p.t("search/type_cms")), + dms: Vue.computed(() => this.$p.t("search/type_dms")) + }, actions: { employee: { defaultaction: { diff --git a/public/js/components/Stv/Studentenverwaltung.js b/public/js/components/Stv/Studentenverwaltung.js index e37122427..280ab8ebf 100644 --- a/public/js/components/Stv/Studentenverwaltung.js +++ b/public/js/components/Stv/Studentenverwaltung.js @@ -75,10 +75,10 @@ export default { origin: 'stv', cssclass: "position-relative", calcheightonly: true, - types: [ - "student", - "prestudent" - ], + types: { + student: Vue.computed(() => this.$p.t('search/type_student')), + prestudent: Vue.computed(() => this.$p.t('search/type_prestudent')) + }, actions: { student: { defaultaction: { diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 88ef35fff..4e334cf18 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -41897,6 +41897,146 @@ and represent the current state of research on the topic. The prescribed citatio ) ) ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_employee', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Mitarbeiter', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'employees', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_student', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Studenten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'students', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_prestudent', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Prestudenten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'prestudents', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_room', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Räume', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'rooms', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_organisationunit', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Organisationseinheiten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'organisation units', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_cms', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Inhalte', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'sites', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'type_dms', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Dokumente', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'documents', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'search',