diff --git a/public/js/plugins/FhcAlert.js b/public/js/plugins/FhcAlert.js index ad3975a73..f90b61ac2 100644 --- a/public/js/plugins/FhcAlert.js +++ b/public/js/plugins/FhcAlert.js @@ -217,9 +217,13 @@ export default { alertSystemError(message) { //TODO(Manu) for translation of content of template: restructure in data //and update definitions with translations + if (Array.isArray(message)) return message.forEach(this.alertSystemError); - helperAppInstance.$refs.alert.add({ severity: 'error', summary: 'Systemfehler', detail: message}); + helperAppInstance.$refs.alert.add({ + severity: 'error', + summary: Vue.computed(() => app.config.globalProperties.$p.t('alert/systemerror')), + detail: message}); }, confirmDelete() { return new Promise((resolve, reject) => { diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 491271a00..ac00fb40d 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -44475,6 +44475,26 @@ and represent the current state of research on the topic. The prescribed citatio ) ) ), + array( + 'app' => 'core', + 'category' => 'alert', + 'phrase' => 'systemerror', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Systemfehler', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'System Error', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'ui',