From 3a83ab4c1cf214f0749ecc30a7d35b891d8c0ea8 Mon Sep 17 00:00:00 2001 From: apapachristou Date: Tue, 28 May 2019 16:37:39 +0300 Subject: [PATCH] Adds: Translate --- .../ui/dashboard/drafts/drafts.component.html | 6 +++--- .../dataset-listing-item.component.html | 4 ++-- .../datasets-tab/datasets-tab.component.html | 4 ++-- .../datasets-tab/datasets-tab.component.scss | 6 ++++++ .../dmp-finalize-dialog.component.html | 10 ++++++---- .../general-tab/general-tab.component.html | 2 +- .../editor/people-tab/people-tab.component.html | 6 +++--- .../editor/people-tab/people-tab.component.scss | 1 + .../listing-item/dmp-listing-item.component.html | 4 ++-- .../listing-item/dmp-listing-item.component.scss | 1 + .../ui/dmp/overview/dmp-overview.component.html | 2 +- .../ui/dmp/overview/dmp-overview.component.scss | 1 + .../explore-dataset-listing-item.component.html | 4 ++-- dmp-frontend/src/assets/i18n/en.json | 16 +++++++++++++--- 14 files changed, 44 insertions(+), 23 deletions(-) diff --git a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html index 6957f3477..7d23c47c5 100644 --- a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html +++ b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html @@ -1,8 +1,8 @@
-

DRAFTS

-

Draft Registrations

+

{{ 'TYPES.DATASET-STATUS.DRAFT' | translate }}

+

{{ 'TYPES.DATASET-STATUS.DRAFT-DESC' | translate }}

{{ 'GENERAL.ACTIONS.VIEW-ALL' | translate}}
@@ -20,7 +20,7 @@ more_horiz
- Dataset: {{ dataset.label }} For Dmp: {{ dataset.dmp }} For Project: {{ dataset.project }} + {{'GENERAL.NAMES.DATASET' | translate}}: {{ dataset.label }} {{'DRAFTS.FOR-DMP' | translate}} {{ dataset.dmp }} {{'DRAFTS.FOR-PROJECT' | translate}} {{ dataset.project }}
{{ dataset.created | date: "shortDate"}}
{{ dataset.description }}
diff --git a/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html b/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html index d287c97b6..9011a700c 100644 --- a/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html +++ b/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html @@ -13,7 +13,7 @@
bookmark bookmark -

DRAFT: {{ dataset.label }}

+

{{ 'TYPES.DATASET-STATUS.DRAFT' | translate }}: {{ dataset.label }}

{{ dataset.label }}

@@ -36,7 +36,7 @@
{{ dataset.profile }}
-

Published {{ dataset.created | date: "shortDate"}}

+

{{'DATASET-LISTING.COLUMNS.PUBLISHED' | translate}} {{ dataset.created | date: "shortDate"}}

+
{{ dataset.label }}
@@ -13,13 +14,14 @@

{{'DMP-FINALISE-DIALOG.FINALISE-TITLE' | translate}}

-
+ +
{{ dataset.label }}
-
+
minLengthArray {{'DMP-FINALISE-DIALOG.VALIDATION.AT-LEAST-ONE-DATASET-FINALISED' | translate}} @@ -30,4 +32,4 @@ - \ No newline at end of file + diff --git a/dmp-frontend/src/app/ui/dmp/editor/general-tab/general-tab.component.html b/dmp-frontend/src/app/ui/dmp/editor/general-tab/general-tab.component.html index 97ee814ca..1d7ef26a7 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/general-tab/general-tab.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/general-tab/general-tab.component.html @@ -91,7 +91,7 @@
- Versioning is automated. + {{ 'DATASET-EDITOR.VERSION-DIALOG.ABOUT' | translate }}