diff --git a/demo-shell/resources/i18n/de.json b/demo-shell/resources/i18n/de.json index a3e0f3e60e..3984efa0e7 100644 --- a/demo-shell/resources/i18n/de.json +++ b/demo-shell/resources/i18n/de.json @@ -2,7 +2,7 @@ "title": "Willkommen", "VERSION": { "NO_PERMISSION": "Sie verfügen nicht über die nötige Berechtigung, um Versionen dieses Inhalts zu verwalten", - "NO_PERMISSION_EVENT": "Sie verfügen nicht über die nötige Berechtigung ('${event.permission}'), um ${event.action} zu ${event.type}", + "NO_PERMISSION_EVENT": "Sie verfügen nicht über die nötige Berechtigung {{permission}}, um {{action}} zu {{type}}", "CHOOSE_FILE": "Wählen Sie eine Datei aus, um ihre Versionen anzuzeigen" }, "APP_LAYOUT": { @@ -93,4 +93,4 @@ "INSERT": "Node-ID einfügen", "NODE_LIST": "Tagliste nach Node-ID" } -} \ No newline at end of file +} diff --git a/demo-shell/resources/i18n/en.json b/demo-shell/resources/i18n/en.json index 9c4e64c3a0..f5b981349d 100644 --- a/demo-shell/resources/i18n/en.json +++ b/demo-shell/resources/i18n/en.json @@ -2,7 +2,7 @@ "title": "Welcome", "VERSION": { "NO_PERMISSION": "You don't have permission to manage versions of this content", - "NO_PERMISSION_EVENT": "You don't have ${event.permission} permission to ${event.action} the ${event.type}", + "NO_PERMISSION_EVENT": "You don't have {{permission}} permission to {{action}} the {{type}}", "CHOOSE_FILE": "Select a file to see its versions", "DIALOG": { "CLOSE": "Close", diff --git a/demo-shell/resources/i18n/it.json b/demo-shell/resources/i18n/it.json index e97d67c852..e54be761ee 100644 --- a/demo-shell/resources/i18n/it.json +++ b/demo-shell/resources/i18n/it.json @@ -2,7 +2,7 @@ "title": "Benvenuto", "VERSION": { "NO_PERMISSION": "Non hai il permesso di gestire versioni di questo contenuto", - "NO_PERMISSION_EVENT": "Non hai il permesso ${event.permission} di ${event.action} ${event.type}", + "NO_PERMISSION_EVENT": "Non hai il permesso {{permission}} di {{action}} {{type}}", "CHOOSE_FILE": "Seleziona un file per visualizzarne le versioni" }, "APP_LAYOUT": { @@ -93,4 +93,4 @@ "INSERT": "Inserisci ID nodo", "NODE_LIST": "Elenco tag per ID nodo" } -} \ No newline at end of file +} diff --git a/demo-shell/src/app/components/files/files.component.ts b/demo-shell/src/app/components/files/files.component.ts index d5544cff06..3c349d56ac 100644 --- a/demo-shell/src/app/components/files/files.component.ts +++ b/demo-shell/src/app/components/files/files.component.ts @@ -263,7 +263,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { } handlePermissionError(event: any) { - this.translateService.get('OPERATION.ERROR.NO_PERMISSION_EVENT', { + this.translateService.get('VERSION.NO_PERMISSION_EVENT', { permission: event.permission, action: event.action, type: event.type