diff client/src/components/ImportApprovedGaugeMeasurement.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 bb5286acfee2
children 6c5364ff0abb
line wrap: on
line diff
--- a/client/src/components/ImportApprovedGaugeMeasurement.vue	Thu Mar 21 16:40:02 2019 +0100
+++ b/client/src/components/ImportApprovedGaugeMeasurement.vue	Thu Mar 21 17:04:37 2019 +0100
@@ -2,7 +2,7 @@
   <div class="d-flex flex-row">
     <Spacer></Spacer>
     <div class="card sysconfig mt-2 shadow-xs w-100 h-100 mr-2">
-      <UIBoxHeader icon="upload" title="Import approved gaugemeasurements" />
+      <UIBoxHeader icon="upload" :title="importGaugmeasurmentLabel" />
       <div class="card-body stretches-card">
         <div class="w-95 ml-auto mr-auto mt-4 mb-4">
           <div class="d-flex flex-column text-left w-25">
@@ -87,6 +87,11 @@
       originator: "viadonau"
     };
   },
+  computed: {
+    importGaugmeasurmentLabel() {
+      return this.$gettext("Import approved gaugemeasurements");
+    }
+  },
   methods: {
     initialState() {
       this.uploadLabel = this.$gettext("choose file to upload");