From b77e56161db69d345900c23490e1de3caf877b89 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Mon, 8 Apr 2024 09:58:53 +0200 Subject: [PATCH] fixing some not working phrasen --- public/js/components/Cis/Profil/MitarbeiterProfil.js | 2 +- .../Cis/Profil/ProfilComponents/FhAusweisStatus.js | 6 ++++-- .../components/Cis/Profil/ProfilComponents/Mailverteiler.js | 4 ++-- .../Cis/Profil/ProfilComponents/ProfilInformation.js | 2 +- .../ProfilModal/EditProfilComponents/TextInputDokument.js | 2 +- system/phrasesupdate.php | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index 536af7619..bb3c4e567 100755 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -448,7 +448,7 @@ export default {
- +
diff --git a/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js b/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js index 15da181c2..d59bcbce3 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js +++ b/public/js/components/Cis/Profil/ProfilComponents/FhAusweisStatus.js @@ -2,17 +2,19 @@ export default { props:{ data:{ type:String, + } }, data(){ return { - + } + },mounted(){ }, template: /*html*/`
- {{$p.t('profil','fhAusweisStatus',data)}} + {{$p.t('profil','fhAusweisStatus',[data])}}
`, } \ 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 bd8592532..37b8fc1a5 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js +++ b/public/js/components/Cis/Profil/ProfilComponents/Mailverteiler.js @@ -1,13 +1,13 @@ export default { props: { data: Object, - title: { type: String, default: '' },//this.$p.t('profil','mailverteiler') + title: { type: String }, }, data() { return {}; }, created(){ - console.log("this",this); + }, template: /*html*/`
diff --git a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js index 418ceccc5..83b746c69 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js +++ b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js @@ -58,7 +58,7 @@ export default {
-= +
diff --git a/public/js/components/Cis/Profil/ProfilModal/EditProfilComponents/TextInputDokument.js b/public/js/components/Cis/Profil/ProfilModal/EditProfilComponents/TextInputDokument.js index 0f85867cc..f00e9634e 100644 --- a/public/js/components/Cis/Profil/ProfilModal/EditProfilComponents/TextInputDokument.js +++ b/public/js/components/Cis/Profil/ProfilModal/EditProfilComponents/TextInputDokument.js @@ -94,7 +94,7 @@ export default { }, template: /*html*/` -

{{$p.t('profilUpdate','profilUpdateInformationMessage',data.titel)}}

+

{{$p.t('profilUpdate','profilUpdateInformationMessage',[data.titel])}}

{{data.titel?data.titel:$p.t('global','titel')}}
diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index dc47e494d..77ce4350b 100755 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -24366,13 +24366,13 @@ array( 'phrases' => array( array( 'sprache' => 'German', - 'text' => 'Der FH Ausweis ist am {0} ausgegeben worden.', + 'text' => 'Der FH Ausweis ist am {0} ausgegeben worden.', 'description' => '', 'insertvon' => 'system' ), array( 'sprache' => 'English', - 'text' => 'The FH ID card was issued on {0}', + 'text' => 'The FH ID card was issued on {0}', 'description' => '', 'insertvon' => 'system' )