зеркало из https://github.com/mozilla/gecko-dev.git
Bug 830668 - Add a keyboard shortcut for the Profiler, r=robcee
This commit is contained in:
Родитель
87e29c3174
Коммит
391096d41f
|
@ -146,6 +146,10 @@ let styleEditorDefinition = {
|
|||
|
||||
let profilerDefinition = {
|
||||
id: "jsprofiler",
|
||||
accesskey: l10n("profiler.accesskey", profilerStrings),
|
||||
key: l10n("profiler.commandkey", profilerStrings),
|
||||
ordinal: 4,
|
||||
modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
|
||||
killswitch: "devtools.profiler.enabled",
|
||||
url: "chrome://browser/content/profiler.xul",
|
||||
label: l10n("profiler.label", profilerStrings),
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
# displayed inside the developer tools window and in the Developer Tools Menu.
|
||||
profiler.label=Profiler
|
||||
|
||||
# LOCALIZATION NOTE (profiler.commandkey, profiler.accesskey)
|
||||
# Used for the menuitem in the tool menu
|
||||
profiler.commandkey=Y
|
||||
profiler.accesskey=Y
|
||||
|
||||
# LOCALIZATION NOTE (profiler.tooltip):
|
||||
# This string is displayed in the tooltip of the tab when the profiler is
|
||||
# displayed inside the developer tools window.
|
||||
|
@ -41,6 +46,9 @@ profiler.runningTime=Running Time
|
|||
|
||||
# LOCALIZATION NOTE (profiler.self):
|
||||
# This string is displayed as a table header in the profiler UI.
|
||||
# "Self" is how much time was spent doing work directly in that function.
|
||||
# As opposed to the total time which is how much time was spent in that
|
||||
# function and in functions it called.
|
||||
profiler.self=Self
|
||||
|
||||
# LOCALIZATION NOTE (profiler.symbolName)
|
||||
|
|
Загрузка…
Ссылка в новой задаче