Bug 1339121 - update header of grid overlay section;r=gl
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 14 Feb 2017 01:01:35 +0100
changeset 343559 16b0fffa128302377ac425c51bcd4d5d5a1d9725
parent 343558 ee190ce6c8ce2db44d0005863695c02eb6cd153d
child 343560 b49222f9716959da6f21bf02acfe2d39752458c2
push id31381
push userkwierso@gmail.com
push dateFri, 17 Feb 2017 20:45:51 +0000
treeherdermozilla-central@f302def88fe5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1339121
milestone54.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 1339121 - update header of grid overlay section;r=gl MozReview-Commit-ID: IJX5kz8GTdO
devtools/client/inspector/layout/components/GridList.js
devtools/client/locales/en-US/layout.properties
--- a/devtools/client/inspector/layout/components/GridList.js
+++ b/devtools/client/inspector/layout/components/GridList.js
@@ -36,17 +36,17 @@ module.exports = createClass({
     } = this.props;
 
     return dom.div(
       {
         className: "grid-container",
       },
       dom.span(
         {},
-        getStr("layout.overlayMultipleGrids")
+        getStr("layout.overlayGrid")
       ),
       dom.ul(
         {},
         grids.map(grid => {
           let { nodeFront } = grid;
           let { displayName, attributes } = nodeFront;
 
           let gridName = displayName;
--- a/devtools/client/locales/en-US/layout.properties
+++ b/devtools/client/locales/en-US/layout.properties
@@ -24,8 +24,12 @@ layout.gridDisplaySettings=Grid Display 
 
 # LOCALIZATION NOTE (layout.noGrids): In the case where there are no CSS grid
 # containers to display.
 layout.noGrids=No grids
 
 # LOCALIZATION NOTE (layout.overlayMultipleGrids): The header for the list of grid
 # container elements that can be highlighted in the CSS Grid pane.
 layout.overlayMultipleGrids=Overlay Multiple Grids
+
+# LOCALIZATION NOTE (layout.overlayGrid): Alternate header for the list of grid container
+# elements if only one item can be selected.
+layout.overlayGrid=Overlay Grid