r96780 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96779‎ | r96780 | r96781 >
Date:14:39, 11 September 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
Follow up to r96763; fixed i18n issues
Modified paths:
  • /trunk/extensions/Survey/Survey.i18n.php (modified) (history)
  • /trunk/extensions/Survey/specials/SpecialSurveyStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Survey/Survey.i18n.php
@@ -92,7 +92,7 @@
9393 'surveys-surveystats-question-text' => 'Question text',
9494 'surveys-surveystats-question-answercount' => 'Number of answers',
9595 'surveys-surveystats-question-answers' => 'Most provided answers',
96 - 'surveys-surveystats-question-answer' => '$1 ($2 {{PLURAL:$3|answer|answers}})',
 96+ 'surveys-surveystats-question-answer' => '$1 ($2 {{PLURAL:$2|answer|answers}})',
9797
9898 // Special:Survey
9999 'surveys-special-unknown-name' => 'There is no survey with the requested name.',
@@ -119,3 +119,10 @@
120120 'survey-jquery-finish' => 'Finish',
121121 'survey-jquery-load-failed' => 'Could not load the survey.',
122122 );
 123+
 124+/** Message docs
 125+ * @author Jeroen De Dauw
 126+ */
 127+$messages['qqq'] = array(
 128+ 'surveys-surveystats-question-answer' => 'Header for a column listing the amount of answers per question',
 129+);
Index: trunk/extensions/Survey/specials/SpecialSurveyStats.php
@@ -246,8 +246,7 @@
247247 'surveys-surveystats-question-answer',
248248 'parsemag',
249249 $answer,
250 - $GLOBALS['wgLang']->formatNum( $answerCount ),
251 - $answerCount
 250+ $GLOBALS['wgLang']->formatNum( $answerCount )
252251 )
253252 );
254253 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96763work on special:surveystatsjeroendedauw00:16, 11 September 2011

Status & tagging log