[wp-polyglots] Re: wp-polyglots Digest, Vol 22, Issue 6

Ralf Schmitt ralf.schmitt at schlund.de
Thu Nov 16 12:20:47 GMT 2006


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, wp-polyglots-request at lists.automattic.com <
>
> wp-polyglots-request at lists.automattic.com> wrote:
> > Send wp-polyglots mailing list submissions to
> >         wp-polyglots at lists.automattic.com
> >
> > 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
> >         wp-polyglots-request at lists.automattic.com
> >
> > You can reach the person managing the list at
> >         wp-polyglots-owner at lists.automattic.com
> >
> > 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 <ralf.schmitt at schlund.de>
> > Subject: [wp-polyglots] bug triggered by translation
> > To: wp-polyglots at lists.automattic.com
> > Message-ID: <200611161125.25916.ralf.schmitt at schlund.de>
> > 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
> > wp-polyglots at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-polyglots
> >
> >
> > End of wp-polyglots Digest, Vol 22, Issue 6
> > *******************************************


More information about the wp-polyglots mailing list