mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
ExportWikitextDialog: Add help text
Change-Id: I5508c167aa8119eb86356858fc0eedf69cc093bf
This commit is contained in:
parent
a9d7884d3b
commit
ec872093aa
|
@ -531,6 +531,7 @@
|
|||
"visualeditor-rebase-client-export",
|
||||
"visualeditor-rebase-client-export-start",
|
||||
"visualeditor-rebase-client-import-name",
|
||||
"visualeditor-rebase-client-title-help",
|
||||
"visualeditor-savedialog-review-wikitext"
|
||||
],
|
||||
"targets": [
|
||||
|
|
|
@ -365,6 +365,7 @@
|
|||
"visualeditor-rebase-client-export-start": "Export…",
|
||||
"visualeditor-rebase-client-import": "Import",
|
||||
"visualeditor-rebase-client-import-name": "Page title",
|
||||
"visualeditor-rebase-client-title-help": "You will be able to review changes before saving.",
|
||||
"visualeditor-recreate": "The page has been deleted since you started editing. Press \"$1\" to recreate it.",
|
||||
"visualeditor-redirect-description": "Redirect to $1",
|
||||
"visualeditor-savedialog-error-badtoken": "We could not save your edit because the session was no longer valid.",
|
||||
|
|
|
@ -383,6 +383,7 @@
|
|||
"visualeditor-rebase-client-export-start": "Label for button to start a process to export a document\n\nSee also:\n* {{msg-mw|visualeditor-rebase-client-export}}",
|
||||
"visualeditor-rebase-client-import": "Label for button to import a document from the wiki",
|
||||
"visualeditor-rebase-client-import-name": "Label import document input",
|
||||
"visualeditor-rebase-client-title-help": "Help text shown with the export to title field.",
|
||||
"visualeditor-recreate": "Text shown when the editor fails to save the page due to it having been deleted since they opened VE. $1 is the message {{msg-mw|ooui-dialog-process-continue}}.",
|
||||
"visualeditor-redirect-description": "Title shown as the description of redirect nodes.\n\nParameters:\n* $1 - Target title of redirect",
|
||||
"visualeditor-savedialog-error-badtoken": "Error displayed in the save dialog if saving the edit failed due to an invalid edit token (likely due to the user having logged out in a separate window, or logged in again)",
|
||||
|
|
|
@ -60,7 +60,9 @@ ve.ui.MWExportWikitextDialog.prototype.initialize = function () {
|
|||
} );
|
||||
this.titleField = new OO.ui.ActionFieldLayout( this.titleInput, this.titleButton, {
|
||||
align: 'top',
|
||||
label: ve.msg( 'visualeditor-rebase-client-import-name' )
|
||||
label: ve.msg( 'visualeditor-rebase-client-import-name' ),
|
||||
help: ve.msg( 'visualeditor-rebase-client-title-help' ),
|
||||
helpInline: true
|
||||
} );
|
||||
|
||||
this.titleButton.on( 'click', this.export.bind( this ) );
|
||||
|
|
Loading…
Reference in a new issue