diff client/src/components/identify/Identify.vue @ 4258:57c38087fe18

client: correct strings-marking for translations (identify box)
author Fadi Abbud <fadi.abbud@intevation.de>
date Mon, 26 Aug 2019 12:49:59 +0200
parents bb66e144dece
children 2596a028dc3a
line wrap: on
line diff
--- a/client/src/components/identify/Identify.vue	Sat Aug 24 17:39:05 2019 +0200
+++ b/client/src/components/identify/Identify.vue	Mon Aug 26 12:49:59 2019 +0200
@@ -14,7 +14,7 @@
       <div class="features">
         <div v-if="currentMeasurement">
           <small class="d-block bg-secondary text-light px-2 py-1">
-            {{ $gettext("Measurement") }}
+            <translate> Measurement</translate>
           </small>
           <small class="d-flex justify-content-between px-2">
             <b>
@@ -30,7 +30,7 @@
           <small
             class="d-flex justify-content-between bg-secondary text-light px-2 py-1"
           >
-            {{ $gettext(featureLabel(feature)) }}
+            {{ featureLabel(feature) }}
             <a
               v-if="feature.getProperties().hasOwnProperty('bbox')"
               @click="zoomTo(feature)"
@@ -45,7 +45,7 @@
             v-if="prop.val"
             class="d-flex justify-content-between px-2"
           >
-            <b>{{ $gettext(prop.key) }}</b>
+            <b>{{ prop.key }}</b>
             <span>{{ prop.val }}</span>
           </small>
         </div>