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) => {