You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/04/12 15:29:58 UTC

DO NOT REPLY [Bug 34417] New: - New Document : validation.js error with french i18n

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34417>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34417

           Summary: New Document : validation.js error with french i18n
           Product: Lenya
           Version: 1.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: i18n (Internationalization)
        AssignedTo: dev@lenya.apache.org
        ReportedBy: olivier.lustenberger@adm.unige.ch


With a browser using french as default language, create a new document (File >
New Document)

Javascript error returned by Firefox Javascript Console :

> Error: missing ) after argument list
> Source File: http://localhost/lenya/lenya/javascript/validation.js
> Line: 43, Column: 62
> Source Code:
> alert('Veuillez entrer une valeur valide dans le champ de l'identificateur
(ID).  Les caract�res A-Z, a-z, 0-9 ou - sont valides.');

Problem can be solved with 2 little fixes in
./lenya/resources/javascript/validation.xml

49c49
<               alert('<i18n:text key="failmessage.createdoc.required"/>');
---
>               alert("<i18n:text key="failmessage.createdoc.required"/>");
63c63
<               alert('<i18n:text key="failmessage.createdoc.invalidformat"/>');
---
>               alert("<i18n:text key="failmessage.createdoc.invalidformat"/>");

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org