diff client/src/components/importoverview/ImportOverview.vue @ 2779:21eb85cdfe45

Client: improve a set of strings marking for translations * correct strings marking passing to UITabelHeader
author Fadi Abbud <fadi.abbud@intevation.de>
date Fri, 22 Mar 2019 13:26:24 +0100
parents 838cf903538f
children 9a7d4caa1b77
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue	Fri Mar 22 13:21:09 2019 +0100
+++ b/client/src/components/importoverview/ImportOverview.vue	Fri Mar 22 13:26:24 2019 +0100
@@ -83,12 +83,12 @@
       </div>
       <UITableHeader
         :columns="[
-          { id: 'id', title: 'Id', width: '79px' },
-          { id: 'kind', title: 'Kind', width: '53px' },
-          { id: 'enqueued', title: 'Enqueued', width: '138px' },
-          { id: 'user', title: 'User', width: '105px' },
-          { id: 'signer', title: 'Signer', width: '105px' },
-          { id: 'state', title: 'Status', width: '72px' },
+          { id: 'id', title: `${idLabel}`, width: '79px' },
+          { id: 'kind', title: `${kindLabel}`, width: '53px' },
+          { id: 'enqueued', title: `${enqueuedLabel}`, width: '138px' },
+          { id: 'user', title: `${userLabel}`, width: '105px' },
+          { id: 'signer', title: `${signerLabel}`, width: '105px' },
+          { id: 'state', title: `${statusLabel}`, width: '72px' },
           { id: 'warnings', icon: 'exclamation-triangle', width: '44px' }
         ]"
       />
@@ -172,6 +172,24 @@
     importReviewLabel() {
       return this.$gettext("Import review");
     },
+    idLabel() {
+      return this.$gettext("Id");
+    },
+    kindLabel() {
+      return this.$gettext("Kind");
+    },
+    enqueuedLabel() {
+      return this.$gettext("Enqueued");
+    },
+    userLabel() {
+      return this.$gettext("User");
+    },
+    signerLabel() {
+      return this.$gettext("Signer");
+    },
+    statusLabel() {
+      return this.$gettext("Status");
+    },
     interval() {
       return [this.startDate, this.endDate];
     }