[Koha-bugs] [Bug 34801] Fix incorrect use of __() in .tt and .inc files (bug 34038 follow-up)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 15 12:30:42 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34801
--- Comment #1 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 155662
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155662&action=edit
Bug 34801: Fix incorrect use of __() in .tt and .inc files (bug 34038
follow-up)
__() should be used in .js files, not .tt files
To test, apply the patch and update a translation, e.g. fr-FR:
> cd misc/translator
> perl translate update fr-FR
- Open the corresponding .po file for JavaScript strings, in this case
misc/translator/po/fr-FR-staff-prog.po
- Confirm that the strings are now in the .po file for translation. You
should find the lines in the commit
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list