[wp-polyglots] bug triggered by translation

Ralf Schmitt ralf.schmitt at schlund.de
Thu Nov 16 10:25:25 GMT 2006


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


More information about the wp-polyglots mailing list