diff --git a/browser/devtools/framework/ToolDefinitions.jsm b/browser/devtools/framework/ToolDefinitions.jsm index 7505bf54c470..a6a0d842a7b1 100644 --- a/browser/devtools/framework/ToolDefinitions.jsm +++ b/browser/devtools/framework/ToolDefinitions.jsm @@ -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), diff --git a/browser/locales/en-US/chrome/browser/devtools/profiler.properties b/browser/locales/en-US/chrome/browser/devtools/profiler.properties index 62fbd607b7eb..6736ad307e57 100644 --- a/browser/locales/en-US/chrome/browser/devtools/profiler.properties +++ b/browser/locales/en-US/chrome/browser/devtools/profiler.properties @@ -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)