From 8dff23044ced1cce17de5bdcb14ad1723f8fa2e4 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Wed, 7 Mar 2018 12:48:27 -0700 Subject: [PATCH] Added translations --- ui/package.json | 2 +- ui/src/app/app.component.html | 4 +-- .../container/new-filter.component.html | 4 ++- ui/src/locale/en.xlf | 30 +++++++++++++++++-- ui/src/locale/es.xlf | 30 +++++++++++++++++-- 5 files changed, 60 insertions(+), 10 deletions(-) diff --git a/ui/package.json b/ui/package.json index 42dbf41a4..98bfc9ee7 100644 --- a/ui/package.json +++ b/ui/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "ng": "ng", - "start": "ng serve --proxy-config proxy.conf.json", + "start": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=es --aot", "build": "ng build", "test": "ng test --code-coverage", "lint": "ng lint", diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 80c1a9025..72be9c9bf 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -20,7 +20,7 @@ aria-expanded="false" ngbDropdownToggle> - Add New + Add New
- Filter + Filter
- New Filter Page + + New Filter +
diff --git a/ui/src/locale/en.xlf b/ui/src/locale/en.xlf index 34522397b..bdb4d759d 100644 --- a/ui/src/locale/en.xlf +++ b/ui/src/locale/en.xlf @@ -18,14 +18,38 @@ 17 - - Add new provider - Add new provider + + Add New + Add New app/app.component.ts 23 + + Metadata Provider + Metadata Provider + + app/app.component.ts + 40 + + + + Filter + Filter + + app/app.component.ts + 32 + + + + New Filter + New Filter + + app/metadata-filter/container/new-filter.component.ts + 8 + + Logout Logout diff --git a/ui/src/locale/es.xlf b/ui/src/locale/es.xlf index a40224066..2a9c768de 100644 --- a/ui/src/locale/es.xlf +++ b/ui/src/locale/es.xlf @@ -18,14 +18,38 @@ 17 - - Add new provider - Add new provider (es) + + Add New + Add New (es) app/app.component.ts 23 + + Metadata Provider + Metadata Provider (es) + + app/app.component.ts + 40 + + + + Filter + Filter (es) + + app/app.component.ts + 32 + + + + New Filter + New Filter (es) + + app/metadata-filter/container/new-filter.component.ts + 8 + + Logout Logout (es)