Missing translations on some acquisitions-related words in version 25.05 1. Choose some language other than English 2. Go to Acquisitions 3. Search for a vendor and choose one. 4. When on vendor page, choose dropdown-menu from "+New" 5. You see following options: "Basket"*, "Contract"* and "Vendor". The two first are always in English, though "Vendor" is translated". In Finnish Koha community, we couldn't find an untranslated phrase from Weblate for the begininning of the dropdown-menu. I also tested Admin Kuhn's demo Koha 25.05 at https://koha-community.org/demo/ They have English and German languages installed there, but these translations were missing from there, too. Can someone please add these terms to be translatable?
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>