Page 1 of 1

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

Posted: Tue Aug 16, 2005 11:30 pm
by Frenke - Italy
@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".');

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".');

Posted: Tue Aug 16, 2005 11:31 pm
by Guest
SORRY - I POST IT TWICE!!

8)