Summary: | "Go to field" in cataloguing alerts is not translatable | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | I18N/L10N | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, david, f.demians, kyle, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This fixes the 'Go to field' and 'Errors' strings in the basic MARC editor to make them translatable. (This is a follow-up to bug 28694 that changed the way validation error messages are displayed when using the basic MARC editor in cataloging.)
|
Version(s) released in: |
22.05.00,21.11.03
|
Circulation function: | |||
Bug Depends on: | 28694 | ||
Bug Blocks: | |||
Attachments: |
Bug 29585: Fix unstranslatable strings in addbiblio.tt
Bug 29585: Fix unstranslatable strings in addbiblio.tt |
Description
Katrin Fischer
2021-11-28 16:28:09 UTC
Created attachment 128066 [details] [review] Bug 29585: Fix unstranslatable strings in addbiblio.tt This patch makes 'Go to field' and 'Errors' strings translatable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> How can I test this? I thought this would work as I've tested things before for Owen, for example bug 26257. But those were for js strings. Before applying the patch ~~~~~~~~~~~~~~~~~~~~~~~~~ 1. View misc/translator/po/de-DE-staff-prog.po . search for "Go to field" (without the ") . no occurrences found 2. Install the language: . cd misc/translator . perl translate install de-DE 3. Change the staff interface language (System preferences > I18N/L18N > enable language. 4. Change interface to the language. 5. Create a new record. 6. Save. 7. The "Go to field" for the error messages is in English. After applying the patch ~~~~~~~~~~~~~~~~~~~~~~~~ 1. Update the language files: perl translate install de-DE 2. misc/translator/po/de-DE-staff-prog.po should have a translatable string (already translated) for "Go to field". 3. Install the language files: perl translate install de-DE 4. Try creating and saving a record again - the "Go to field" should be in German. Created attachment 128723 [details] [review] Bug 29585: Fix unstranslatable strings in addbiblio.tt This patch makes 'Go to field' and 'Errors' strings translatable Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Hi David, thx for trying to test this! > After applying the patch > ~~~~~~~~~~~~~~~~~~~~~~~~ > > 1. Update the language files: perl translate install de-DE This step will install de-DE again, but the po file won't have been updated to have the string yet. So you need to follow the instructions here first: https://wiki.koha-community.org/wiki/Translating_Koha#Updating_the_po_files_in_your_installation Then you should be able to verify, that the string appeared in the po files and you can edit them to translate them if you want. As this one is an easy fix, I am taking the liberty to move it straight to PQA. Thanks Katrin for the link and how to make his work! Noted for any future bug testing... Can this please be pushed before next string freeze? Pushed to master for 22.05, thanks to everybody involved [U+1F984] Pushed to 21.11.x for 21.11.03 Missing dependency, not backported to 21.05 |