Summary: | Untranslatable actions on vendor | ||
---|---|---|---|
Product: | Koha | Reporter: | Inkeri Hakulinen <inkeri.hakulinen+bugz> |
Component: | Acquisitions | Assignee: | Owen Leonard <oleonard> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | flaterdavid |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 40146: Untranslatable actions on vendor
Bug 40146: Untranslatable actions on vendor |
Description
Inkeri Hakulinen
2025-06-16 07:30:31 UTC
Created attachment 183303 [details] [review] Bug 40146: Untranslatable actions on vendor This patch updates the vendor detail view in order to make some menu items translatable.. To test, apply the patch and run 'yarn build'. Test that the correct strings are translatable. In this example I'm testing fr-FR: - Update a translation: > gulp po:update > cd misc/translator > perl translate update fr-FR - Open the corresponding .po file for the strings pulled from JavaScript e.g. misc/translator/po/fr-FR-messages-js.po - Locate strings pulled from vue/components/Vendors/VendorShow.vue for translation, e.g.: #: koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorShow.vue:12 #, fuzzy msgid "Basket" msgstr "Paniers" - Lines 12, 25, and 35 of VendorShow.vue have been modified. - Delete the line "#, fuzzy" - Edit the "msgstr" string if ncessary, however you want (it's just for testing) - Install the updated translation: > perl translate install fr-FR - Go to Acquisitions -> Vendors -> Vendor details. - Switch to your updated translation. - Confirm that the menu items under "New" are translated correctly. Sponsored-by: Athens County Public Libraries Created attachment 183511 [details] [review] Bug 40146: Untranslatable actions on vendor This patch updates the vendor detail view in order to make some menu items translatable.. To test, apply the patch and run 'yarn build'. Test that the correct strings are translatable. In this example I'm testing fr-FR: - Update a translation: > gulp po:update > cd misc/translator > perl translate update fr-FR - Open the corresponding .po file for the strings pulled from JavaScript e.g. misc/translator/po/fr-FR-messages-js.po - Locate strings pulled from vue/components/Vendors/VendorShow.vue for translation, e.g.: #: koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorShow.vue:12 #, fuzzy msgid "Basket" msgstr "Paniers" - Lines 12, 25, and 35 of VendorShow.vue have been modified. - Delete the line "#, fuzzy" - Edit the "msgstr" string if ncessary, however you want (it's just for testing) - Install the updated translation: > perl translate install fr-FR - Go to Acquisitions -> Vendors -> Vendor details. - Switch to your updated translation. - Confirm that the menu items under "New" are translated correctly. Sponsored-by: Athens County Public Libraries Signed-off-by: David Flater <flaterdavid@gmail.com> |