diff --git a/public/js/apps/Cis/Profil.js b/public/js/apps/Cis/Profil.js index 40bedaf97..62905e2d9 100755 --- a/public/js/apps/Cis/Profil.js +++ b/public/js/apps/Cis/Profil.js @@ -4,6 +4,7 @@ import ViewStudentProfil from "../../components/Cis/Profil/StudentViewProfil.js" import ViewMitarbeiterProfil from "../../components/Cis/Profil/MitarbeiterViewProfil.js"; import fhcapifactory from "../api/fhcapifactory.js"; import Loading from "../../components/Loader.js"; +import Phrasen from "../../plugin/Phrasen.js"; Vue.$fhcapi = fhcapifactory; Vue.$collapseFormatter = function (data) { @@ -367,4 +368,5 @@ const profilApp = Vue.createApp({ }); profilApp.use(primevue.config.default, { zIndex: { overlay: 9999 } }); +profilApp.use(Phrasen); profilApp.mount("#content"); diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index 952dcd948..db4b2253f 100755 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -234,7 +234,7 @@ export default { template: /*html*/ `
- +
@@ -255,7 +255,7 @@ export default {
-
Bearbeiten
+
{{$p.t('ui','bearbeiten')}}
@@ -289,7 +289,7 @@ export default {
- +
@@ -300,7 +300,7 @@ export default {
- +
@@ -328,7 +328,7 @@ export default {
- Private Kontakte + {{$p.t('profil','privateKontakte')}}
@@ -351,7 +351,7 @@ export default {
-
Private Adressen
+
{{$p.t('profil','privateAdressen')}}
@@ -377,14 +377,14 @@ export default { - +
- +
@@ -418,7 +418,7 @@ export default {
-
Bearbeiten
+
{{$p.t('ui','bearbeiten')}}
diff --git a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js index 659a1ed52..53d5267c8 100755 --- a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js @@ -145,7 +145,7 @@ export default { }, - template: ` + template: /*html*/`
@@ -158,10 +158,6 @@ export default {
- - - -
@@ -174,27 +170,13 @@ export default { - - - - - - - - - - - - - - - -
+ +
- +
@@ -204,11 +186,6 @@ export default { - - - - -
@@ -230,7 +207,7 @@ export default {
- +
@@ -262,7 +239,7 @@ export default {
- +
@@ -270,18 +247,9 @@ export default {
- - - - - -
- - -
diff --git a/public/js/components/Cis/Profil/ProfilComponents/Adresse.js b/public/js/components/Cis/Profil/ProfilComponents/Adresse.js index c51442647..8da928d32 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/Adresse.js +++ b/public/js/components/Cis/Profil/ProfilComponents/Adresse.js @@ -13,7 +13,7 @@ export default { created(){ }, - template:` + template:/*html*/`
@@ -27,7 +27,7 @@ export default {
-
Strasse
+
{{$p.t('person','strasse')}}
{{data.strasse}}
@@ -42,7 +42,7 @@ export default {
-
Typ
+
{{$p.t('global','typ')}}
{{data.typ}}
@@ -50,20 +50,20 @@ export default {
-
Ort
+
{{$p.t('person','ort')}}
{{data.ort}}
-
PLZ
+
{{$p.t('person','plz')}}
{{data.plz}}
-
Zustelladresse
+
{{$p.t('person','zustelladresse')}}
diff --git a/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js b/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js index 9ca6889ef..a23956f7f 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js +++ b/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js @@ -16,7 +16,7 @@ export default { return { showUpdateModal: false, content: null, - editProfilTitle: "Profil bearbeiten", + editProfilTitle: this.$p.t('profil','profilBearbeiten'), }; }, @@ -224,22 +224,22 @@ export default { computed: {}, - template: ` + template: /*html*/`
- Profil Updates + {{$p.t('profilUpdate','profilUpdates')}}
- - - - + + + + diff --git a/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js b/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js index 25bd41708..15da181c2 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js +++ b/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js @@ -9,10 +9,10 @@ export default { } }, - template: ` + template: /*html*/`
- Der FH Ausweis ist am {{data}} ausgegeben worden. + {{$p.t('profil','fhAusweisStatus',data)}}
`, } \ No newline at end of file diff --git a/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js b/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js index 3bc7ecd72..7b5c25a0c 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js +++ b/public/js/components/Cis/Profil/ProfilComponents/Kontakt.js @@ -11,7 +11,7 @@ export default{ created(){ }, - template:` + template:/*html*/`
@@ -21,20 +21,17 @@ export default{ - - -
-
Anmerkung
+
{{$p.t('global','anmerkung')}}
{{data.anmerkung}}
@@ -49,8 +46,5 @@ export default{
- - - `, }; \ No newline at end of file diff --git a/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js b/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js index 15f4efcf8..2d612b661 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js +++ b/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js @@ -1,12 +1,12 @@ export default { props: { data: Object, - title: { type: String, default: "Mailverteilers" }, + title: { type: String, default: this.$p.t('profil','mailverteiler') }, }, data() { return {}; }, - template: ` + template: /*html*/`
@@ -14,7 +14,7 @@ export default {
-
Sie sind Mitglied in folgenden Verteilern:
+
{{$p.t('profil','mailverteilerMitglied')}}
diff --git a/public/js/components/Cis/Profil/ProfilComponents/ProfilEmails.js b/public/js/components/Cis/Profil/ProfilComponents/ProfilEmails.js index 5de2be8ad..f24a3778a 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/ProfilEmails.js +++ b/public/js/components/Cis/Profil/ProfilComponents/ProfilEmails.js @@ -7,7 +7,7 @@ export default { props:{ title:{ type:String, - default:"Mails", + default:this.$p.t('person','email'), }, data:{ type:Array, @@ -21,18 +21,8 @@ export default {
- - - - - - - - - -
diff --git a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js index fe3b18380..418ceccc5 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js +++ b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js @@ -57,15 +57,8 @@ export default {
- - - -
- - - - +=
diff --git a/public/js/components/Cis/Profil/ProfilComponents/QuickLinks.js b/public/js/components/Cis/Profil/ProfilComponents/QuickLinks.js index 39f744c52..ed121b8d8 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/QuickLinks.js +++ b/public/js/components/Cis/Profil/ProfilComponents/QuickLinks.js @@ -7,7 +7,7 @@ export default{ }, title:{ type:String, - default: "Quick Links", + default: this.$p.t('profil','quickLinks'), }, mobile:{ type:Boolean, @@ -28,28 +28,22 @@ export default{ } }, - template:` + template:/*html*/`
TopicStatusDateAction{{$p.t('profilUpdate','topic')}}{{$p.t('global','status')}}{{$p.t('global','datum')}}{{$p.t('ui','aktion')}}