From e14ed94cec0216e5ebc6db0512bc09b1e1d951a3 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Thu, 11 Jul 2019 15:54:59 +0200 Subject: [PATCH] Translated text --- .../components/pab-profile-graph/pab-profile-graph.component.ts | 2 +- src/locale/messages.en.json | 1 + src/locale/messages.fr.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/pab-profile-graph/pab-profile-graph.component.ts b/src/app/components/pab-profile-graph/pab-profile-graph.component.ts index fdff7d9a6..9c61cf609 100644 --- a/src/app/components/pab-profile-graph/pab-profile-graph.component.ts +++ b/src/app/components/pab-profile-graph/pab-profile-graph.component.ts @@ -39,7 +39,7 @@ export class PabProfileGraphComponent extends ResultsComponent { }, title: { display: true, - text: "Profil en long de la passe" + text: this.intlService.localizeText("INFO_PAB_TITRE_PROFIL") }, elements: { line: { diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index b350b695e..5e07c524b 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -251,6 +251,7 @@ "INFO_PAB_CLOISON_OUVRAGE_N": "Wall : device #%s", "INFO_PAB_TITRE_COURT": "Fish ladder", "INFO_PAB_TITRE": "Fish ladder", + "INFO_PAB_TITRE_PROFIL": "Fish ladder longitudinal profile", "INFO_PAB_TABLE": "Fish ladder geometry", "INFO_PABCHUTE_TITRE_COURT": "FL: fall", "INFO_PABCHUTE_TITRE": "Fish ladder: fall", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index 55e62e3f6..8b97db895 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -251,6 +251,7 @@ "INFO_PAB_CLOISON_OUVRAGE_N": "Cloison : ouvrage n° %s", "INFO_PAB_TITRE_COURT": "PAB", "INFO_PAB_TITRE": "Passe à bassins", + "INFO_PAB_TITRE_PROFIL": "Profil en long de la passe", "INFO_PAB_TABLE": "Géométrie de la passe", "INFO_PABCHUTE_TITRE_COURT": "PAB : chute", "INFO_PABCHUTE_TITRE": "Passe à bassins : chute", -- GitLab