[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
Sun Oct 1 21:39:13 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34801
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #155662|0 |1
is obsolete| |
--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 156448
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156448&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
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list