Start Translation ErrorMessage

This commit is contained in:
ma0068
2025-07-23 11:17:47 +02:00
parent 07ba21ff3e
commit 0be83eedef
2 changed files with 25 additions and 1 deletions
+5 -1
View File
@@ -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) => {
+20
View File
@@ -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',