Bug 1294186 - Migrate inspector.xul from .dtd to .properties
authorAxel Hecht <axel@pike.org>
Mon, 14 Nov 2016 14:13:57 +0100
changeset 71 77a7df9140b697c45ccec3976b3f64235caf123d
parent 70 51627b182b19af827aba9266bf65431009d29d65
child 72 d49b6e39343dfa0ab717a01566054cabdfb0e00b
push id66
push useraxel@mozilla.com
push dateMon, 14 Nov 2016 13:14:07 +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,17 +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. -->
-<!-- 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,13 @@ 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.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,29 +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. -->
-<!-- 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 خصوصیت آی نئ اتھ۪ی">