]> git.koha-community.org Git - koha.git/commit
Bug 29261: (bug 15812 follow-up) Fix translation issue in include file
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 18 Oct 2021 09:05:18 +0000 (11:05 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Oct 2021 08:04:38 +0000 (10:04 +0200)
commit47528bffe26123b8d78d2639b71947a849e6d92b
treec51dfaff0c221ca1f5d7355dd70b1e3a625ee247
parent4aaf383e527ff4b165696e8dd982daf82abb6ff2
Bug 29261: (bug 15812 follow-up) Fix translation issue in include file

Strings must be surrounded by double quote or it wil break the translate
script.

Without this patch you get:
  5  "dt_name":
  6  "<a %]\"="%]\""
in the translated template and the UI explodes with "Template process
failed: file error - parse error"

Test plan:
Apply this patch, update PO files for a given language, translate
"View". Search for something like:
  msgid "\\\"View\\\""
  msgstr "\\\"Näytä\\\""
Remove fuzzy.
Install the language and search for patrons

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt