Mercurial > gemma
changeset 3572:c69c01045498
client: translations: correct some strings marking (AvailableFairwayDepthDialogue)
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Mon, 03 Jun 2019 15:41:51 +0200 |
parents | 9e296d686f16 |
children | 9d1eb993ab14 |
files | client/src/components/fairway/AvailableFairwayDepthDialogue.vue |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Mon Jun 03 13:59:41 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Mon Jun 03 15:41:51 2019 +0200 @@ -91,10 +91,10 @@ > <option v-for="(option, index) in $options.FREQUENCIES" - :value="option" + :value="index" :key="index" > - <translate>{{ option }}</translate> + {{ option }} </option> </select> </div> @@ -240,7 +240,7 @@ import app from "@/main"; import { displayError } from "@/lib/errors"; import { mapState, mapGetters } from "vuex"; -import { FREQUENCIES, LIMITINGFACTORS } from "@/store/fairwayavailability"; +import { LIMITINGFACTORS } from "@/store/fairwayavailability"; export default { data() { @@ -585,7 +585,11 @@ SECTION: "section", STRETCH: "stretch", AVAILABLEFAIRWAYDEPTH: app.$gettext("Available Fairway Depth"), - FREQUENCIES: FREQUENCIES, + FREQUENCIES: { + monthly: app.$gettext("monthly"), + quarterly: app.$gettext("quarterly"), + yearly: app.$gettext("yearly") + }, LIMITINGFACTORS: LIMITINGFACTORS }; </script>