diff --git a/extension.json b/extension.json index 6f9cb0370b..e4c7caabd0 100644 --- a/extension.json +++ b/extension.json @@ -2245,6 +2245,7 @@ "visualeditor-dialog-transclusion-reset-confirmation-cancel", "visualeditor-dialog-transclusion-reset-confirmation-reset", "visualeditor-dialog-transclusion-feedback-message", + "visualeditor-dialog-transclusion-wikitext", "visualeditor-dialogbutton-template-tooltip", "visualeditor-dialogbutton-transclusion-tooltip", "visualeditor-dismissible-message-close", diff --git a/i18n/ve-mw/en.json b/i18n/ve-mw/en.json index 8496077d95..e26a848c3c 100644 --- a/i18n/ve-mw/en.json +++ b/i18n/ve-mw/en.json @@ -217,6 +217,7 @@ "visualeditor-dialog-transclusion-reset-confirmation-cancel": "Continue editing", "visualeditor-dialog-transclusion-reset-confirmation-reset": "Remove template", "visualeditor-dialog-transclusion-feedback-message": "Recent work was completed to improve template search results. To learn more about the changes or leave feedback, go to the [//meta.wikimedia.org/wiki/WMDE_Technical_Wishes/Finding_and_inserting_templates project’s page].", + "visualeditor-dialog-transclusion-wikitext": "Wikitext", "visualeditor-dialogbutton-media-tooltip": "Images and media", "visualeditor-dialogbutton-meta-tooltip": "Page settings", "visualeditor-dialogbutton-template-tooltip": "Template", diff --git a/i18n/ve-mw/qqq.json b/i18n/ve-mw/qqq.json index 891e554036..b259d0062f 100644 --- a/i18n/ve-mw/qqq.json +++ b/i18n/ve-mw/qqq.json @@ -235,6 +235,7 @@ "visualeditor-dialog-transclusion-reset-confirmation-cancel": "Label for the button which lets you continue editing and aborts resetting the transclusion dialog.", "visualeditor-dialog-transclusion-reset-confirmation-reset": "Label for the button which confirms the intent to reset the transclusion dialog.", "visualeditor-dialog-transclusion-feedback-message": "Text for the feedback message to inform users about template search improvements with a link to the project page.", + "visualeditor-dialog-transclusion-wikitext": "Label for editor of wikitext content between transclusion parts.", "visualeditor-dialogbutton-media-tooltip": "Tooltip for adding images and media on page", "visualeditor-dialogbutton-meta-tooltip": "{{Identical|Page settings}}", "visualeditor-dialogbutton-template-tooltip": "{{Identical|Template}}", diff --git a/modules/ve-mw/ui/pages/ve.ui.MWTransclusionContentPage.js b/modules/ve-mw/ui/pages/ve.ui.MWTransclusionContentPage.js index 178169363d..0061ddc26b 100644 --- a/modules/ve-mw/ui/pages/ve.ui.MWTransclusionContentPage.js +++ b/modules/ve-mw/ui/pages/ve.ui.MWTransclusionContentPage.js @@ -39,7 +39,10 @@ ve.ui.MWTransclusionContentPage = function VeUiMWTransclusionContentPage( conten .setReadOnly( config.isReadOnly ) .connect( this, { change: 'onTextInputChange' } ); this.valueFieldset = new OO.ui.FieldsetLayout( { - label: ve.msg( 'visualeditor-dialog-transclusion-content' ), + label: ve.msg( veConfig.transclusionDialogNewSidebar ? + 'visualeditor-dialog-transclusion-wikitext' : + 'visualeditor-dialog-transclusion-content' + ), icon: 'wikiText', $content: this.textInput.$element } ); diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineWikitextWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineWikitextWidget.js index 0d09032863..f856b390a7 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineWikitextWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineWikitextWidget.js @@ -9,7 +9,7 @@ ve.ui.MWTransclusionOutlineWikitextWidget = function VeUiMWTransclusionOutlineWi // Parent constructor ve.ui.MWTransclusionOutlineWikitextWidget.super.call( this, content, { icon: 'wikiText', - label: ve.msg( 'visualeditor-dialog-transclusion-content' ) + label: ve.msg( 'visualeditor-dialog-transclusion-wikitext' ) } ); };