Index: trunk/extensions/Translate/MediaWikiMessageChecker.php |
— | — | @@ -236,8 +236,7 @@ |
237 | 237 | 'translate-checks-format', |
238 | 238 | wfMessage( |
239 | 239 | 'translate-checks-malformed', |
240 | | - $defArray, |
241 | | - $i |
| 240 | + $defArray[$i] |
242 | 241 | )->text() |
243 | 242 | ); |
244 | 243 | continue; |
Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -147,7 +147,7 @@ |
148 | 148 | 'translate-checks-format' => 'This translation does not follow the definition or has invalid syntax: $1', |
149 | 149 | 'translate-checks-escape' => 'The following escapes may be accidental: <strong>$1</strong>', |
150 | 150 | 'translate-checks-parametersnotequal' => 'Parameter count is {{PLURAL:$1|$1}}; should be {{PLURAL:$2|$2}}.', |
151 | | - 'translate-checks-malformed' => '<nowiki>$1[$2]</nowiki> is malformed.', |
| 151 | + 'translate-checks-malformed' => '<nowiki>$1</nowiki> is malformed.', |
152 | 152 | 'translate-checks-fudforum-syntax' => 'Use <nowiki>$1</nowiki> instead of <nowiki>$2</nowiki> in this project.', |
153 | 153 | |
154 | 154 | 'translate-pref-nonewsletter' => 'Do not send me e-mail newsletters', |