changeset 4697:ce55f15e25e0

client: translations: mark strings for translation
author Fadi Abbud <fadi.abbud@intevation.de>
date Wed, 16 Oct 2019 16:40:08 +0200
parents 4f3e88d4010b
children a130b5e55ffc 8b6ffd9d0b18
files client/src/components/gauge/HydrologicalConditions.vue client/src/components/gauge/Waterlevel.vue
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/gauge/HydrologicalConditions.vue	Wed Oct 16 15:59:38 2019 +0200
+++ b/client/src/components/gauge/HydrologicalConditions.vue	Wed Oct 16 16:40:08 2019 +0200
@@ -229,7 +229,9 @@
     downloadPDF() {
       let diagramTitle = `${this.selectedGaugeD.properties.objname} (${
         this.isrsInfo(this.selectedGaugeD).orc
-      }): Hydrological Conditions ${this.longtermIntervalD.join(" - ")}`;
+      }): ${this.$gettext(
+        "Hydrological Conditions"
+      )} ${this.longtermIntervalD.join(" - ")}`;
       this.generatePDF({
         templateData: this.templateData,
         diagramTitle: diagramTitle
--- a/client/src/components/gauge/Waterlevel.vue	Wed Oct 16 15:59:38 2019 +0200
+++ b/client/src/components/gauge/Waterlevel.vue	Wed Oct 16 16:40:08 2019 +0200
@@ -232,7 +232,9 @@
     downloadPDF() {
       let diagramTitle = `${this.selectedGaugeD.properties.objname} (${
         this.isrsInfo(this.selectedGaugeD).orc
-      }): Waterlevel ${this.dateFromD.toLocaleDateString()} - ${this.dateToD.toLocaleDateString()}`;
+      }): ${this.$gettext(
+        "Waterlevel"
+      )} ${this.dateFromD.toLocaleDateString()} - ${this.dateToD.toLocaleDateString()}`;
       this.generatePDF({
         templateData: this.templateData,
         diagramTitle: diagramTitle