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

Rico Ferrari laudano at gmail.com
Thu Nov 16 12:09:12 GMT 2006


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
> *******************************************
>



-- 
Rico Ferrari

http://blog.laudano.com.br
http://biblioteca.laudano.com.br
http://documentario.embora.com.br
http://www.embora.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-polyglots/attachments/20061116/07e40968/attachment.htm


More information about the wp-polyglots mailing list