Bug 553917 - Add new mathml.properties bundle with error messages for MathML error logging. r=Pike

This commit is contained in:
rfw2nd@gmail.com 2012-12-27 11:12:06 -05:00
parent 394d5e66e0
commit c62e775b20
4 changed files with 19 additions and 1 deletions

View File

@ -765,6 +765,7 @@ public:
eSVG_PROPERTIES,
eBRAND_PROPERTIES,
eCOMMON_DIALOG_PROPERTIES,
eMATHML_PROPERTIES,
PropertiesFile_COUNT
};
static nsresult ReportToConsole(uint32_t aErrorFlags,

View File

@ -3109,7 +3109,8 @@ static const char gPropertiesFiles[nsContentUtils::PropertiesFile_COUNT][56] = {
"chrome://global/locale/layout/htmlparser.properties",
"chrome://global/locale/svg/svg.properties",
"chrome://branding/locale/brand.properties",
"chrome://global/locale/commonDialogs.properties"
"chrome://global/locale/commonDialogs.properties",
"chrome://global/locale/mathml/mathml.properties"
};
/* static */ nsresult

View File

@ -0,0 +1,15 @@
# 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/.
ChildCountIncorrect=Invalid markup: Incorrect number of children for <%1$S/> tag.
DuplicateMprescripts=Invalid markup: More than one <mprescripts/> in <mmultiscripts/>.
NoSubSup=Invalid markup: Expected at least one subscript/superscript pair in <mmultiscripts/>. Found none.
SubSupMismatch=Invalid markup: Incomplete subscript/superscript pair in <mmultiscripts/>.
# LOCALIZATION NOTE: When localizing the single quotes ('), follow the conventions in css.properties for your target locale.
AttributeParsingError=Error in parsing the value '%1$S' for '%2$S' attribute of <%3$S/>. Attribute ignored.
AttributeParsingErrorNoTag=Error in parsing the value '%1$S' for '%2$S' attribute. Attribute ignored.
LengthParsingError=Error in parsing MathML attribute value '%1$S' as length. Attribute ignored.
DeprecatedSupersededBy='%1$S' is deprecated in MathML 3, superseded by '%2$S'.
UnitlessValuesAreDeprecated=Unitless values are deprecated in MathML 3.

View File

@ -32,3 +32,4 @@
locale/@AB_CD@/global-platform/mac/accessible.properties (%chrome/accessibility/mac/accessible.properties)
locale/@AB_CD@/global-platform/unix/accessible.properties (%chrome/accessibility/unix/accessible.properties)
locale/@AB_CD@/global/AccessFu.properties (%chrome/accessibility/AccessFu.properties)
locale/@AB_CD@/global/mathml/mathml.properties (%chrome/mathml/mathml.properties)