[Koha-bugs] [Bug 35769] Untranslatable strings when placing holds in staff

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 19 21:29:50 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35769

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #6 from David Nind <david at davidnind.com> ---
Testing notes (using koha-testing-docker):

1. Replicate the issue:
   1.1 Install another language: sudo koha-translate --install <language-code>
--dev <instance> (sudo koha-translate --install fr-CA --dev kohadev)
   1.2 Enable the language in the staff interface: Administration > System
preferences > I18N/L10N > language > select the language you installed (for
example: Français (fr-CA)) > Save all I18N/L10N...
   1.3 Check the <language-code>-staff-prog.po file for these phrases (in
misc/translator/po directory) - they are not found:
       - Please select a pickup location for the item
       - Please select a pickup location for this hold
       - Please make sure all selected titles have a pickup location set
       - Please select at least one title
   1.4 Change the staff interface to the language you have installed
   1.5 Perform actions that generate the messages and note that they are in
English:
       - Please make sure all selected titles have a pickup location set: 
         . Perform a search that returns multiple results
         . Select several of the results and then click the 'Place hold' button
         . Enter a patron and for the hold screen make sure the pickup location
is empty, and click 'Place hold'
         . Pop up message is not translated and is still in English
       - Not sure how to generate the other ones

2. Apply the patch.

3. Update the translations: gulp po:update --lang <language-code> (gulp
po:update --lang fr-CA) 

4. Compare the strings changed in the patch (see step 1.3), with strings
appearing in <language-code>-staff-prog.po - they should all now be found in
the file.

5. Add a translation for the strings and remove the "fuzzy" line.

6. Update the language: sudo koha-translate --update <language-code> --dev
<instance> (sudo koha-translate --install fr-CA --dev kohadev)

7. Repeat step 1.5 - verify that the translated content is now used.

8. Verify that the translated page works correctly, and that there are no
errors.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list