Merge "i18n: Native digits on 'visualeditor-editnotices-tool'"

This commit is contained in:
jenkins-bot 2016-10-08 21:00:34 +00:00 committed by Gerrit Code Review
commit d6baaf3ba2

View file

@ -43,7 +43,10 @@ ve.ui.MWNoticesPopupTool = function VeUiMWNoticesPopupTool( toolGroup, config )
var tool = this,
items = toolGroup.getToolbar().getTarget().getEditNotices(),
count = items.length,
title = ve.msg( 'visualeditor-editnotices-tool', count );
title = ve.msg(
'visualeditor-editnotices-tool',
mw.language.convertNumber( count )
);
// Parent constructor
ve.ui.MWNoticesPopupTool.super.call( this, title, toolGroup, config );