diff client/src/components/ImportStretches.vue @ 2760:c6fba10926cc

client:correct a set of strings marking * correct strings marking passing to UIBoxheader
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 21 Mar 2019 17:04:37 +0100
parents 74afcd266249
children 615b0a9b8098
line wrap: on
line diff
--- a/client/src/components/ImportStretches.vue	Thu Mar 21 16:40:02 2019 +0100
+++ b/client/src/components/ImportStretches.vue	Thu Mar 21 17:04:37 2019 +0100
@@ -2,7 +2,7 @@
   <div class="d-flex flex-column mb-3">
     <UIBoxHeader
       icon="road"
-      title="Define Stretches"
+      :title="defineStretchesLabel"
       :closeCallback="$parent.close"
     />
     <div v-if="!edit" class="mb-3">
@@ -322,6 +322,9 @@
     ...mapState("map", ["identifiedFeatures", "currentMeasurement"]),
     ...mapGetters("user", ["isSysAdmin"]),
     ...mapState("imports", ["stretches"]),
+    defineStretchesLabel() {
+      return this.$gettext("Define Stretches");
+    },
     stretchesInStaging() {
       const result = [];
       for (let stretch of this.stretches) {