Per r104454#c26637, it's possible to use a localized number in PLURAL

This commit is contained in:
Robin Pepermans 2011-11-28 16:52:50 +00:00
parent 21da2d00f6
commit 1b8b66610a
2 changed files with 4 additions and 4 deletions

View file

@ -182,7 +182,7 @@ class ContributionScores extends IncludableSpecialPage {
}
if ( $days > 0 ) {
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $days, $wgLang->formatNum( $days ) );
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
} else {
$reportTitle = wfMsg( 'contributionscores-allrevisions' );
}
@ -211,7 +211,7 @@ class ContributionScores extends IncludableSpecialPage {
$days = $scoreReport[0];
$revs = $scoreReport[1];
if ( $days > 0 ) {
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $days, $wgLang->formatNum( $days ) );
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
} else {
$reportTitle = wfMsg( 'contributionscores-allrevisions' );
}