Commit 061e8e7f authored by vsevik@chromium.org's avatar vsevik@chromium.org

Web Inspector: Timeline panel shortcut for filtering short records should have shorter description.

https://bugs.webkit.org/show_bug.cgi?id=69333

Reviewed by Pavel Feldman.

* English.lproj/localizedStrings.js:
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._registerShortcuts):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bd3152c8
2011-10-04 Vsevolod Vlasov <vsevik@chromium.org>
Web Inspector: Timeline panel shortcut for filtering short records should have shorter description.
https://bugs.webkit.org/show_bug.cgi?id=69333
Reviewed by Pavel Feldman.
* English.lproj/localizedStrings.js:
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._registerShortcuts):
2011-10-04 Andreas Kling <kling@webkit.org> 2011-10-04 Andreas Kling <kling@webkit.org>
Shrink StyleRareNonInheritedData. Shrink StyleRareNonInheritedData.
Bvar localizedStrings = new Object; Bvar localizedStrings = new Object;
......
...@@ -239,7 +239,7 @@ WebInspector.TimelinePanel.prototype = { ...@@ -239,7 +239,7 @@ WebInspector.TimelinePanel.prototype = {
var shortRecordThresholdTitle = Number.secondsToString(WebInspector.TimelinePanel.shortRecordThreshold); var shortRecordThresholdTitle = Number.secondsToString(WebInspector.TimelinePanel.shortRecordThreshold);
this._shortcuts[shortcut.makeKey("f", modifiers.Shift | modifiers.CtrlOrMeta)] = this._toggleFilterButtonClicked.bind(this); this._shortcuts[shortcut.makeKey("f", modifiers.Shift | modifiers.CtrlOrMeta)] = this._toggleFilterButtonClicked.bind(this);
section.addKey(shortcut.shortcutToString("f", modifiers.Shift | modifiers.CtrlOrMeta), WebInspector.UIString("Toggle filter for the records that are shorter than %s", shortRecordThresholdTitle)); section.addKey(shortcut.shortcutToString("f", modifiers.Shift | modifiers.CtrlOrMeta), WebInspector.UIString("Filter out records shorter than %s", shortRecordThresholdTitle));
this._shortcuts[shortcut.makeKey("s", modifiers.CtrlOrMeta)] = this._saveToFile.bind(this); this._shortcuts[shortcut.makeKey("s", modifiers.CtrlOrMeta)] = this._saveToFile.bind(this);
section.addKey(shortcut.shortcutToString("s", modifiers.CtrlOrMeta), WebInspector.UIString("Save Timeline data\u2026")); section.addKey(shortcut.shortcutToString("s", modifiers.CtrlOrMeta), WebInspector.UIString("Save Timeline data\u2026"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment