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.mediawiki',
|
||||||
'ext.uls.init',
|
'ext.uls.init',
|
||||||
'jquery.uls.compact',
|
'jquery.uls.compact',
|
||||||
|
'mediawiki.language',
|
||||||
'mediawiki.ui.button',
|
'mediawiki.ui.button',
|
||||||
),
|
),
|
||||||
) + $resourcePaths;
|
) + $resourcePaths;
|
||||||
|
|||||||
@@ -271,7 +271,10 @@
|
|||||||
|
|
||||||
$triggerLabel = $( '<label>' )
|
$triggerLabel = $( '<label>' )
|
||||||
.attr( 'id', 'more-lang-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.$interlanguageList.append( $trigger, $triggerLabel );
|
||||||
this.$trigger = $trigger;
|
this.$trigger = $trigger;
|
||||||
|
|||||||
Reference in New Issue
Block a user