Mercurial > gemma
comparison client/src/components/importschedule/Importschedule.vue @ 2782:615b0a9b8098
Client: correct strings marking for translations
* correct strings marking passing to UITableHeader
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 22 Mar 2019 16:23:40 +0100 |
parents | c6fba10926cc |
children | b9a6abef9f1c |
comparison
equal
deleted
inserted
replaced
2781:a2127495093e | 2782:615b0a9b8098 |
---|---|
21 /> | 21 /> |
22 </div> | 22 </div> |
23 </div> | 23 </div> |
24 <UITableHeader | 24 <UITableHeader |
25 :columns="[ | 25 :columns="[ |
26 { id: 'id', title: 'ID', class: 'col-1' }, | 26 { id: 'id', title: `${idLabel}`, class: 'col-1' }, |
27 { id: 'kind', title: 'Type', class: 'col-2' }, | 27 { id: 'kind', title: `${typeLabel}`, class: 'col-2' }, |
28 { id: 'user', title: 'Author', class: 'col-2' }, | 28 { id: 'user', title: `${authorLabel}`, class: 'col-2' }, |
29 { id: 'config.cron', title: 'Schedule', class: 'col-2' }, | 29 { id: 'config.cron', title: `${scheduleLabel}`, class: 'col-2' }, |
30 { id: 'config.send-email', title: 'Email', class: 'col-2' } | 30 { id: 'config.send-email', title: `${emailLabel}`, class: 'col-2' } |
31 ]" | 31 ]" |
32 /> | 32 /> |
33 <UITableBody | 33 <UITableBody |
34 :data="filteredSchedules() | sortTable(sortColumn, sortDirection)" | 34 :data="filteredSchedules() | sortTable(sortColumn, sortDirection)" |
35 v-slot="{ item: schedule }" | 35 v-slot="{ item: schedule }" |
142 ...mapState("application", ["showSidebar"]), | 142 ...mapState("application", ["showSidebar"]), |
143 ...mapState("importschedule", ["schedules", "importScheduleDetailVisible"]), | 143 ...mapState("importschedule", ["schedules", "importScheduleDetailVisible"]), |
144 importScheduleLabel() { | 144 importScheduleLabel() { |
145 return this.$gettext("Import Schedule"); | 145 return this.$gettext("Import Schedule"); |
146 }, | 146 }, |
147 idLabel() { | |
148 return this.$gettext("ID"); | |
149 }, | |
150 typeLabel() { | |
151 return this.$gettext("Type"); | |
152 }, | |
153 authorLabel() { | |
154 return this.$gettext("Author"); | |
155 }, | |
156 scheduleLabel() { | |
157 return this.$gettext("Schedule"); | |
158 }, | |
159 emailLabel() { | |
160 return this.$gettext("Email"); | |
161 }, | |
147 spacerStyle() { | 162 spacerStyle() { |
148 return [ | 163 return [ |
149 "spacer ml-3", | 164 "spacer ml-3", |
150 { | 165 { |
151 "spacer-expanded": this.showSidebar, | 166 "spacer-expanded": this.showSidebar, |