Bug 1294186 - Migrate inspector.xul from .dtd to .properties
authorAxel Hecht <axel@pike.org>
Mon, 14 Nov 2016 14:20:12 +0100
changeset 272 93e855e6307f8324cd6555e7afa3a42ea6ef133c
parent 271 8b9502b318176ee6deea1ea7d117210ef79c5185
child 273 34b2a6931c7295bcfaa83fd67d799fc84c6eb58f
push id170
push useraxel@mozilla.com
push dateMon, 14 Nov 2016 13:20:20 +0000
bugs1294186
Bug 1294186 - Migrate inspector.xul from .dtd to .properties
devtools/client/boxmodel.properties
devtools/client/font-inspector.dtd
devtools/client/font-inspector.properties
devtools/client/inspector.dtd
devtools/client/inspector.properties
devtools/client/layoutview.dtd
devtools/client/styleinspector.dtd
new file mode 100644
--- /dev/null
+++ b/devtools/client/boxmodel.properties
@@ -0,0 +1,32 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# LOCALIZATION NOTE : FILE This file contains the Layout View strings.
+# The Layout View is a panel displayed in the computed view tab of the Inspector sidebar.
+
+# LOCALIZATION NOTE : FILE The correct localization of this file might be to
+# keep it in English, or another language commonly spoken among web developers.
+# You want to make that choice consistent across the developer tools.
+# A good criteria is the language in which you'd find the best
+# documentation on web development on the web.
+
+# LOCALIZATION NOTE (boxmodel.title) This is the title of the box model panel and is
+# displayed as a label.
+boxmodel.title=ବାକ୍ସ ମଡେଲ
+
+# LOCALIZATION NOTE (boxmodel.margin) This refers to the margin in the box model and
+# might be displayed as a label or as a tooltip.
+boxmodel.margin=ସୀମା
+
+# LOCALIZATION NOTE (boxmodel.padding) This refers to the padding in the box model and
+# might be displayed as a label or as a tooltip.
+boxmodel.padding=ଅନାବଶ୍ୟକ ବିସ୍ତାର
+
+# LOCALIZATION NOTE (boxmodel.border) This refers to the border in the box model and
+# might be displayed as a label or as a tooltip.
+boxmodel.border=ଧାର
+
+# LOCALIZATION NOTE (boxmodel.content) This refers to the content in the box model and
+# might be displayed as a label or as a tooltip.
+boxmodel.content=ବିଷୟବସ୍ତୁ
deleted file mode 100644
--- a/devtools/client/font-inspector.dtd
+++ /dev/null
@@ -1,14 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
-   - License, v. 2.0. If a copy of the MPL was not distributed with this
-   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<!-- LOCALIZATION NOTE : FILE This file contains the Font Inspector strings.
-  - The Font Inspector is the panel accessible in the Inspector sidebar. -->
-
-
-<!ENTITY showAllFonts "ଏହି ପୃଷ୍ଠାରେ ବ୍ୟବହୃତ ସମସ୍ତ ଅକ୍ଷରରୂପଗୁଡ଼ିକୁ ଦେଖନ୍ତୁ">
-
-<!ENTITY usedAs "ଏହି ପରି ଭାବରେ ବ୍ୟବହୃତ: ">
-<!ENTITY system "ତନ୍ତ୍ର">
-<!ENTITY remote "ସୁଦୂର">
-<!-- LOCALIZATION NOTE (previewHint): This is the label shown as the
-     placeholder in font inspector preview text box. -->
new file mode 100644
--- /dev/null
+++ b/devtools/client/font-inspector.properties
@@ -0,0 +1,21 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# LOCALIZATION NOTE This file contains the Font Inspector strings.
+# The Font Inspector is a panel accessible in the Inspector sidebar.
+
+# LOCALIZATION NOTE (fontinspector.seeAll.tooltip) see fontinspector.seeAll.
+fontinspector.seeAll.tooltip=ଏହି ପୃଷ୍ଠାରେ ବ୍ୟବହୃତ ସମସ୍ତ ଅକ୍ଷରରୂପଗୁଡ଼ିକୁ ଦେଖନ୍ତୁ
+
+# LOCALIZATION NOTE (fontinspector.usedAs) This label introduces the name used to refer to
+# the font in a stylesheet.
+fontinspector.usedAs=ଏହି ପରି ଭାବରେ ବ୍ୟବହୃତ: 
+
+# LOCALIZATION NOTE (fontinspector.system) This label indicates that the font is a local
+# system font.
+fontinspector.system=ତନ୍ତ୍ର
+
+# LOCALIZATION NOTE (fontinspector.remote) This label indicates that the font is a remote
+# font.
+fontinspector.remote=ସୁଦୂର
deleted file mode 100644
--- a/devtools/client/inspector.dtd
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- LOCALIZATION NOTE (inspectorRemoveAttribute.label): This is the label shown in
-     the inspector contextual-menu for the item that lets users delete attribute
-     from current node -->
-
-
-<!ENTITY inspector.selectButton.tooltip     "ମାଉସ ସହାୟତାରେ ଉପଦାନକୁ ବାଛନ୍ତୁ">
-<!-- LOCALIZATION NOTE (inspectorSearchHTML.label3): This is the label that is
-     shown as the placeholder for the markup view search in the inspector. -->
-
-<!ENTITY inspectorSearchHTML.label3 "ସନ୍ଧାନ HTML">
-<!-- LOCALIZATION NOTE (inspectorAddNode.label): This is the label shown in
-     the inspector toolbar for the button that lets users add elements to the
-     DOM (as children of the currently selected element). -->
-
-<!-- LOCALIZATION NOTE (inspectorEyeDropper.label): A string displayed as the tooltip of
-     a button in the inspector which toggles the Eyedropper tool -->
-<!-- LOCALIZATION NOTE (inspectorBreadcrumbsGroup): A string visible only to a
-     screen reader and is used to label (using aria-label attribute) a container
-     for inspector breadcrumbs -->
--- a/devtools/client/inspector.properties
+++ b/devtools/client/inspector.properties
@@ -254,8 +254,18 @@ inspector.searchResultsNone=କୌଣସି ମେଳକ ନାହିଁ
 
 # LOCALIZATION NOTE (inspector.sidebar.layoutViewTitle):
 # This is the title shown in a tab in the side panel of the Inspector panel
 # that corresponds to the tool displaying box model of the selected element.
 
 # 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.
+
+# LOCALIZATION NOTE (inspector.browserStyles.label): This is the label for the checkbox
+# that specifies whether the styles that are not from the user's stylesheet should be
+# displayed or not.
+inspector.browserStyles.label=ବ୍ରାଉଜର ଶୈଳୀଗୁଡ଼ିକ
+
+# LOCALIZATION NOTE (inspector.noProperties): In the case where there are no CSS
+# properties to display e.g. due to search criteria this message is
+# displayed.
+inspector.noProperties=କୌଣସି CSS ଗୁଣଧର୍ମ ମିଳୁନାହିଁ।
deleted file mode 100644
--- a/devtools/client/layoutview.dtd
+++ /dev/null
@@ -1,26 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
-   - License, v. 2.0. If a copy of the MPL was not distributed with this
-   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<!-- LOCALIZATION NOTE : FILE This file contains the Layout View strings.
-  - The Layout View is the panel accessible at the bottom of the Inspector
-  - sidebar. -->
-<!-- LOCALIZATION NOTE : FILE The correct localization of this file might be to
-  - keep it in English, or another language commonly spoken among web developers.
-  - You want to make that choice consistent across the developer tools.
-  - A good criteria is the language in which you'd find the best
-  - documentation on web development on the web. -->
-<!-- LOCALIZATION NOTE (*.tooltip): These tooltips are not regular tooltips.
-  -  The text appears on the bottom right corner of the layout view when
-  -  the corresponding box is hovered. -->
-
-
-
-
-<!ENTITY layoutViewTitle          "ବାକ୍ସ ମଡେଲ">
-<!ENTITY margin.tooltip           "ସୀମା">
-<!ENTITY border.tooltip           "ଧାର">
-<!ENTITY padding.tooltip          "ଅନାବଶ୍ୟକ ବିସ୍ତାର">
-<!ENTITY content.tooltip          "ବିଷୟବସ୍ତୁ">
-<!-- LOCALIZATION NOTE: This label is displayed as a tooltip that appears when
-  -  hovering over the button that allows users to edit the position of an
-  -  element in the page. -->
deleted file mode 100644
--- a/devtools/client/styleinspector.dtd
+++ /dev/null
@@ -1,32 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
-   - License, v. 2.0. If a copy of the MPL was not distributed with this
-   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<!-- LOCALIZATION NOTE : FILE The correct localization of this file might be to
-  - keep it in English, or another language commonly spoken among web developers.
-  - You want to make that choice consistent across the developer tools.
-  - A good criteria is the language in which you'd find the best
-  - documentation on web development on the web. -->
-<!-- LOCALIZATION NOTE (browserStylesLabel): This is the label for the checkbox
-  -  that specifies whether the styles that are not from the user's stylesheet
-  -  should be displayed or not. -->
-
-
-<!ENTITY browserStylesLabel    "ବ୍ରାଉଜର ଶୈଳୀଗୁଡ଼ିକ">
-<!-- LOCALIZATION NOTE (filterStylesPlaceholder): This is the placeholder that goes in
-  -  the search box when no search term has been entered. -->
-<!-- LOCALIZATION NOTE (addRuleButtonTooltip): This is the tooltip shown when
-  -  hovering the `Add new rule` button in the rules view toolbar. This should
-  -  match ruleView.contextmenu.addNewRule in styleinspector.properties -->
-<!-- LOCALIZATION NOTE (selectedElementLabel): This is the label for the path of
-  -  the highlighted element in the web page. This path is based on the document
-  -  tree. -->
-
-<!ENTITY selectedElementLabel  "ବଚ୍ଛିତ ଉପାଦାନ:">
-<!-- LOCALIZATION NOTE (togglePseudoClassPanel): This is the tooltip
-  -  shown when hovering over the `Toggle Pseudo Class Panel` button in the
-  -  rule view toolbar. -->
-<!-- LOCALIZATION NOTE (noPropertiesFound): In the case where there are no CSS
-  -  properties to display e.g. due to search criteria this message is
-  -  displayed. -->
-
-<!ENTITY noPropertiesFound     "କୌଣସି CSS ଗୁଣଧର୍ମ ମିଳୁନାହିଁ।">