Merge "TemplateDialog: separate “Add template” messages"

This commit is contained in:
jenkins-bot 2022-12-28 23:46:27 +00:00 committed by Gerrit Code Review
commit d411175cd8
4 changed files with 5 additions and 2 deletions

View file

@ -2209,6 +2209,7 @@
"visualeditor-dialog-transclusion-add-param-placeholder",
"visualeditor-dialog-transclusion-add-param-save",
"visualeditor-dialog-transclusion-add-template",
"visualeditor-dialog-transclusion-add-template-button",
"visualeditor-dialog-transclusion-add-template-save",
"visualeditor-dialog-transclusion-add-undocumented-param",
"visualeditor-dialog-transclusion-add-wikitext",

View file

@ -172,6 +172,7 @@
"visualeditor-dialog-transclusion-add-param-placeholder": "Parameter name",
"visualeditor-dialog-transclusion-add-param-save": "Add",
"visualeditor-dialog-transclusion-add-template": "Add template",
"visualeditor-dialog-transclusion-add-template-button": "Add template",
"visualeditor-dialog-transclusion-add-template-save": "Add",
"visualeditor-dialog-transclusion-add-undocumented-param": "Add undocumented parameter",
"visualeditor-dialog-transclusion-back-confirmation-prompt": "Go back to search? Your changes will be lost, and this cannot be undone.",

View file

@ -192,7 +192,8 @@
"visualeditor-dialog-transclusion-add-param-help": "Help text for new undocumented parameter input field.\n\nParameters:\n* $1 - The title of the template.",
"visualeditor-dialog-transclusion-add-param-placeholder": "Placeholder in the input field that adds a new undocumented parameter to a transcluded template.",
"visualeditor-dialog-transclusion-add-param-save": "Short label for save button that adds a new undocumented parameter to a transcluded template.",
"visualeditor-dialog-transclusion-add-template": "Heading to add the specified template to the page.",
"visualeditor-dialog-transclusion-add-template": "Heading of the section which allows to add another template to the page.",
"visualeditor-dialog-transclusion-add-template-button": "Extensive label for icon button that allows to add another template to the page. This is a title attribute, so it cannot contain any formatting.",
"visualeditor-dialog-transclusion-add-template-save": "Short label for button that adds the specified template to the page.",
"visualeditor-dialog-transclusion-add-undocumented-param": "Label for button that adds a new undocumented parameter to a transcluded template.",
"visualeditor-dialog-transclusion-back-confirmation-prompt": "Confirmation prompt for abandoning unsaved changes in an insert template dialog.",

View file

@ -23,7 +23,7 @@ ve.ui.MWTransclusionOutlineControlsWidget = function OoUiOutlineControlsWidget()
this.addTemplateButton = new OO.ui.ButtonWidget( {
framed: false,
icon: 'puzzle',
title: ve.msg( 'visualeditor-dialog-transclusion-add-template' )
title: ve.msg( 'visualeditor-dialog-transclusion-add-template-button' )
} );
this.addWikitextButton = new OO.ui.ButtonWidget( {
framed: false,