[Koha-translate] Javascript escape char

Mathieu Saby mathieu.saby at univ-rennes2.fr
Wed Oct 17 14:52:49 CEST 2012


Thank you Fridolyn!
I confirm it works.

M. Saby
Rennes 2 University


Fridolyn SOMERS a écrit :
> Le 17/10/2012 13:28, Frédéric Demians a écrit :
>>> Thinking of it, the best solution is to use ' instead of a quote
>>> : translate "Today" into "Aujourd'hui". It is good for both HTML
>>> and Javascript.
>>>       
>> Have you tried? Does it work? It also could be done automatically when
>> installing translation files:
>>
>>   translate install fr-FR
>>
>> Translated string could be modified on the fly, when translating
>> JavaScript string. It would avoid asking translators to encode '
>>     
> I just applyed a correction of PO with ' for Rennes 2 University.
>
> I think the best way is to use "'" because some other HTML espace 
> sequences are already used ; like " " that can't be written an 
> other way.
>
> It they validate the correction, may apply the changes to official POs ?
>  
> -- 
> Fridolyn SOMERS
> Biblibre - Pôle Support
> fridolyn.somers at biblibre.com <mailto:fridolyn.somers at biblibre.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha-translate mailing list
> Koha-translate at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-translate
> website: www.koha-community.org
> git: git.koha-community.org
> bugs: bugs.koha-community.org


-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : mathieu.saby at univ-rennes2.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-translate/attachments/20121017/e6c5b1a4/attachment-0001.htm>


More information about the Koha-translate mailing list