[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 23:39:00 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34801
Victor Grousset/tuxayo <victor at tuxayo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #156448|0 |1
is obsolete| |
--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 156452
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156452&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>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list