From: Paul L. <pa...@sq...> - 2008-02-29 19:21:52
|
Please do not top-post. Refer to the mailing list posting guidelines. > > > I created a french translation for quicksave because I didn't find it on > the > > > squirrelmail website. > > > I have only one (big) problem, with the .mo file in my squirrelmail > > > directory (/usr/share/squirrelmail/locale/fr_FR/LC_MESSAGES), the plugin > > > doesn't work. If I write a message and close my tab, I haven't any > window to > > > resume the message. > > > If I delete the .mo file, the plugin is working and I have the window to > > > resume my message. > > > > > > I sent my .po file in order to know if I did an error with this file. > > > > > > I didn't try it myself, but as I think some of the strings are placed > > in JavaScript, the special characters in them might be creating some > > problems(?). It would be helpful if you used the JavaScript error > > console in your browser to see what, if any errors are created when > > you have the translation installed (compared to when you do not). > > As you said, I used the console and there is this message: > > Error : missing ) after argument list > Source file : > http://1.1.1.1/squirrelmail/src/compose.php?mailbox=INBOX&startMessage=1 > Line : 461, Column : 85 > Source code: > if (confirm('ATTENTION: Le message suivant a été > interrompu et n'a pas été envoyé!\n\n A ' + > showTo.toString() + '\n Sujet ' + showSub.toString() + showBody + > '\n\nVoulez-vous le restaurer? (Appuyez sur Annuler pour rejeter le > message')) In that string translation, try encoding the single quote (') or escape it with a backslash. > > > Some information about my installation: > > > - Debian Etch > > > - SquirrelMail 1.4.9a-2 > > > - quicksave 2.4.2-1.2.9 > > > > > > > > > Thank you very much! > > > > > > Thank you! > > > > > > -- > Gauthier DOUCHET |