mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 02:38:40 +00:00
Merge "Change header titles in the template dialog"
This commit is contained in:
commit
fa94c27a8d
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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.",
|
||||
|
|
|
@ -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' );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue