]> git.koha-community.org Git - koha.git/commit
Bug 34801: Fix incorrect use of __() in .tt and .inc files (bug 34038 follow-up)
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 15 Sep 2023 10:27:39 +0000 (10:27 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 3 Oct 2023 13:24:48 +0000 (09:24 -0400)
commit3b190d625b378de451dd1ca6d1db636dc5f56741
treedf13655505bae2786293383b1b4833e21e9bccef
parent20524530c8308ea44e27c44d7e75861b0b923cae
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@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/js-biblio-format.inc