From: Gauthier D. <gau...@gm...> - 2008-03-01 18:54:57
|
2008/2/29, Paul Lesniewski <pa...@sq...>: > > 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. I did that with \\' and it's working, it remains just a little problem, the é is not interpreted as é... Gauthier > > > 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 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- Gauthier DOUCHET |