[toolkit] Bug 975522 - Add CSS coverage commands
authorTheo Chevalier <theo.chevalier11@gmail.com>
Sun, 01 Jun 2014 18:42:57 -0700
changeset 4933 2a93be1c5d1b362a0c6f35b6c389fb9fa9fc0753
parent 4932 b496ef571a5ab21a3069c31000a0e5e0e8e5cd7c
child 4934 c42a1fc0b95235306f427ddace647af19baa05f6
push id3864
push usertheo.chevalier11@gmail.com
push dateMon, 02 Jun 2014 01:43:11 +0000
bugs975522
[toolkit] Bug 975522 - Add CSS coverage commands
browser/chrome/browser/devtools/styleeditor.properties
toolkit/chrome/global/devtools/csscoverage.dtd
toolkit/chrome/global/devtools/csscoverage.properties
--- a/browser/chrome/browser/devtools/styleeditor.properties
+++ b/browser/chrome/browser/devtools/styleeditor.properties
@@ -14,17 +14,17 @@
 # The argument is either the content document's title or its href if no title
 # is available.
 chromeWindowTitle=Éditeur de style [%S]
 
 # LOCALIZATION NOTE  (inlineStyleSheet): This is the name used for an style sheet
 # that is declared inline in the <style> element. Shown in the stylesheets list.
 # the argument is the index (order) of the containing <style> element in the
 # document.
-inlineStyleSheet=<feuille de style interne #%S>
+inlineStyleSheet=<feuille de style embarquée #%S>
 
 # LOCALIZATION NOTE  (newStyleSheet): This is the default name for a new
 # user-created style sheet.
 newStyleSheet=Nouvelle feuille de style #%S
 
 # LOCALIZATION NOTE  (ruleCount.label): Semi-colon list of plural forms.
 # See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
 # This is shown in the style sheets list.
new file mode 100644
--- /dev/null
+++ b/toolkit/chrome/global/devtools/csscoverage.dtd
@@ -0,0 +1,46 @@
+<!-- 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 CSS Coverage Report
+   - strings. See the 'csscoverage' command for more information, and
+   - browser/devtools/styleeditor/styleeditor.xul for context -->
+
+<!-- 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 (csscoverage.backButton):
+  -  Text on the button to go back to the main style editor -->
+<!ENTITY csscoverage.backButton "Retour">
+
+<!-- LOCALIZATION NOTE (csscoverage.unused, csscoverage.noMatches):
+  -  This is the heading and body text for the CSS usage part of the report -->
+<!ENTITY csscoverage.unused "Règles inutilisées">
+<!ENTITY csscoverage.noMatches "Aucune occurence pour les règles suivantes :">
+
+<!-- LOCALIZATION NOTE (csscoverage.optimize.header):
+  -  This is the heading for the CSS optimization part of the report -->
+<!ENTITY csscoverage.optimize.header "Pages optimisables">
+
+<!-- LOCALIZATION NOTE (csscoverage.preload1, csscoverage.preload2,
+  -  csscoverage.preload3): These 3 are part of a paragraph with 1 and 2
+  -  separated by a styled <link> tag and 2 and 3 separated by a styled
+  -  <style> tag -->
+<!ENTITY csscoverage.optimize.body1 "Vous pouvez parfois accélérer le chargement en déplaçant les balises">
+<!ENTITY csscoverage.optimize.body2 "en bas de page et en créant un nouvel élément">
+<!ENTITY csscoverage.optimize.body3 "embarqué contenant les styles nécessaires avant l'évènement « load » initial. Voici les blocs de style dont vous avez besoin :">
+
+<!-- LOCALIZATION NOTE (csscoverage.optimize.bodyX):
+  -  This is what we say when we have no optimization suggestions -->
+<!ENTITY csscoverage.optimize.bodyX "Toutes les règles sont des règles embarquées.">
+
+<!-- LOCALIZATION NOTE (csscoverage.footer1, csscoverage.footer2, csscoverage.footer3):
+  -  The text displayed at the bottom of the page, with 2 being the URL opened
+  -  when the link text in 3 is clicked -->
+<!ENTITY csscoverage.footer1 "Consulter">
+<!ENTITY csscoverage.footer2 "https://developer.mozilla.org/en-US/docs/Tools/CSS_Coverage">
+<!ENTITY csscoverage.footer3 "l'article MDN sur l'outil de couverture CSS">
+<!ENTITY csscoverage.footer4 "pour les avertissements contenus dans ce rapport.">
new file mode 100644
--- /dev/null
+++ b/toolkit/chrome/global/devtools/csscoverage.properties
@@ -0,0 +1,28 @@
+# 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 These strings are used in the 'csscoverage' command and in
+# the user interface that this command creates.
+
+# LOCALIZATION NOTE (csscoverageDesc, csscoverageStartDesc, csscoverageStopDesc,
+# csscoverageOneShotDesc, csscoverageToggleDesc, csscoverageReportDesc): Short
+# descriptions of the csscoverage commands
+csscoverageDesc=Contrôler l'analyse de couverture CSS
+csscoverageStartDesc=Lancer la collecte des données de l'analyse de couverture CSS
+csscoverageStopDesc=Arrêter la collecte des données de l'analyse de couverture CSS
+csscoverageOneShotDesc=Arrêter la collecte des données de l'analyse de couverture CSS
+csscoverageToggleDesc=Lancer/Arrêter la collecte des données de l'analyse de couverture CSS
+csscoverageReportDesc=Afficher le rapport de l'analyse de couverture CSS
+
+# LOCALIZATION NOTE (csscoverageRunningReply, csscoverageDoneReply): Text that
+# describes the current state of the css coverage system
+csscoverageRunningReply=Exécution de l'analyse de couverture CSS
+csscoverageDoneReply=Analyse de couverture CSS terminée
+
+# LOCALIZATION NOTE (csscoverageRunningError, csscoverageNotRunningError,
+# csscoverageNotRunError): Error message that describe things that can go wrong
+# with the css coverage system
+csscoverageRunningError=L'analyse de couverture CSS est déjà en cours d'exécution
+csscoverageNotRunningError=L'analyse de couverture CSS n'est pas en cours d'exécution
+csscoverageNotRunError=L'analyse de couverture CSS n'a pas été exécutée