jenkins-bot has submitted this change and it was merged. Change subject: Numbers shown in poll statistics should be localized ......................................................................
Numbers shown in poll statistics should be localized Bug: T145542 Change-Id: I371ac0f6d8c4e7ad39573ea497804714336c164c --- M includes/pages/ListPage.php 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/pages/ListPage.php b/includes/pages/ListPage.php index 44b9ed8..94ec292 100644 --- a/includes/pages/ListPage.php +++ b/includes/pages/ListPage.php @@ -79,9 +79,10 @@ $struck_votes = $res->result->num_rows; $out->addHTML('<div id="mw-poll-stats"><p>' . - $this->msg( 'securepoll-voter-stats', $distinct_voters ) . + $this->msg( 'securepoll-voter-stats')->numParams( $distinct_voters ) . '</p><p>' . - $this->msg( 'securepoll-vote-stats', $all_votes, $not_current_votes, $struck_votes ) . + $this->msg( 'securepoll-vote-stats') + ->numParams( $all_votes, $not_current_votes, $struck_votes ) . '</p></div>'); $pager = new SecurePoll_ListPager( $this ); -- To view, visit https://gerrit.wikimedia.org/r/311128 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I371ac0f6d8c4e7ad39573ea497804714336c164c Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/extensions/SecurePoll Gerrit-Branch: master Gerrit-Owner: Huji <huji.h...@gmail.com> Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Glaisher <glaisher.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits