Bug 1321504 - update localization note and key for layout view title;r=gl
MozReview-Commit-ID: 74qZnbWmVJz
--- a/devtools/client/inspector/layout/layout.js
+++ b/devtools/client/inspector/layout/layout.js
@@ -121,25 +121,25 @@ LayoutView.prototype = {
}
},
});
let provider = createElement(Provider, {
store,
id: "layoutview",
- title: INSPECTOR_L10N.getStr("inspector.sidebar.layoutViewTitle"),
+ title: INSPECTOR_L10N.getStr("inspector.sidebar.layoutViewTitle2"),
key: "layoutview",
}, app);
let defaultTab = Services.prefs.getCharPref("devtools.inspector.activeSidebar");
this.inspector.addSidebarTab(
"layoutview",
- INSPECTOR_L10N.getStr("inspector.sidebar.layoutViewTitle"),
+ INSPECTOR_L10N.getStr("inspector.sidebar.layoutViewTitle2"),
provider,
defaultTab == "layoutview"
);
}),
/**
* Destruction function called when the inspector is destroyed. Removes event listeners
* and cleans up references.
--- a/devtools/client/locales/en-US/inspector.properties
+++ b/devtools/client/locales/en-US/inspector.properties
@@ -316,20 +316,20 @@ inspector.sidebar.fontInspectorTitle=Fon
inspector.sidebar.ruleViewTitle=Rules
# LOCALIZATION NOTE (inspector.sidebar.computedViewTitle):
# This is the title shown in a tab in the side panel of the Inspector panel
# that corresponds to the tool displaying the list of computed CSS values
# used in the page.
inspector.sidebar.computedViewTitle=Computed
-# LOCALIZATION NOTE (inspector.sidebar.computedViewTitle):
+# LOCALIZATION NOTE (inspector.sidebar.layoutViewTitle2):
# This is the title shown in a tab in the side panel of the Inspector panel
# that corresponds to the tool displaying layout information defined in the page.
-inspector.sidebar.layoutViewTitle=Layout
+inspector.sidebar.layoutViewTitle2=Layout
# LOCALIZATION NOTE (inspector.sidebar.animationInspectorTitle):
# This is the title shown in a tab in the side panel of the Inspector panel
# that corresponds to the tool displaying animations defined in the page.
inspector.sidebar.animationInspectorTitle=Animations
# LOCALIZATION NOTE (inspector.eyedropper.label): A string displayed as the tooltip of
# a button in the inspector which toggles the Eyedropper tool