Santhosh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/87675


Change subject: Number format the translation and proofread stats of user
......................................................................

Number format the translation and proofread stats of user

Change-Id: Icca878d9b01f8e6b228ffdff6f9bc7412a5608c9
---
M specials/SpecialTwnMainPage.php
1 file changed, 6 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwnMainPage 
refs/changes/75/87675/1

diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index accc93b..43a1726 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -621,7 +621,9 @@
                $translators = count( $stats );
                foreach ( $stats as $user => $count ) {
                        if ( $user === $myuser ) {
-                               $out .= Html::element( 'div', array( 'class' => 
'count' ), $count );
+                               $out .= Html::element( 'div', array(
+                                               'class' => 'count'
+                                       ), $this->getLanguage()->formatNum( 
$count ) );
                                $out .= Html::element(
                                        'div',
                                        array( 'class' => 'count-description' ),
@@ -662,7 +664,9 @@
                $translators = count( $stats );
                foreach ( $stats as $user => $count ) {
                        if ( $user === $myuser ) {
-                               $out .= Html::element( 'div', array( 'class' => 
'count' ), $count );
+                               $out .= Html::element( 'div', array(
+                                               'class' => 'count'
+                                       ), $this->getLanguage()->formatNum( 
$count ) );
                                $out .= Html::element(
                                        'div',
                                        array( 'class' => 'count-description' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/87675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icca878d9b01f8e6b228ffdff6f9bc7412a5608c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to