[Koha-bugs] [Bug 35476] Submit button for adding new processings is not translatable
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 7 00:41:05 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35476
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at davidnind.com
--- Comment #2 from David Nind <david at davidnind.com> ---
I had a go at testing, but didn't quite get there.
How do you update the po files when Vue stuff is involved? I'm sure I'm not
quite getting it all yet!
I tried (after installing the patch):
1. yarn build (for rebuilding Vue stuff)
2. gulp po:update --lang es-ES (as an example)
3. language was already installed (es-ES as an example)
The es-ES-messages-js.po (as an example) doesn't seem to have been updated - I
think this is the one that should have been udpated?
Test plan so far:
1. Install another language
2. Enable the language for the staff interface (Administration > System
preferences > I18N/L10N > language)
3. Enable the ERM module (ERMModule)
4. Change the language to the one you installed
5. Go to E-resource management > eHoldings > Local > Packages > +New package
6. Note that the submit button is not translated
(Compare to one of the other submit buttons that is translated (E-resource
management > Agreements > +New agreement)
7. Search misc/translation/po/<lang>-messages-js.po for 'Submit'
- Note that there is only one line entry for 'Submit'
#: koha-tmpl/intranet-tmpl/prog/js/vue/components/ButtonSubmit.vue:11
8. Apply the patch
9. Update the Vie stuff: yarn build
10. gulp po:update --lang <lang>
11. Update the language: koha-translate --update es-ES --dev kohadev
(necessary?)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list