diff client/src/components/layers/Layers.vue @ 2754:d0f6c222f4f9

client:correct a set of strings marking
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 21 Mar 2019 13:24:49 +0100
parents bb5286acfee2
children a7e31594959d
line wrap: on
line diff
--- a/client/src/components/layers/Layers.vue	Thu Mar 21 13:03:27 2019 +0100
+++ b/client/src/components/layers/Layers.vue	Thu Mar 21 13:24:49 2019 +0100
@@ -6,7 +6,11 @@
     ]"
   >
     <div style="width: 18rem">
-      <UIBoxHeader icon="layer-group" title="Layers" :closeCallback="close" />
+      <UIBoxHeader
+        icon="layer-group"
+        :title="layersLabel"
+        :closeCallback="close"
+      />
       <div class="box-body small">
         <Layerselect
           v-for="(layer, index) in layersForLegend"
@@ -44,7 +48,10 @@
   },
   computed: {
     ...mapGetters("map", ["layersForLegend"]),
-    ...mapState("application", ["showLayers"])
+    ...mapState("application", ["showLayers"]),
+    layersLabel() {
+      return this.$gettext("Layers");
+    }
   },
   methods: {
     close() {