Bug 22482

Summary: Some characters are not escaped in translated file.
Product: Koha Reporter: Bastien Gonckel <bastien.gonckel>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: 18.11   
Hardware: Other   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Bastien Gonckel 2019-03-08 10:55:31 UTC
It seems that the file fr-FR-staff-prog.po contain character that are not escaped on line 17596.

In the template memberentrygen.tt, line 1195 the string MSG_MESSAGING_DFEAULTS (I assume it was supposed to be MSG_MESSAGING_DEFAULTS) contain double quote, but these double quote are escaped in the .po file. With this unescapped character, the javascript fail, and I can't use the save button for saving user. Work fine in english.
Comment 1 Katrin Fischer 2019-08-18 10:51:30 UTC
Hi Bastien, 

this needs to be fixed in the translation (on translate.koha-community.org) for the French translation. You should always avoid adding quotes or using different quotes to the ones in the text you translate - this can break JavaScript as is the case here.

I don't speak French, so I have copied the translation from 19.05 that didn't use quotes for the other versions:

Modifier les préférences de notifications par défaut pour cette catégorie d'adhérent&nbsp;?

I hope this fixes your issue.