diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index f95ab28d8..39131ea76 100644 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -226,12 +226,12 @@ export default { } return { - Geburtsdatum: this.data.gebdatum, - Geburtsort: this.data.gebort, - Kurzzeichen: this.data.kurzbz, - Telefon: + [`${this.$p.t('profil','Geburtsdatum')}`]: this.data.gebdatum, + [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort, + [`${this.$p.t('profil', 'Kurzzeichen')}`]: this.data.kurzbz, + [`${this.$p.t('profil', 'Telefon')}`]: (this.data.standort_telefon ? this.data.standort_telefon + " " + this.data.telefonklappe : this.data.telefonklappe), - Büro: this.data.ort_kurzbz, + [`${this.$p.t('profil', 'Büro')}`]: this.data.ort_kurzbz, }; }, }, diff --git a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js index 696480d77..43039ac14 100644 --- a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js @@ -124,12 +124,12 @@ export default { } return { - Geburtsdatum: this.data.gebdatum, - Geburtsort: this.data.gebort, - Kurzzeichen: this.data.kurzbz, - Telefon: + [`${this.$p.t('profil', 'Geburtsdatum')}`]: this.data.gebdatum, + [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort, + [`${this.$p.t('profil', 'Kurzzeichen')}`]: this.data.kurzbz, + [`${this.$p.t('profil', 'Telefon')}`]: (this.data.standort_telefon ? this.data.standort_telefon + " " + this.data.telefonklappe : this.data.telefonklappe), - Büro: this.data.ort_kurzbz, + [`${this.$p.t('profil', 'Büro')}`]: this.data.ort_kurzbz, }; }, }, diff --git a/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js b/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js index 488d0b2b3..704e5a1ef 100644 --- a/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js +++ b/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js @@ -19,7 +19,7 @@ export default{
-
{{data.kontakttyp}}
+
{{$p.t('profil',data.kontakttyp.toUpperCase())}}
{{data.kontakt}} {{data.kontakt}}
diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js index 0304330b9..a55081af1 100644 --- a/public/js/components/Cis/Profil/StudentProfil.js +++ b/public/js/components/Cis/Profil/StudentProfil.js @@ -172,13 +172,13 @@ export default { } return { - Geburtsdatum: this.data.gebdatum, - Geburtsort: this.data.gebort, - Personenkennzeichen: this.data.personenkennzeichen, - Studiengang: this.data.studiengang, - Semester: this.data.semester, - Verband: this.data.verband, - Gruppe: this.data.gruppe.trim(), + [`${this.$p.t('profil','Geburtsdatum')}`]: this.data.gebdatum, + [`${this.$p.t('profil', 'Geburtsort')}`]: this.data.gebort, + [`${this.$p.t('person', 'personenkennzeichen')}`]: this.data.personenkennzeichen, + [`${this.$p.t('lehre', 'studiengang')}`]: this.data.studiengang, + [`${this.$p.t('lehre', 'semester')}`]: this.data.semester, + [`${this.$p.t('lehre', 'lehrverband')}`]: this.data.verband, + [`${this.$p.t('lehre', 'gruppe')}`]: this.data.gruppe.trim(), }; }, }, diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index ca8fd0d09..aed7cd0d3 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -26676,6 +26676,66 @@ array( ) ), //Profil Phrasen start + array( + 'app' => 'core', + 'category' => 'profil', + 'phrase' => 'NOTFALLKONTAKT', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Notfallkontakt', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Emergency contact', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'profil', + 'phrase' => 'TELEFON', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Telefon', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Telephone', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'profil', + 'phrase' => 'EMAIL', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'E-Mail', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'E-Mail', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'profil',