[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 21 14:03:29 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559
--- Comment #2 from Marc Véron <veron at veron.ch> ---
(In reply to Jonathan Druart from comment #1)
> It happens when TT directive are on several lines.
> I tried to fix C4::TTParser::text but failed.
> I don't know how to fix this one correctly.
Hi Jonathan,
C4/TTParser.pm, line 78 has following regex:
\[%.*?%]
. (dot) is (any character exept newline.
I evaluated some possipilities with http://regexr.com/
It seems that the following could work:
\[%[\s\S]*?%]
What do you think about?
--
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