From c6ddfe46cf8aa98c05311a03e6704b0c357be79b Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Thu, 29 Aug 2019 14:59:07 +0100 Subject: [PATCH] [ADF-4816] Move localization keys for About component from demo-shell to core (#5007) --- demo-shell/resources/i18n/en.json | 12 ------------ lib/core/about/about.component.html | 16 ++++++++-------- lib/core/i18n/en.json | 12 ++++++++++++ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/demo-shell/resources/i18n/en.json b/demo-shell/resources/i18n/en.json index 6f13ce31f6..f7b32c060c 100644 --- a/demo-shell/resources/i18n/en.json +++ b/demo-shell/resources/i18n/en.json @@ -304,18 +304,6 @@ "ROLE_FILTER_MODE": "Filter by role", "PRESELECT_VALIDATION": "Preselect validation" }, - "ABOUT": { - "TITLE": "Plugins", - "TABLE_HEADERS": { - "ID": "ID", - "NAME": "Name", - "VERSION": "Version", - "VENDOR": "Vendor", - "LICENSE": "License", - "RUNTIME": "Runtime", - "DESCRIPTION": "Description" - } - }, "SETTINGS_CLOUD": { "MULTISELECTION": "Multiselection", "TESTING_MODE": "Testing Mode", diff --git a/lib/core/about/about.component.html b/lib/core/about/about.component.html index 8d9eae91d5..407a203f4e 100644 --- a/lib/core/about/about.component.html +++ b/lib/core/about/about.component.html @@ -70,47 +70,47 @@
-

{{ 'ABOUT.TITLE' | translate }}

+

{{ 'ABOUT.EXTENSIONS.TITLE' | translate }}

- {{ 'ABOUT.TABLE_HEADERS.ID' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.ID' | translate }} {{element.$id}} - {{ 'ABOUT.TABLE_HEADERS.NAME' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.NAME' | translate }} {{element.$name}} - {{ 'ABOUT.TABLE_HEADERS.VERSION' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.VERSION' | translate }} {{element.$version}} - {{ 'ABOUT.TABLE_HEADERS.VENDOR' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.VENDOR' | translate }} {{element.$vendor}} - {{ 'ABOUT.TABLE_HEADERS.LICENSE' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.LICENSE' | translate }} {{element.$license}} - {{ 'ABOUT.TABLE_HEADERS.RUNTIME' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.RUNTIME' | translate }} {{element.$runtime}} - {{ 'ABOUT.TABLE_HEADERS.DESCRIPTION' | translate }} + {{ 'ABOUT.EXTENSIONS.TABLE_HEADERS.DESCRIPTION' | translate }} {{element.$description}} diff --git a/lib/core/i18n/en.json b/lib/core/i18n/en.json index 9937d1ead5..f87a2fe1f1 100644 --- a/lib/core/i18n/en.json +++ b/lib/core/i18n/en.json @@ -438,6 +438,18 @@ "CLUSTER_ENABLED": "Is Cluster Enabled", "CRYPTODOC_ENABLED": "Is Cryptodoc Enabled" } + }, + "EXTENSIONS": { + "TITLE": "Plugins", + "TABLE_HEADERS": { + "ID": "ID", + "NAME": "Name", + "VERSION": "Version", + "VENDOR": "Vendor", + "LICENSE": "License", + "RUNTIME": "Runtime", + "DESCRIPTION": "Description" + } } }, "CLIPBOARD": {