Hi Rico, I decided (in my patch, see last email) to patch the wordpress codebase and not the translations files as you did. Translation files are not always created by developers how take care of such problems. Another feature of my patch is, that you don't have to check/patch all translations files used.
regards Ralf Am Donnerstag, 16. November 2006 13:09 schrieb Rico Ferrari: > Hi, all, I'm new to the list and was reading for a month now. > > Ralph, this problem you found seems to be related to a missing backslash on > the translated message. Let me explain: > > msgid "Linked to Image" > msgstr "Lié à l'image" > > should be something like this: > > msgid "Linked to Image" > msgstr "Lié à l\'image" > > due to the fact WordPress (or any PHP script) will misinterpret this as a > closing statement for another instruction on the script. The backslash > placed as above will probably resolve this. > > Regards, > > Rico Ferrari > > > On 11/16/06, [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> wrote: > > Send wp-polyglots mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.automattic.com/mailman/listinfo/wp-polyglots > > or, via email, send a message with subject or body 'help' to > > [EMAIL PROTECTED] > > > > You can reach the person managing the list at > > [EMAIL PROTECTED] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of wp-polyglots digest..." > > > > > > Today's Topics: > > > > 1. bug triggered by translation (Ralf Schmitt) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Thu, 16 Nov 2006 11:25:25 +0100 > > From: Ralf Schmitt <[EMAIL PROTECTED]> > > Subject: [wp-polyglots] bug triggered by translation > > To: [email protected] > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > > > Hi, > > > > I yust want to inform you that I've discovered a wordpress bug > > (2.0.5). This bug isn't triggered on english version! > > > > BUG: > > When this translation is used > > > > msgid "Linked to Image" > > msgstr "Lié à l'image" > > > > deletion of uploaded pictures fails with javascript errorcode: > > > > Fehler: missing ; before statement > > Quelltext: linkedtoimage = 'Lié à l'image'; > > > > FIX: > > > > FILE: wp-admin/inline-uploading.php > > LINE: 185 > > > > linkedtoimage = '$__linked_to_image'; > > to > > linkedtoimage = \"$__linked_to_image\"; > > > > > > regards > > Ralf > > > > > > ------------------------------ > > > > _______________________________________________ > > wp-polyglots mailing list > > [email protected] > > http://lists.automattic.com/mailman/listinfo/wp-polyglots > > > > > > End of wp-polyglots Digest, Vol 22, Issue 6 > > ******************************************* _______________________________________________ wp-polyglots mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-polyglots
