comparison 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
comparison
equal deleted inserted replaced
2778:7ebd4154894e 2779:21eb85cdfe45
81 </select> 81 </select>
82 </div> 82 </div>
83 </div> 83 </div>
84 <UITableHeader 84 <UITableHeader
85 :columns="[ 85 :columns="[
86 { id: 'id', title: 'Id', width: '79px' }, 86 { id: 'id', title: `${idLabel}`, width: '79px' },
87 { id: 'kind', title: 'Kind', width: '53px' }, 87 { id: 'kind', title: `${kindLabel}`, width: '53px' },
88 { id: 'enqueued', title: 'Enqueued', width: '138px' }, 88 { id: 'enqueued', title: `${enqueuedLabel}`, width: '138px' },
89 { id: 'user', title: 'User', width: '105px' }, 89 { id: 'user', title: `${userLabel}`, width: '105px' },
90 { id: 'signer', title: 'Signer', width: '105px' }, 90 { id: 'signer', title: `${signerLabel}`, width: '105px' },
91 { id: 'state', title: 'Status', width: '72px' }, 91 { id: 'state', title: `${statusLabel}`, width: '72px' },
92 { id: 'warnings', icon: 'exclamation-triangle', width: '44px' } 92 { id: 'warnings', icon: 'exclamation-triangle', width: '44px' }
93 ]" 93 ]"
94 /> 94 />
95 <!-- 95 <!--
96 For server-side sorting, etc simply don't use the sortTable filter. 96 For server-side sorting, etc simply don't use the sortTable filter.
169 "next" 169 "next"
170 ]), 170 ]),
171 ...mapGetters("imports", ["filters"]), 171 ...mapGetters("imports", ["filters"]),
172 importReviewLabel() { 172 importReviewLabel() {
173 return this.$gettext("Import review"); 173 return this.$gettext("Import review");
174 },
175 idLabel() {
176 return this.$gettext("Id");
177 },
178 kindLabel() {
179 return this.$gettext("Kind");
180 },
181 enqueuedLabel() {
182 return this.$gettext("Enqueued");
183 },
184 userLabel() {
185 return this.$gettext("User");
186 },
187 signerLabel() {
188 return this.$gettext("Signer");
189 },
190 statusLabel() {
191 return this.$gettext("Status");
174 }, 192 },
175 interval() { 193 interval() {
176 return [this.startDate, this.endDate]; 194 return [this.startDate, this.endDate];
177 } 195 }
178 }, 196 },