Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 0c763b7dc4
Bug 32030: Improve I18N
* Remove ":" from the translation to prevent duplication string
* Add a script to auto-translate the strings in English

echo "{}" > koha-tmpl/intranet-tmpl/prog/js/vue/locales/en.json
npx vue-i18n-extract --vueFiles 'koha-tmpl/intranet-tmpl/prog/js/vue/**/*.?(js|vue)' \
                     --exclude koha-tmpl/intranet-tmpl/prog/js/vue/dist/main.js \
                     --languageFiles 'koha-tmpl/intranet-tmpl/prog/js/vue/locales/*.json' \
                     --add --remove
perl misc/translate_json.pl | sponge koha-tmpl/intranet-tmpl/prog/js/vue/locales/en.json

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 09:44:01 -03:00
..
css Bug 31919: Compiled CSS 2022-11-04 19:17:39 -03:00
en Bug 32030: eHoldings - Vue 2022-11-08 09:43:59 -03:00
img Bug 30952: Change circulation home page links to buttons 2022-10-12 16:14:03 -03:00
js Bug 32030: Improve I18N 2022-11-08 09:44:01 -03:00
pdf Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
sound