Use mw.msg rather than jquery.i18n
No need to use jquery.i18n here, and avoids going through html Task: T122341 Change-Id: Ib04011b8c672cd50c02a73791257650fa3dfc1dd
This commit is contained in:
committed by
Nikerabbit
parent
aca1545513
commit
d2ef6405cb
@@ -326,7 +326,7 @@
|
|||||||
|
|
||||||
$trigger = $( '<button>' )
|
$trigger = $( '<button>' )
|
||||||
.addClass( 'mw-interlanguage-selector mw-ui-button' )
|
.addClass( 'mw-interlanguage-selector mw-ui-button' )
|
||||||
.html( $.i18n(
|
.text( mw.msg(
|
||||||
'ext-uls-compact-link-count',
|
'ext-uls-compact-link-count',
|
||||||
mw.language.convertNumber( this.listSize - this.compactSize )
|
mw.language.convertNumber( this.listSize - this.compactSize )
|
||||||
) );
|
) );
|
||||||
|
|||||||
Reference in New Issue
Block a user