Mercurial > gemma
diff client/src/components/ImportStretches.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 | 02f51054f648 |
line wrap: on
line diff
--- a/client/src/components/ImportStretches.vue Fri Mar 22 14:35:32 2019 +0100 +++ b/client/src/components/ImportStretches.vue Fri Mar 22 16:23:40 2019 +0100 @@ -8,11 +8,11 @@ <div v-if="!edit" class="mb-3"> <UITableHeader :columns="[ - { id: 'properties.name', title: 'Name', class: 'col-4' }, - { id: 'properties.date_info', title: 'Date', class: 'col-2' }, + { id: 'properties.name', title: `${nameLabel}`, class: 'col-4' }, + { id: 'properties.date_info', title: `${dateLabel}`, class: 'col-2' }, { id: 'properties.source_organization', - title: 'Source organization', + title: `${sourceorganizationLabel}`, class: 'col-3' } ]" @@ -325,6 +325,15 @@ defineStretchesLabel() { return this.$gettext("Define Stretches"); }, + nameLabel() { + return this.$gettext("Name"); + }, + dateLabel() { + return this.$gettext("Date"); + }, + sourceorganizationLabel() { + return this.$gettext("Source organization"); + }, stretchesInStaging() { const result = []; for (let stretch of this.stretches) {