summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 10:21:33 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 10:21:33 +0000
commit2b05f2e4deef6844727c748eaa139ad671fad570 (patch)
tree200db1104550292ccffed6a87a2240d436b880f9 /webkit/glue
parent460ebed4905c49da8d13cb07fd1b971efa647b40 (diff)
downloadchromium_src-2b05f2e4deef6844727c748eaa139ad671fad570.zip
chromium_src-2b05f2e4deef6844727c748eaa139ad671fad570.tar.gz
chromium_src-2b05f2e4deef6844727c748eaa139ad671fad570.tar.bz2
DevTools: Use message format in WebInspector.UIString override.
Review URL: http://codereview.chromium.org/113700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/devtools/js/devtools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/devtools/js/devtools.js b/webkit/glue/devtools/js/devtools.js
index f85ad13..36e4410 100644
--- a/webkit/glue/devtools/js/devtools.js
+++ b/webkit/glue/devtools/js/devtools.js
@@ -895,5 +895,5 @@ WebInspector.ProfileDataGridNode.prototype._populate = function(event) {
*/
WebInspector.UIString = function(string)
{
- return string;
+ return String.vsprintf(string, Array.prototype.slice.call(arguments, 1));
}