From 9837cd624e646db13eb60f67b7fb23d8881c16b8 Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Tue, 5 Jun 2018 12:48:14 +0200 Subject: [PATCH] Bug 1466744 - Support localization for Application panel tab title;r=flod MozReview-Commit-ID: 7dhAfLisZS0 --HG-- extra : rebase_source : 68e540480c2ee9c82d7eb28507e378a186b61bc7 --- devtools/client/definitions.js | 6 +++--- devtools/client/locales/en-US/startup.properties | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/devtools/client/definitions.js b/devtools/client/definitions.js index 5fc1b758fc5a..83b644f6fa97 100644 --- a/devtools/client/definitions.js +++ b/devtools/client/definitions.js @@ -462,9 +462,9 @@ Tools.application = { 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, diff --git a/devtools/client/locales/en-US/startup.properties b/devtools/client/locales/en-US/startup.properties index 83d722881c27..fa85ce2e7d01 100644 --- a/devtools/client/locales/en-US/startup.properties +++ b/devtools/client/locales/en-US/startup.properties @@ -268,6 +268,20 @@ accessibility.accesskey=y # 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.