diff --git a/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js b/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js index de4910532a..770f7f0925 100644 --- a/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js +++ b/modules/ve-mw/ui/pages/ve.ui.MWParameterPage.js @@ -61,7 +61,7 @@ ve.ui.MWParameterPage = function VeUiMWParameterPage( parameter, name, config ) if ( this.parameter.isRequired() ) { this.statusIndicator .setIndicator( 'required' ) - .setIndicatorTitle( + .setTitle( ve.msg( 'visualeditor-dialog-transclusion-required-parameter' ) ); this.$description.append( @@ -74,7 +74,7 @@ ve.ui.MWParameterPage = function VeUiMWParameterPage( parameter, name, config ) } else if ( this.parameter.isDeprecated() ) { this.statusIndicator .setIndicator( 'alert' ) - .setIndicatorTitle( + .setTitle( ve.msg( 'visualeditor-dialog-transclusion-deprecated-parameter' ) ); this.$description.append( @@ -377,14 +377,14 @@ ve.ui.MWParameterPage.prototype.setOutlineItem = function () { if ( this.parameter.isRequired() ) { this.outlineItem .setIndicator( 'required' ) - .setIndicatorTitle( + .setTitle( ve.msg( 'visualeditor-dialog-transclusion-required-parameter' ) ); } if ( this.parameter.isDeprecated() ) { this.outlineItem .setIndicator( 'alert' ) - .setIndicatorTitle( + .setTitle( ve.msg( 'visualeditor-dialog-transclusion-deprecated-parameter' ) ); }