[Koha-bugs] [Bug 8942] Translation process breaks javascript in calendar.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 19 14:54:26 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8942

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #9 from Frédéric Demians <frederic at tamil.fr> ---
> as I said on the mailing list, I am a bit worried the script might
> translate ' that shoudl not be replaced. Did you check the updated po
> files for differences? I think maybe we could start comparing a po
> file with not so many ' (not French ;) ) before and after the patch to
> find strings where this might be causing problems. I am thinking about
> program code that shows up in the po files by mistake.

Well, indeed, you're right to be worried. Replacing simple quote (')
with &apos; seems not to work so well. It seems to be displayed has it
is: the code &apos; not the '.  I don't understand how it worked for
Fridolyn. But the issue is here. And not only in calendar, also in
biblio records merging. I will propose another patch with a test plan.
Katrin, the patch doesn't touch the .po file. It modifies spefically how
the JavaScript translated strings is sent back for inclusion in
templates.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list