Commit d24b65d2 authored by Ostrzyciel nożyczek's avatar Ostrzyciel nożyczek

Revert "parse some messages instead of just spitting out text"

This reverts commit eab11343.
parent eab11343
......@@ -41,7 +41,7 @@
// copyright holder
this.authorInput = new OO.ui.TextInputWidget( {
name: 'author',
title: mw.message( 'mwe-upwiz-tooltip-sign' ).parse(),
title: mw.message( 'mwe-upwiz-tooltip-sign' ).text(),
value: prefAuthName,
classes: [ 'mwe-upwiz-sign' ]
} );
......@@ -70,7 +70,7 @@
if ( this.threeDCount > 0 ) {
this.patentAuthorInput = new OO.ui.TextInputWidget( {
name: 'patent-author',
title: mw.message( 'mwe-upwiz-tooltip-sign' ).parse(),
title: mw.message( 'mwe-upwiz-tooltip-sign' ).text(),
value: prefAuthName,
classes: [ 'mwe-upwiz-sign' ]
} );
......
......@@ -62,8 +62,8 @@
return $.Deferred().resolve( [] ).promise();
};
this.sourceInputField = new uw.FieldLayout( this.sourceInput, {
label: mw.message( 'mwe-upwiz-source' ).parse(),
help: mw.message( 'mwe-upwiz-tooltip-source' ).parse(),
label: mw.message( 'mwe-upwiz-source' ).text(),
help: mw.message( 'mwe-upwiz-tooltip-source' ).text(),
required: true
} );
......@@ -96,8 +96,8 @@
return $.Deferred().resolve( [] ).promise();
};
this.authorInputField = new uw.FieldLayout( this.authorInput, {
label: mw.message( 'mwe-upwiz-author' ).parse(),
help: mw.message( 'mwe-upwiz-tooltip-author' ).parse(),
label: mw.message( 'mwe-upwiz-author' ).text(),
help: mw.message( 'mwe-upwiz-tooltip-author' ).text(),
required: true
} );
......@@ -109,7 +109,7 @@
this.licenseInput.$element.addClass( 'mwe-upwiz-deed-license-groups' );
this.licenseInput.setDefaultValues();
this.licenseInputField = new uw.FieldLayout( this.licenseInput, {
label: mw.message( 'mwe-upwiz-source-thirdparty-cases', this.uploadCount ).parse(),
label: mw.message( 'mwe-upwiz-source-thirdparty-cases', this.uploadCount ).text(),
required: true
} );
......
......@@ -41,24 +41,24 @@
.attr( 'id', 'mwe-upwiz-details-warning-count' );
this.nextButton = new OO.ui.ButtonWidget( {
label: mw.message( 'mwe-upwiz-publish-details' ).parse(),
label: mw.message( 'mwe-upwiz-publish-details' ).text(),
flags: [ 'progressive', 'primary' ]
} ).on( 'click', startDetails );
this.nextButtonDespiteFailures = new OO.ui.ButtonWidget( {
label: mw.message( 'mwe-upwiz-next-file-despite-failures' ).parse(),
label: mw.message( 'mwe-upwiz-next-file-despite-failures' ).text(),
flags: [ 'progressive' ]
} ).on( 'click', function () {
details.emit( 'finalize-details-after-removal' );
} );
this.retryButtonSomeFailed = new OO.ui.ButtonWidget( {
label: mw.message( 'mwe-upwiz-file-retry' ).parse(),
label: mw.message( 'mwe-upwiz-file-retry' ).text(),
flags: [ 'progressive', 'primary' ]
} ).on( 'click', startDetails );
this.retryButtonAllFailed = new OO.ui.ButtonWidget( {
label: mw.message( 'mwe-upwiz-file-retry' ).parse(),
label: mw.message( 'mwe-upwiz-file-retry' ).text(),
flags: [ 'progressive', 'primary' ]
} ).on( 'click', startDetails );
......@@ -116,7 +116,7 @@
new OO.ui.HorizontalLayout( {
items: [
new OO.ui.LabelWidget( {
label: mw.message( 'mwe-upwiz-file-some-failed' ).parse()
label: mw.message( 'mwe-upwiz-file-some-failed' ).text()
} ),
ui.nextButtonDespiteFailures,
ui.retryButtonSomeFailed
......@@ -132,7 +132,7 @@
new OO.ui.HorizontalLayout( {
items: [
new OO.ui.LabelWidget( {
label: mw.message( 'mwe-upwiz-file-all-failed' ).parse()
label: mw.message( 'mwe-upwiz-file-all-failed' ).text()
} ),
ui.retryButtonAllFailed
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment