From e78cbe89e6f337f2f1fe40315be88f742b547151 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 26 May 2010 10:11:43 +0100 Subject: Merge WebKit at r60074: Initial merge by git Change-Id: I18a2dc5439e36c928351ea829d8fb4e39b062fc7 --- WebCore/inspector/front-end/ScriptsPanel.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'WebCore/inspector/front-end/ScriptsPanel.js') diff --git a/WebCore/inspector/front-end/ScriptsPanel.js b/WebCore/inspector/front-end/ScriptsPanel.js index 31d37a1..6c817ac 100644 --- a/WebCore/inspector/front-end/ScriptsPanel.js +++ b/WebCore/inspector/front-end/ScriptsPanel.js @@ -978,7 +978,7 @@ WebInspector.ScriptsPanel.prototype = { _registerShortcuts: function() { - var section = WebInspector.shortcutsHelp.section("Scripts Panel"); + var section = WebInspector.shortcutsHelp.section(WebInspector.UIString("Scripts Panel")); var handler, shortcut1, shortcut2; var platformSpecificModifier = WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta; @@ -990,7 +990,7 @@ WebInspector.ScriptsPanel.prototype = { this._shortcuts[shortcut1.key] = handler; shortcut2 = WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Slash, platformSpecificModifier); this._shortcuts[shortcut2.key] = handler; - section.addAlternateKeys([ shortcut1.name, shortcut2.name ], "Continue"); + section.addAlternateKeys([ shortcut1.name, shortcut2.name ], WebInspector.UIString("Continue")); // Step over. handler = this.stepOverButton.click.bind(this.stepOverButton); @@ -998,7 +998,7 @@ WebInspector.ScriptsPanel.prototype = { this._shortcuts[shortcut1.key] = handler; shortcut2 = WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.SingleQuote, platformSpecificModifier); this._shortcuts[shortcut2.key] = handler; - section.addAlternateKeys([ shortcut1.name, shortcut2.name ], "Step over"); + section.addAlternateKeys([ shortcut1.name, shortcut2.name ], WebInspector.UIString("Step over")); // Step into. handler = this.stepIntoButton.click.bind(this.stepIntoButton); @@ -1006,7 +1006,7 @@ WebInspector.ScriptsPanel.prototype = { this._shortcuts[shortcut1.key] = handler; shortcut2 = WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Semicolon, platformSpecificModifier); this._shortcuts[shortcut2.key] = handler; - section.addAlternateKeys([ shortcut1.name, shortcut2.name ], "Step into"); + section.addAlternateKeys([ shortcut1.name, shortcut2.name ], WebInspector.UIString("Step into")); // Step out. handler = this.stepOutButton.click.bind(this.stepOutButton); @@ -1014,7 +1014,7 @@ WebInspector.ScriptsPanel.prototype = { this._shortcuts[shortcut1.key] = handler; shortcut2 = WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.Shift, platformSpecificModifier); this._shortcuts[shortcut2.key] = handler; - section.addAlternateKeys([ shortcut1.name, shortcut2.name ], "Step out"); + section.addAlternateKeys([ shortcut1.name, shortcut2.name ], WebInspector.UIString("Step out")); this.sidebarPanes.callstack.registerShortcuts(section); } -- cgit v1.1