Localize the number in the "more languages" message
Change-Id: I11c88423b048f31c8a6fc9be1af63e32835717b4
This commit is contained in:
committed by
Santhosh Thottingal
parent
9896aebce8
commit
7c5b750700
@@ -155,6 +155,7 @@ $wgResourceModules['ext.uls.compactlinks'] = array(
|
||||
'ext.uls.mediawiki',
|
||||
'ext.uls.init',
|
||||
'jquery.uls.compact',
|
||||
'mediawiki.language',
|
||||
'mediawiki.ui.button',
|
||||
),
|
||||
) + $resourcePaths;
|
||||
|
||||
@@ -271,7 +271,10 @@
|
||||
|
||||
$triggerLabel = $( '<label>' )
|
||||
.attr( 'id', 'more-lang-label' )
|
||||
.text( $.i18n( 'ext-uls-compact-link-count', this.listSize - this.compactSize ) );
|
||||
.text( $.i18n(
|
||||
'ext-uls-compact-link-count',
|
||||
mw.language.convertNumber( this.listSize - this.compactSize )
|
||||
) );
|
||||
|
||||
this.$interlanguageList.append( $trigger, $triggerLabel );
|
||||
this.$trigger = $trigger;
|
||||
|
||||
Reference in New Issue
Block a user