[Koha-bugs] [Bug 18162] Don't translate JSON keys
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 11:48:34 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18162
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julian.maurice at biblibre.com
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
> Is there some way to mark a string so it does not get picked up for translation?
In my opinion, it would be better to do the opposite: mark the strings that
have to be translated, that would avoid the "%s" hell we have in some strings
like this one and more generally that would prevent the translation to break
things.
But to be practical, I think the right way to do it is to not return any html
in this JSON. The rendering code can be put in DataTables configuration
(mRender property). For an example usage of mRender, see bug 15219
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list