EN locale: added comments for translators
This commit is contained in:
parent
30de539d65
commit
3e3591ab7e
|
@ -3,7 +3,7 @@ MathJax.Localization.addTranslation("en","HTML-CSS",{
|
|||
strings: {
|
||||
|
||||
LoadWebFont:
|
||||
"Loading web-font %1",
|
||||
"Loading web-font %1", // NOTE %1 is the name of a webfont file
|
||||
|
||||
CantLoadWebFont:
|
||||
"Can't load web font %1",
|
||||
|
|
|
@ -3,7 +3,7 @@ MathJax.Localization.addTranslation("en","HelpDialog",{
|
|||
strings: {
|
||||
|
||||
MathJax:
|
||||
"*MathJax* is a JavaScript library that allows page authors to include " +
|
||||
"*MathJax* is a JavaScript library that allows page authors to include " + //NOTE Markdown syntax *...*
|
||||
"mathematics within their web pages. As a reader, you don't need to do " +
|
||||
"anything to make that happen.",
|
||||
|
||||
|
@ -39,7 +39,7 @@ MathJax.Localization.addTranslation("en","HelpDialog",{
|
|||
"*Fonts*: MathJax will use certain math fonts if they are installed on your " +
|
||||
"computer; otherwise, it will use web-based fonts. Although not required, " +
|
||||
"locally installed fonts will speed up typesetting. We suggest installing " +
|
||||
"the [STIX fonts](%1)."
|
||||
"the [STIX fonts](%1)." //NOTE Markdown syntax for links. %1 is a URL to the STIX fonts
|
||||
|
||||
}
|
||||
});
|
||||
|
|
|
@ -2,7 +2,7 @@ MathJax.Localization.addTranslation("en","MathML",{
|
|||
isLoaded: true,
|
||||
strings: {
|
||||
|
||||
BadMglyph:
|
||||
BadMglyph: //NOTE refers to MathML's mglyph element.
|
||||
"Bad mglyph: %1",
|
||||
|
||||
BadMglyphFont:
|
||||
|
@ -29,7 +29,7 @@ MathJax.Localization.addTranslation("en","MathML",{
|
|||
"MathML equations will not be able to be processed by MathJax.",
|
||||
|
||||
UnknownNodeType:
|
||||
"Unknown node type: %1",
|
||||
"Unknown node type: %1", //NOTE refers to XML nodes
|
||||
|
||||
UnexpectedTextNode:
|
||||
"Unexpected text node: %1",
|
||||
|
|
|
@ -2,49 +2,49 @@ MathJax.Localization.addTranslation("en","MathMenu",{
|
|||
isLoaded: true,
|
||||
strings: {
|
||||
|
||||
Show: "Show Math As",
|
||||
MathMLcode: "MathML Code",
|
||||
OriginalMathML: "Original MathML",
|
||||
TeXCommands: "TeX Commands",
|
||||
AsciiMathInput: "AsciiMathML input",
|
||||
Original: "Original Form",
|
||||
ErrorMessage: "Error Message",
|
||||
texHints: "Show TeX hints in MathML",
|
||||
Settings: "Math Settings",
|
||||
ZoomTrigger: "Zoom Trigger",
|
||||
Show: "Show Math As", //NOTE MathJax uses 'Math' as a distinct UI choice. Please translate it literally whenever possible.
|
||||
MathMLcode: "MathML Code", // NOTE This menu item shows the MathML code that MathJax has produced internally (sanitized, indented etc)
|
||||
OriginalMathML: "Original MathML", // NOTE This menu item shows the MathML code if that was originally in the page source
|
||||
TeXCommands: "TeX Commands", // NOTE This menu item shows the TeX code if that was originally in the page source
|
||||
AsciiMathInput: "AsciiMathML input", // NOTE This menu item shows the asciimath code if that was originally in the page source
|
||||
Original: "Original Form", // NOTE This menu item shows the code that was originally in the page source but has no registered type. This can happen when extensions add new input formats but fail to provide an adequate format name.
|
||||
ErrorMessage: "Error Message", //NOTE This menu item shows the error message if MathJax fails to process the source
|
||||
texHints: "Show TeX hints in MathML", // NOTE This menu option adds comments to the code produced by 'MathMLCode'
|
||||
Settings: "Math Settings",
|
||||
ZoomTrigger: "Zoom Trigger", //NOTE This menu determines how MathJax's zoom is triggered
|
||||
Hover: "Hover",
|
||||
Click: "Click",
|
||||
DoubleClick: "Double-Click",
|
||||
NoZoom: "No Zoom",
|
||||
TriggerRequires: "Trigger Requires:",
|
||||
Option: "Option",
|
||||
TriggerRequires: "Trigger Requires:", //NOTE This menu item determines if the ZoomTrigger requires additional keys
|
||||
Option: "Option", //NOTE refers to Apple-style OPTION key
|
||||
Alt: "Alt",
|
||||
Command: "Command",
|
||||
Command: "Command", //NOTE This menu item Apple-style COMMAND key
|
||||
Control: "Control",
|
||||
Shift: "Shift",
|
||||
ZoomFactor: "Zoom Factor",
|
||||
Renderer: "Math Renderer",
|
||||
MPHandles: "Let MathPlayer Handle:",
|
||||
Renderer: "Math Renderer",//NOTE This menu changes the output extension used by MathJax
|
||||
MPHandles: "Let MathPlayer Handle:",//NOTE MathJax recognizes MathPlayer when present. This submenu deals with MathJax/MathPlayer interaction.
|
||||
MenuEvents: "Menu Events",
|
||||
MouseEvents: "Mouse Events",
|
||||
MenuAndMouse: "Mouse and Menu Events",
|
||||
FontPrefs: "Font Preferences",
|
||||
FontPrefs: "Font Preferences", //NOTE This menu item is mostly used for develoment purposes
|
||||
ForHTMLCSS: "For HTML-CSS:",
|
||||
Auto: "Auto",
|
||||
TeXLocal: "TeX (local)",
|
||||
TeXLocal: "TeX (local)", //NOTE 'TeX' refers to the MathJax fonts
|
||||
TeXWeb: "TeX (web)",
|
||||
TeXImage: "TeX (image)",
|
||||
STIXLocal: "STIX (local)",
|
||||
ContextMenu: "Contextual Menu",
|
||||
Browser: "Browser",
|
||||
Scale: "Scale All Math ...",
|
||||
Scale: "Scale All Math ...", //NOTE This menu item allows users to set a scaling factor for the MathJax output (relative to the surrounding content)
|
||||
Discoverable: "Highlight on Hover",
|
||||
Locale: "Language",
|
||||
LoadLocale: "Load from URL ...",
|
||||
About: "About MathJax",
|
||||
Help: "MathJax Help",
|
||||
|
||||
localTeXfonts: "using local TeX fonts",
|
||||
localTeXfonts: "using local TeX fonts", //NOTE This section deals with the 'About' overlay popup
|
||||
webTeXfonts: "using web TeX font",
|
||||
imagefonts: "using Image fonts",
|
||||
localSTIXfonts: "using local STIX fonts",
|
||||
|
@ -55,7 +55,7 @@ MathJax.Localization.addTranslation("en","MathMenu",{
|
|||
eotffonts: "eot fonts",
|
||||
svgfonts: "svg fonts",
|
||||
|
||||
WebkitNativeMMLWarning:
|
||||
WebkitNativeMMLWarning: //NOTE This section deals with warnings for when a user changes the rendering output via the MathJax menu but a browser does not support the chosen mechanism
|
||||
"Your browser doesn't seem to support MathML natively, " +
|
||||
"so switching to MathML output may cause the mathematics " +
|
||||
"on the page to become unreadable.",
|
||||
|
@ -97,7 +97,7 @@ MathJax.Localization.addTranslation("en","MathMenu",{
|
|||
"(Press OK to switch, CANCEL to continue with the current renderer)",
|
||||
|
||||
ScaleMath:
|
||||
"Scale all mathematics (compared to surrounding text) by",
|
||||
"Scale all mathematics (compared to surrounding text) by", //NOTE This section deals with 'MathJax menu-> Scale all math'
|
||||
|
||||
NonZeroScale:
|
||||
"The scale should not be zero",
|
||||
|
@ -105,7 +105,7 @@ MathJax.Localization.addTranslation("en","MathMenu",{
|
|||
PercentScale:
|
||||
"The scale should be a percentage (e.g., 120%%)",
|
||||
|
||||
IE8warning:
|
||||
IE8warning: //NOTE This section deals with MathPlayer hand-over
|
||||
"This will disable the MathJax menu and zoom features, " +
|
||||
"but you can Alt-Click on an expression to obtain the MathJax " +
|
||||
"menu instead.\n\nReally change the MathPlayer settings?",
|
||||
|
@ -115,10 +115,10 @@ MathJax.Localization.addTranslation("en","MathMenu",{
|
|||
"Alt-Click on an expression to obtain the MathJax menu instead.",
|
||||
|
||||
NoOriginalForm:
|
||||
"No original form available",
|
||||
"No original form available", //NOTE This refers to missing source formats when using 'MathJax Menu -> show math as"
|
||||
|
||||
Close:
|
||||
"Close",
|
||||
"Close", //NOTE for closing overlay popups like the 'MathJax Menu => about MathJax' box.
|
||||
|
||||
EqSource:
|
||||
"MathJax Equation Source"
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
MathJax.Localization.addTranslation("en","TeX",{
|
||||
MathJax.Localization.addTranslation("en","TeX",{ //NOTE use correct ISO name TODO autopopulate?
|
||||
isLoaded: true,
|
||||
strings: {
|
||||
|
||||
ExtraOpenMissingClose:
|
||||
"Extra open brace or missing close brace",
|
||||
"Extra open brace or missing close brace", //NOTE TeX commands use braces and brackets as delimiters
|
||||
|
||||
ExtraCloseMissingOpen:
|
||||
"Extra close brace or missing open brace",
|
||||
|
||||
MissingLeftExtraRight:
|
||||
"Missing \\left or extra \\right",
|
||||
"Missing \\left or extra \\right", //NOTE do not translate \\left and \\right, they are TeX commands
|
||||
|
||||
MissingScript:
|
||||
"Missing superscript or subscript argument",
|
||||
|
||||
ExtraLeftMissingRight:
|
||||
"Extra \\left or missing \\right",
|
||||
"Extra \\left or missing \\right", //NOTE do not translate \\left and \\right, they are TeX commands
|
||||
|
||||
Misplaced:
|
||||
"Misplaced %1",
|
||||
|
@ -27,72 +27,72 @@ MathJax.Localization.addTranslation("en","TeX",{
|
|||
"Missing open brace for superscript",
|
||||
|
||||
AmbiguousUseOf:
|
||||
"Ambiguous use of %1",
|
||||
"Ambiguous use of %1", //NOTE %1 will be a TeX command
|
||||
|
||||
EnvBadEnd:
|
||||
"\\begin{%1} ended with \\end{%2}",
|
||||
"\\begin{%1} ended with \\end{%2}", //NOTE do not translate \\begin{%1} and \\end{{%1}}, they are TeX commands
|
||||
|
||||
EnvMissingEnd:
|
||||
"Missing \\end{%1}",
|
||||
"Missing \\end{%1}", //NOTE do not translate \\end
|
||||
|
||||
MissingBoxFor:
|
||||
"Missing box for %1",
|
||||
"Missing box for %1", //NOTE refers to TeX boxes
|
||||
|
||||
MissingCloseBrace:
|
||||
"Missing close brace",
|
||||
|
||||
UndefinedControlSequence:
|
||||
"Undefined control sequence %1",
|
||||
"Undefined control sequence %1", //NOTE %1 will be a TeX command
|
||||
|
||||
DoubleExponent:
|
||||
"Double exponent: use braces to clarify",
|
||||
"Double exponent: use braces to clarify", // NOTE example: x^3^2 should be x^{3^2} or {x^3}^2
|
||||
|
||||
DoubleSubscripts:
|
||||
"Double subscripts: use braces to clarify",
|
||||
|
||||
DoubleExponentPrime:
|
||||
"Prime causes double exponent: use braces to clarify",
|
||||
"Prime causes double exponent: use braces to clarify", //NOTE example TODO
|
||||
|
||||
CantUseHash1:
|
||||
"You can't use 'macro parameter character #' in math mode",
|
||||
"You can't use 'macro parameter character #' in math mode", //NOTE '#' is used in TeX macros
|
||||
|
||||
MisplacedMiddle:
|
||||
"%1 must be within \\left and \\right",
|
||||
"%1 must be within \\left and \\right", //NOTE do not translate \\left and \\right, they are TeX commands
|
||||
|
||||
MisplacedLimits:
|
||||
"%1 is allowed only on operators",
|
||||
"%1 is allowed only on operators",
|
||||
|
||||
MisplacedMoveRoot:
|
||||
"%1 can appear only within a root",
|
||||
|
||||
MultipleCommand:
|
||||
"Multiple %1",
|
||||
"Multiple %1", //NOTE happens when a command or token can only be preset once
|
||||
|
||||
IntegerArg:
|
||||
"The argument to %1 must be an integer",
|
||||
|
||||
NotMathMLToken:
|
||||
"%1 is not a token element",
|
||||
"%1 is not a token element", //NOTE MathJax has a non-standard /mmltoken command to insert MathML token elements
|
||||
|
||||
InvalidMathMLAttr:
|
||||
"Invalid MathML attribute: %1",
|
||||
"Invalid MathML attribute: %1", //NOTE MathJax has non standard MathML and HTML related commands which can contain attributes
|
||||
|
||||
UnknownAttrForElement:
|
||||
"%1 is not a recognized attribute for %2",
|
||||
|
||||
MaxMacroSub1:
|
||||
"MathJax maximum macro substitution count exceeded; " +
|
||||
"MathJax maximum macro substitution count exceeded; " + //NOTE MathJax has a limited for iterating macros
|
||||
"is there a recursive macro call?",
|
||||
|
||||
MaxMacroSub2:
|
||||
"MathJax maximum substitution count exceeded; " +
|
||||
"MathJax maximum substitution count exceeded; " +//NOTE MathJax has a limited for iterating substitutions
|
||||
"is there a recursive latex environment?",
|
||||
|
||||
MissingArgFor:
|
||||
"Missing argument for %1",
|
||||
|
||||
ExtraAlignTab:
|
||||
"Extra alignment tab in \\cases text",
|
||||
"Extra alignment tab in \\cases text", //NOTE do not translate //cases
|
||||
|
||||
BracketMustBeDimension:
|
||||
"Bracket argument to %1 must be a dimension",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MathJax.Localization.addTranslation("en",null,{
|
||||
menuTitle: "English",
|
||||
MathJax.Localization.addTranslation("en",null,{ // NOTE use correct ISO-639-1 two letter code http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
menuTitle: "English", // NOTE language name; will appear in the MathJax submenu for switching locales
|
||||
isLoaded: true,
|
||||
domains: {
|
||||
"_": {
|
||||
|
@ -12,27 +12,27 @@ MathJax.Localization.addTranslation("en",null,{
|
|||
"(You should press Cancel unless you set up the cookie yourself.)",
|
||||
|
||||
MathProcessingError:
|
||||
"Math Processing Error",
|
||||
"Math Processing Error", // NOTE: MathJax uses 'Math' as a distinct UI choice. Please translate it literally whenever possible.
|
||||
|
||||
MathError:
|
||||
"Math Error",
|
||||
"Math Error", // generic error message
|
||||
|
||||
LoadFile: "Loading %1",
|
||||
LoadFile: "Loading %1",
|
||||
|
||||
Loading: "Loading",
|
||||
Loading: "Loading", // NOTE followed by growing sequence of dots
|
||||
|
||||
LoadFailed: "File failed to load: %1",
|
||||
|
||||
ProcessMath: "Processing Math: %1%%",
|
||||
ProcessMath: "Processing Math: %1%%", //NOTE appears during the conversion process from an input format (e.g., LaTeX, asciimath) to MathJax's internal format
|
||||
|
||||
Processing: "Processing",
|
||||
Processing: "Processing", //NOTE followed by growing sequence of dots
|
||||
|
||||
TypesetMath: "Typesetting Math: %1%%",
|
||||
TypesetMath: "Typesetting Math: %1%%",//NOTE appears during the layout process of converting the internal format to the output format
|
||||
|
||||
Typesetting: "Typesetting",
|
||||
Typesetting: "Typesetting", //NOTE followed by growing sequence of dots
|
||||
|
||||
MathJaxNotSupported:
|
||||
"Your browser does not support MathJax"
|
||||
"Your browser does not support MathJax" //NOTE will load when MathJax determines the browser does not have adequate features
|
||||
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user