jenkins-bot has submitted this change and it was merged.
Change subject: i18n: Pass value to
<visualeditor-dialog-meta-settings-newsectioneditlink-help>
......................................................................
i18n: Pass value to <visualeditor-dialog-meta-settings-newsectioneditlink-help>
Bug: T75969
Change-Id: I6bbe2dbec74edae9fb1b09e03f3102b7a2d0be97
---
M modules/ve-mw/i18n/en.json
M modules/ve-mw/i18n/qqq.json
M modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
3 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/ve-mw/i18n/en.json b/modules/ve-mw/i18n/en.json
index 23ab2e8..62f283c 100644
--- a/modules/ve-mw/i18n/en.json
+++ b/modules/ve-mw/i18n/en.json
@@ -131,7 +131,7 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-default":
"Default",
"visualeditor-dialog-meta-settings-newsectioneditlink-disable": "No",
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Yes",
- "visualeditor-dialog-meta-settings-newsectioneditlink-help": "You can
force the display of an extra tab besides the \"{{int:vector-view-edit}}\" tab
on this page which will make it easy to add a new section, or force it to not
appear if it otherwise would.",
+ "visualeditor-dialog-meta-settings-newsectioneditlink-help": "You can
force the display of an extra tab besides the \"$1\" tab on this page which
will make it easy to add a new section, or force it to not appear if it
otherwise would.",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Show a
tab on this page to add a new section",
"visualeditor-dialog-meta-settings-nocontentconvert-help": "You can
prevent this page's contents being automatically converted into other scripts.",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Don't
convert content between language variants",
diff --git a/modules/ve-mw/i18n/qqq.json b/modules/ve-mw/i18n/qqq.json
index 3c547e9..afac862 100644
--- a/modules/ve-mw/i18n/qqq.json
+++ b/modules/ve-mw/i18n/qqq.json
@@ -140,7 +140,7 @@
"visualeditor-dialog-meta-settings-newsectioneditlink-default": "Label
for the option to have the namespace's default new section creating link
behavior.\n{{Identical|Default}}",
"visualeditor-dialog-meta-settings-newsectioneditlink-disable": "Label
for the option to prevent the display of a new section creating
link.\n{{Identical|No}}",
"visualeditor-dialog-meta-settings-newsectioneditlink-force": "Label
for the option to force the display of a new section creating
link.\n{{Identical|Yes}}",
- "visualeditor-dialog-meta-settings-newsectioneditlink-help": "Message
displayed as contextual help about the <nowiki>__NEWSECTIONLINK__</nowiki> and
<nowiki>__NONEWSECTIONLINK__</nowiki> tags to editors in the advanced page
settings panel.",
+ "visualeditor-dialog-meta-settings-newsectioneditlink-help": "Message
displayed as contextual help about the <nowiki>__NEWSECTIONLINK__</nowiki> and
<nowiki>__NONEWSECTIONLINK__</nowiki> tags to editors in the advanced page
settings panel.\n\n$1 – The label for the edit tab, normally
{{msg-mw|vector-view-edit}}",
"visualeditor-dialog-meta-settings-newsectioneditlink-label": "Prompt
to let the user set the new section creating link behavior.\n\nFollowed by the
following buttons:\n*
{{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-force}}\n*
{{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-default}}\n*
{{msg-mw|Visualeditor-dialog-meta-settings-newsectioneditlink-disable}}",
"visualeditor-dialog-meta-settings-nocontentconvert-help": "Message
displayed as contextual help about the <nowiki>__NOCONTENTCONVERT__</nowiki>
tag to editors in the advanced page settings panel, on wikis with language
conversion.",
"visualeditor-dialog-meta-settings-nocontentconvert-label": "Prompt for
the checkbox to let the user disable content conversion between language
variants on the page.",
diff --git a/modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
b/modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
index fc1d91f..bf3bb43 100644
--- a/modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
+++ b/modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
@@ -82,7 +82,7 @@
$: this.$,
align: 'top',
label: ve.msg(
'visualeditor-dialog-meta-settings-newsectioneditlink-label' ),
- help: ve.msg(
'visualeditor-dialog-meta-settings-newsectioneditlink-help' )
+ help: ve.msg(
'visualeditor-dialog-meta-settings-newsectioneditlink-help', $( '#ca-edit'
).text() )
}
);
--
To view, visit https://gerrit.wikimedia.org/r/176071
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6bbe2dbec74edae9fb1b09e03f3102b7a2d0be97
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits