[Phpfreechat-svn] SF.net SVN: phpfreechat: [545] trunk/themes/default/templates/pfcclient.js.tpl.ph
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-07 20:11:35
|
Revision: 545 Author: kerphi Date: 2006-06-05 07:08:56 -0700 (Mon, 05 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=545&view=rev Log Message: ----------- Bug fix: add slashes to thetranslated strings in the javascript code Modified Paths: -------------- trunk/themes/default/templates/pfcclient.js.tpl.php Modified: trunk/themes/default/templates/pfcclient.js.tpl.php =================================================================== --- trunk/themes/default/templates/pfcclient.js.tpl.php 2006-06-01 16:50:57 UTC (rev 544) +++ trunk/themes/default/templates/pfcclient.js.tpl.php 2006-06-05 14:08:56 UTC (rev 545) @@ -93,21 +93,21 @@ // the i18n translations this.i18n = new pfcI18N(); - this.i18n.setLabel('hide_nickname_color', '<?php echo _pfc("Hide nickname marker"); ?>'); - this.i18n.setLabel('show_nickname_color', '<?php echo _pfc("Show nickname marker"); ?>'); - this.i18n.setLabel('hide_clock', '<?php echo _pfc("Hide dates and hours"); ?>'); - this.i18n.setLabel('show_clock', '<?php echo _pfc("Show dates and hours"); ?>'); - this.i18n.setLabel('logout', '<?php echo _pfc("Disconnect"); ?>'); - this.i18n.setLabel('login', '<?php echo _pfc("Connect"); ?>'); - this.i18n.setLabel('maximize', '<?php echo _pfc("Magnify"); ?>'); - this.i18n.setLabel('minimize', '<?php echo _pfc("Cut down"); ?>'); - this.i18n.setLabel('hidesmiley', '<?php echo _pfc("Hide smiley box"); ?>'); - this.i18n.setLabel('showsmiley', '<?php echo _pfc("Show smiley box"); ?>'); - this.i18n.setLabel('hideonline', '<?php echo _pfc("Hide online users box"); ?>'); - this.i18n.setLabel('showonline', '<?php echo _pfc("Show online users box"); ?>'); - this.i18n.setLabel('enter_nickname', '<?php echo _pfc("Please enter your nickname"); ?>'); - this.i18n.setLabel('Private message', '<?php echo _pfc("Private message"); ?>'); - this.i18n.setLabel('Close this tab', '<?php echo _pfc("Close this tab"); ?>'); + this.i18n.setLabel('hide_nickname_color', '<?php echo addslashes(_pfc("Hide nickname marker")); ?>'); + this.i18n.setLabel('show_nickname_color', '<?php echo addslashes(_pfc("Show nickname marker")); ?>'); + this.i18n.setLabel('hide_clock', '<?php echo addslashes(_pfc("Hide dates and hours")); ?>'); + this.i18n.setLabel('show_clock', '<?php echo addslashes(_pfc("Show dates and hours")); ?>'); + this.i18n.setLabel('logout', '<?php echo addslashes(_pfc("Disconnect")); ?>'); + this.i18n.setLabel('login', '<?php echo addslashes(_pfc("Connect")); ?>'); + this.i18n.setLabel('maximize', '<?php echo addslashes(_pfc("Magnify")); ?>'); + this.i18n.setLabel('minimize', '<?php echo addslashes(_pfc("Cut down")); ?>'); + this.i18n.setLabel('hidesmiley', '<?php echo addslashes(_pfc("Hide smiley box")); ?>'); + this.i18n.setLabel('showsmiley', '<?php echo addslashes(_pfc("Show smiley box")); ?>'); + this.i18n.setLabel('hideonline', '<?php echo addslashes(_pfc("Hide online users box")); ?>'); + this.i18n.setLabel('showonline', '<?php echo addslashes(_pfc("Show online users box")); ?>'); + this.i18n.setLabel('enter_nickname', '<?php echo addslashes(_pfc("Please enter your nickname")); ?>'); + this.i18n.setLabel('Private message', '<?php echo addslashes(_pfc("Private message")); ?>'); + this.i18n.setLabel('Close this tab', '<?php echo addslashes(_pfc("Close this tab")); ?>'); // the graphical user interface this.gui = new pfcGui(this.i18n); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |