From 0cb0813eb774c7aff4f96d71822dfa2d9e0cd089 Mon Sep 17 00:00:00 2001 From: Come_744 Date: Sat, 5 Oct 2019 19:40:48 +0200 Subject: [PATCH 1/2] Add i18n in navigation --- .../ui/navigation/navigation.component.html | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/app/ui/navigation/navigation.component.html b/src/app/ui/navigation/navigation.component.html index c234b935..c7fa566b 100644 --- a/src/app/ui/navigation/navigation.component.html +++ b/src/app/ui/navigation/navigation.component.html @@ -1,29 +1,29 @@ \ No newline at end of file + From c5021a2aa1ff176457852f5419aa76e58dff2fa6 Mon Sep 17 00:00:00 2001 From: Come_744 Date: Mon, 7 Oct 2019 22:02:22 +0200 Subject: [PATCH 2/2] Replaced text by i18n json keys and add i18n attribute Texts have been replaced only when the keys were in the json files. i18n attributes have been added only when keys were not in the json files. --- src/app/app.component.html | 4 ++-- src/app/pages/answers/answers.component.html | 5 +++-- src/app/pages/dates/dates.component.html | 12 ++++++------ .../end-confirmation/end-confirmation.component.html | 8 ++++---- src/app/pages/visibility/visibility.component.html | 8 ++++---- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index fba0c0fa..8bc75096 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -11,9 +11,9 @@ -

Title

+

{{"Title"|translate}}

- {{ 'Intro' | translate:user }} + {{"Intro"|translate:user}}
diff --git a/src/app/pages/answers/answers.component.html b/src/app/pages/answers/answers.component.html index c1193151..76f80a36 100644 --- a/src/app/pages/answers/answers.component.html +++ b/src/app/pages/answers/answers.component.html @@ -22,9 +22,10 @@ - Voyons ce que ça donne + Voyons ce que ça donne diff --git a/src/app/pages/dates/dates.component.html b/src/app/pages/dates/dates.component.html index 6670e93d..88b6e0fa 100644 --- a/src/app/pages/dates/dates.component.html +++ b/src/app/pages/dates/dates.component.html @@ -1,5 +1,5 @@
- Config spécialement pour les dates + {{"dates.title"|translate}}
@@ -8,8 +8,8 @@ id="multi_hours" [(ngModel)]="config.allowSeveralHours" > - - + +