Javascript error - Italian version - trackbacks link....

Found a bug? Tell us!!
Post Reply
Frenke - Italy

Javascript error - Italian version - trackbacks link....

Post by Frenke - Italy »

In the italian version of the blog the system prompts an error about a missing ')' or something similar in the trackback link when you see comments.

i look for this error and i discover that is due a bad-translation of the 'TRACKBACK_SPECIFIC_ON_CLICK' variable that contains a \'

This string is used inside javascipt so you have to put inside the script the \' .... for doing this we have to modify the translate with \\\' so the PHP output for the browser/javascript it's a right \'.

So... this is the entire key..... (file: lang/serendipity_lang_it.inc.php)

@define('TRACKBACK_SPECIFIC_ON_CLICK', 'Questo link non dovrebbe essere clickato. Contiene l\\\'URI di trackback per questa notizia. Puoi usare questo URI per mandare pingback e trackback dal tuo blog a questa notizia. Per copiare il link, clickaci col tasto destro e seleziona "Copia Collegamento".');
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Javascript error - Italian version - trackbacks link....

Post by garvinhicking »

Thanks a lot! I've just committed this fix!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply