[Phpfreechat-svn] SF.net SVN: phpfreechat: [697] trunk/src/client/pfcresource.js
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-08-23 09:44:21
|
Revision: 697 Author: kerphi Date: 2006-08-23 02:44:16 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=697&view=rev Log Message: ----------- Bug fix: the javascript labels were not translated. Modified Paths: -------------- trunk/src/client/pfcresource.js Modified: trunk/src/client/pfcresource.js =================================================================== --- trunk/src/client/pfcresource.js 2006-08-23 08:05:09 UTC (rev 696) +++ trunk/src/client/pfcresource.js 2006-08-23 09:44:16 UTC (rev 697) @@ -23,7 +23,10 @@ { var key = this.getLabel.arguments[0]; if (this.labels[key]) - return String.sprintf2(this.getLabel.arguments); //this.labels[key]; + { + this.getLabel.arguments[0] = this.labels[key]; + return String.sprintf2(this.getLabel.arguments); + } else return ""; }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |