https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44097
--- Comment #2 from David Nind <[email protected]> --- Created attachment 211583 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211583&action=edit Bug 44097: Patron search "starting with" and "containing" untranslatable In the patron search results heading, the phrases "starting with" and "containing" were not translatable. This patch makes them translatable. To test: Before applying the patch 1. Add a language to your Koha (sorry if the commands are not the correct ones, I never remember from one time to another) koha-translate --install fr-CA --dev kohadev And activate the language in system preferences 2. Change the language of the interface 3. Go to Patrons (Utilisateur) 4. Make a search for 'mar' for example --> "starting with" is not translated "Utilisateurs trouvés pour : Standard starting with 'mar'" 5. Check the .po files cd misc/translator/po git grep "starting with" fr-CA* --> There is an unrelated one in messages.po (and many unrelated ones in pref.po) and a commented one in staff-prog.po 6. APPLY PATCH 7. Update the translation strings gulp po:update --lang fr-CA 8. Search the .po files for the strings cd misc/translator/po git grep "starting with" fr-CA* git grep "containing" fr-CA* --> They both should now be in staff-prog.po uncommented with the %s around them 9. Translate the strings, make sure to remove the fuzzy line 10. Apply the new strings ktd --root --shell koha-translate --update fr-CA --dev kohadev 11. Redo steps 3-4 --> Strings should be translated!! Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
