Merge "Plural support for MathStatus page"
This commit is contained in:
commit
70835e227d
|
@ -28,8 +28,9 @@ class SpecialMathStatus extends SpecialPage {
|
|||
}
|
||||
|
||||
$out = $this->getOutput();
|
||||
$out->addWikiMsg( 'math-status-introduction' );
|
||||
$enabledMathModes = MathHooks::getMathNames();
|
||||
$out->addWikiMsg( 'math-status-introduction', count( $enabledMathModes ) );
|
||||
|
||||
foreach ( $enabledMathModes as $modeNr => $modeName ){
|
||||
$out->addWikiText( "=== $modeName ===" );
|
||||
switch( $modeNr ){
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"math_notexvc": "Missing <code>texvc</code> executable. Please see math/README to configure.",
|
||||
"math_output_error": "Cannot store math image on filesystem.",
|
||||
"math_sample": "Insert formula here",
|
||||
"math-status-introduction" : "This page displays information about the enabled math rendering modes.\n\nThe following rendering mode is/rendering modes are enabled.",
|
||||
"math-status-introduction" : "This page displays information about the enabled math rendering modes.\n\nThe following rendering {{PLURAL:$1|mode is|modes are}} enabled:",
|
||||
"math_syntax_error": "syntax error",
|
||||
"math_timeout": "$1 timeout from \"$2\".",
|
||||
"math-test-end": "Backend tests for rendering mode ''$1'' completed.",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"math_notexvc": "Used as error message.\n\nThis message follows the message {{msg-mw|Math failure}}.\n\nSee also:\n* {{msg-mw|Math notexvccheck}}",
|
||||
"math_output_error": "Used as error message if the texvc output file could not be stored.\n\nThis message follows the message {{msg-mw|Math failure}}.",
|
||||
"math_sample": "The sample formula text that you get when you press the fourth button from the right on the edit toolbar.",
|
||||
"math-status-introduction": "Used as special-page text.",
|
||||
"math-status-introduction": "Used as special-page text.\n\nParameters:\n* $1 mode count",
|
||||
"math_syntax_error": "Used as error message for a texvc syntax error.\n\nThis message follows the message {{msg-mw|Math failure}}.\n{{Identical|Syntax error}}",
|
||||
"math_timeout": "Used as error message.\n\nParameters:\n* $1 - rendering type (either LaTeXML or Mathoid)\n* $2 - hostname or URL",
|
||||
"math-test-end": "Used as special-page text.\n\nParameters:\n* $1 rendering mode",
|
||||
|
|
Loading…
Reference in New Issue