From cfinck@svn.reactos.org Sun Nov 11 16:56:59 2007 From: cfinck@svn.reactos.org To: ros-diffs@reactos.org Subject: [ros-diffs] [cfinck] 30360: - Avoid confusions about double escaping certain quotes by now using PHP's addslashes() function for all strings, which are inserted into JavaScript strings. All strings in the translations now have to be escaped the "usual" way. - Move the translation correctly in "languages.inc.php". Date: Sun, 11 Nov 2007 15:56:58 +0000 Message-ID: <20071111155658.EB69FFEFE@mail.smartxx.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8623110762971814751==" --===============8623110762971814751== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: cfinck Date: Sun Nov 11 18:56:58 2007 New Revision: 30360 URL: http://svn.reactos.org/svn/reactos?rev=3D30360&view=3Drev Log: - Avoid confusions about double escaping certain quotes by now using PHP's ad= dslashes() function for all strings, which are inserted into JavaScript strin= gs. All strings in the translations now have to be escaped the "usual" way. - Move the translation correctly in "languages.inc.php". Modified: trunk/web/reactos.org/htdocs/getbuilds/getbuilds.js.php trunk/web/reactos.org/htdocs/getbuilds/index.php trunk/web/reactos.org/htdocs/getbuilds/lang/fr.inc.php trunk/web/reactos.org/htdocs/getbuilds/lang/it.inc.php trunk/web/reactos.org/htdocs/getbuilds/languages.inc.php Modified: trunk/web/reactos.org/htdocs/getbuilds/getbuilds.js.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/getbuild= s/getbuilds.js.php?rev=3D30360&r1=3D30359&r2=3D30360&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/getbuilds/getbuilds.js.php (original) +++ trunk/web/reactos.org/htdocs/getbuilds/getbuilds.js.php Sun Nov 11 18:56:= 58 2007 @@ -91,7 +91,7 @@ { // For some errors, we show a localized error message if( http_request.responseXML.getElementsByTagName("message")[0].firstChild= .data =3D=3D "LIMIT" ) - alert( '' ); + alert( '' ); else alert( http_request.responseXML.getElementsByTagName("message")[0].firstC= hild.data ); =09 @@ -108,7 +108,7 @@ if( data["requesttype"] =3D=3D "FirstPageFullLoad" ) { filenum =3D parseInt( http_request.responseXML.getElementsByTagName("file= num")[0].firstChild.data ); - html +=3D '' + filenum + '" ); ?>'; + html +=3D '' + filenum + '" ); ?>'; } else html +=3D document.getElementById("infobox").innerHTML; @@ -121,12 +121,12 @@ if( currentpage =3D=3D 1 ) { html +=3D '« '; - html +=3D '= '; - } - else - { - html +=3D '">« '; - html +=3D '">‹ '; + html +=3D ' '; + } + else + { + html +=3D '">« '; + html +=3D '">‹ '; } =09 html +=3D '" si= ze=3D"12" onkeyup=3D"checkRevNum(this);"> ' + - '3D">"" onclick=3D"nextRev();">
' + + '3D">"" onclick=3D"nextRev();">
' + '' + =09 - '3D"INFO:" ' + + '3D"INFO:" ' + '' + '' + '' + - ': ' + + ': ' + '' + ' Debu= g Boot CDs ' + ' Debu= g Live CDs ' + @@ -172,10 +172,10 @@ '' + =20 '
' + - '" />' + + '" />' + =09 '' + - ' ...' + + ' ...' + '' + '
' + =20 @@ -183,14 +183,14 @@ '' + '' + '' + - '' + + '' + + '' + '' + '' + '' + '' + - '' + + '' + '' + '' + Modified: trunk/web/reactos.org/htdocs/getbuilds/lang/fr.inc.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/getbuild= s/lang/fr.inc.php?rev=3D30360&r1=3D30359&r2=3D30360&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/getbuilds/lang/fr.inc.php (original) +++ trunk/web/reactos.org/htdocs/getbuilds/lang/fr.inc.php Sun Nov 11 18:56:5= 8 2007 @@ -31,7 +31,7 @@ $getbuilds_langres["showrev"] =3D "Montrer"; $getbuilds_langres["gettinglist"] =3D "R=C3=83=C2=A9cup=C3=83=C2=A9ration d= e la liste des fichiers"; $getbuilds_langres["rangeinfo"] =3D "Vous pouvez entrer un num=C3=83=C2=A9r= o de r=C3=83=C2=A9vision (p.e. %s) ou un intervalle de r=C3=83=C2=A9visions (= p.e. %s-%s)"; - $getbuilds_langres["isotype"] =3D "Montrer les types d\'images de CD "; + $getbuilds_langres["isotype"] =3D "Montrer les types d'images de CD "; =09 $getbuilds_langres["foundfiles"] =3D "%s fichiers trouv=C3=83=C2=A9s !"; =09 @@ -48,8 +48,8 @@ $getbuilds_langres["filedate"] =3D "Derniers changements"; $getbuilds_langres["pleasewait"] =3D "Veuillez patienter"; =09 - $getbuilds_langres["nofiles"] =3D "Il n\'y a pas de fichiers disponibles = pour la r=C3=83=C2=A9vision %s !"; + $getbuilds_langres["nofiles"] =3D "Il n'y a pas de fichiers disponibles p= our la r=C3=83=C2=A9vision %s !"; $getbuilds_langres["invalidrev"] =3D "Num=C3=83=C2=A9ro de r=C3=83=C2=A9vis= ion invalide !"; =09 - $getbuilds_langres["rangelimitexceeded"] =3D "L\'intervalle de r=C3=83=C2= =A9visions ne peut contenir qu\'un maximum de %s r=C3=83=C2=A9visions !"; + $getbuilds_langres["rangelimitexceeded"] =3D "L'intervalle de r=C3=83=C2=A9= visions ne peut contenir qu'un maximum de %s r=C3=83=C2=A9visions !"; ?> Modified: trunk/web/reactos.org/htdocs/getbuilds/lang/it.inc.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/getbuild= s/lang/it.inc.php?rev=3D30360&r1=3D30359&r2=3D30360&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/getbuilds/lang/it.inc.php (original) +++ trunk/web/reactos.org/htdocs/getbuilds/lang/it.inc.php Sun Nov 11 18:56:5= 8 2007 @@ -29,7 +29,7 @@ $getbuilds_langres["prevrev"] =3D "Revisione precedente"; $getbuilds_langres["nextrev"] =3D "Revisione successiva"; $getbuilds_langres["showrev"] =3D "Mostrare"; - $getbuilds_langres["gettinglist"] =3D "Ottentendo l\'elenco dei file"; + $getbuilds_langres["gettinglist"] =3D "Ottentendo l'elenco dei file"; $getbuilds_langres["rangeinfo"] =3D "Puoi inserire un numero di revisione (= ad es. %s) oppure un range di revisioni (ad es. %s-%s)"; $getbuilds_langres["isotype"] =3D "Mostrare imagini cd"; =09 @@ -41,7 +41,7 @@ $getbuilds_langres["page"] =3D "Pagina"; $getbuilds_langres["nextpage"] =3D "Successiva"; $getbuilds_langres["nextpage_title"] =3D "Pagina successiva"; - $getbuilds_langres["lastpage_title"] =3D "Andare all\'ultima pagina"; + $getbuilds_langres["lastpage_title"] =3D "Andare all'ultima pagina"; =09 $getbuilds_langres["filename"] =3D "Nome file"; $getbuilds_langres["filesize"] =3D "Dimensioni"; Modified: trunk/web/reactos.org/htdocs/getbuilds/languages.inc.php URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/getbuild= s/languages.inc.php?rev=3D30360&r1=3D30359&r2=3D30360&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/web/reactos.org/htdocs/getbuilds/languages.inc.php (original) +++ trunk/web/reactos.org/htdocs/getbuilds/languages.inc.php Sun Nov 11 18:56= :58 2007 @@ -11,8 +11,8 @@ $getbuilds_languages =3D array( "en" =3D> "English", "de" =3D> "Deutsch (German)", + "es" =3D> "Espa=C3=83=C2=B1ol (Spanish)", "fr" =3D> "Fran=C3=83=C2=A7ais (French)", - "es" =3D> "Espa=C3=83=C2=B1ol (Spanish)", "it" =3D> "Italiano (Italian)", "lt" =3D> "Lietuvi=C3=85=C2=B3 (Lithuanian)", ); --===============8623110762971814751==--
' + - '' + - '' + + '
......<= /td>' + '