From 5d957e38aed85aa33c82b706c7e93cbec674031f Mon Sep 17 00:00:00 2001 From: chfhtw Date: Thu, 13 Nov 2025 08:52:47 +0100 Subject: [PATCH] Phrase settings saved --- public/js/components/AppConfig.js | 3 +-- system/phrasesupdate.php | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/public/js/components/AppConfig.js b/public/js/components/AppConfig.js index cc5d6d478..0b2110617 100644 --- a/public/js/components/AppConfig.js +++ b/public/js/components/AppConfig.js @@ -51,10 +51,9 @@ export default { this.$refs.form .call(this.endpoints.set(this.tempValues)) .then(() => { - // TODO(chris): phrase this.$emit('update:modelValue', { ...this.tempValues }); this.$refs.modal.hide(); - this.$fhcAlert.alertSuccess('config updated'); + this.$fhcAlert.alertSuccess(this.$p.t('ui/settings_saved')); }) .catch(this.$fhcAlert.handleSystemErrors); } diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 45e8e96dc..e4689e8eb 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -1835,6 +1835,26 @@ $phrases = array( ) ) ), + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'settings_saved', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Einstellungen gespeichert', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Settings saved', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'ui',