Merge "Change header titles in the template dialog"

This commit is contained in:
jenkins-bot 2021-06-02 09:05:04 +00:00 committed by Gerrit Code Review
commit fa94c27a8d
4 changed files with 4 additions and 1 deletions

View file

@ -2177,6 +2177,7 @@
"redirectedfrom",
"templatedata-doc-subpage",
"visualeditor-changedesc-mwtransclusion",
"visualeditor-dialog-template-insert",
"visualeditor-dialog-template-title",
"visualeditor-dialog-transclusion-add-content",
"visualeditor-dialog-transclusion-add-param",

View file

@ -167,6 +167,7 @@
"visualeditor-dialog-table-collapsible": "Collapsible",
"visualeditor-dialog-table-sortable": "Sortable",
"visualeditor-dialog-table-wikitable": "Styled (wikitable)",
"visualeditor-dialog-template-insert": "Insert a template",
"visualeditor-dialog-template-title": "Template",
"visualeditor-dialog-transclusion-absent-template": "The \"$1\" template doesn't yet exist.",
"visualeditor-dialog-transclusion-add-content": "Add content",

View file

@ -185,6 +185,7 @@
"visualeditor-dialog-table-collapsible": "Label for toggle to make a table collapsible\n{{Identical|Collapsible}}",
"visualeditor-dialog-table-sortable": "Label for toggle to make a table sortable",
"visualeditor-dialog-table-wikitable": "Label for toggle to make a table a wikitable",
"visualeditor-dialog-template-insert": "Title for the template dialog to insert a new template.",
"visualeditor-dialog-template-title": "{{Identical|Template}}",
"visualeditor-dialog-transclusion-absent-template": "Message to user that the template they have selected does not exist on this wiki.\n\nParameters:\n* $1 - the title of the template",
"visualeditor-dialog-transclusion-add-content": "Label for button that adds parameter content to a transclusion.",

View file

@ -285,7 +285,7 @@ ve.ui.MWTemplateDialog.prototype.getPageFromPart = function ( part ) {
*/
ve.ui.MWTemplateDialog.prototype.getTemplatePartLabel = function ( part ) {
return part instanceof ve.dm.MWTemplateModel ?
part.getSpec().getLabel() : ve.msg( 'visualeditor-dialog-transclusion-placeholder' );
part.getSpec().getLabel() : ve.msg( 'visualeditor-dialog-template-insert' );
};
/**