Bug 1466744 - Support localization for Application panel tab title;r=flod
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 05 Jun 2018 12:48:14 +0200
changeset 421556 028b8cb1ff33e0236b750af34c44eb58b56ca39b
parent 421555 50038633cebab6e3f57c87b94f80b010b8f4d901
child 421557 79526c87b4708f38d19f0c340f23a49a6907baea
push id64912
push userjdescottes@mozilla.com
push dateWed, 06 Jun 2018 10:27:16 +0000
treeherderautoland@028b8cb1ff33 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflod
bugs1466744
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1466744 - Support localization for Application panel tab title;r=flod MozReview-Commit-ID: 7dhAfLisZS0
devtools/client/definitions.js
devtools/client/locales/en-US/startup.properties
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -457,19 +457,19 @@ Tools.accessibility = {
 };
 
 Tools.application = {
   id: "application",
   ordinal: 15,
   visibilityswitch: "devtools.application.enabled",
   icon: "chrome://devtools/skin/images/tool-application.svg",
   url: "chrome://devtools/content/application/index.html",
-  label: "Application",
-  panelLabel: "Application",
-  tooltip: "Application",
+  label: l10n("application.label"),
+  panelLabel: l10n("application.panellabel"),
+  tooltip: l10n("application.tooltip"),
   inMenu: false,
   hiddenInOptions: true,
 
   isTargetSupported: function(target) {
     return target.isLocalTab;
   },
 
   build: function(iframeWindow, toolbox) {
--- a/devtools/client/locales/en-US/startup.properties
+++ b/devtools/client/locales/en-US/startup.properties
@@ -263,16 +263,30 @@ accessibility.panelLabel=Accessibility P
 accessibility.accesskey=y
 
 # LOCALIZATION NOTE (accessibility.tooltip2):
 # This string is displayed in the tooltip of the tab when the Accessibility is
 # displayed inside the developer tools window.
 # Keyboard shortcut for Accessibility panel will be shown inside the brackets.
 accessibility.tooltip2=Accessibility
 
+# LOCALIZATION NOTE (application.label):
+# This string is displayed in the title of the tab when the Application panel
+# is displayed inside the developer tools window and in the Developer Tools Menu.
+application.label=Application
+
+# LOCALIZATION NOTE (application.panelLabel):
+# This is used as the label for the toolbox panel.
+application.panelLabel=Application Panel
+
+# LOCALIZATION NOTE (application.tooltip):
+# This string is displayed in the tooltip of the tab when the Application panel is
+# displayed inside the developer tools window.
+application.tooltip=Application Panel
+
 # LOCALIZATION NOTE (toolbox.buttons.responsive):
 # This is the tooltip of the button in the toolbox toolbar that toggles
 # the Responsive mode.
 # Keyboard shortcut will be shown inside brackets.
 toolbox.buttons.responsive = Responsive Design Mode (%S)
 
 # LOCALIZATION NOTE (toolbox.buttons.paintflashing):
 # This is the tooltip of the paintflashing button in the toolbox toolbar