Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/112318

Change subject: Explain what the number on the edit summary screen means
......................................................................

Explain what the number on the edit summary screen means

Bug: 50902
Change-Id: Ic548e624c1e7375b3151cc9d2f051a5bc665c759
---
M VisualEditor.php
M modules/ve-mw/i18n/en.json
M modules/ve-mw/i18n/qqq.json
M modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js
4 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/18/112318/1

diff --git a/VisualEditor.php b/VisualEditor.php
index 720324c..ab3ca4a 100644
--- a/VisualEditor.php
+++ b/VisualEditor.php
@@ -712,6 +712,7 @@
                        'visualeditor-editconflict',
                        'visualeditor-editnotices-tool',
                        'visualeditor-editsummary',
+                       'visualeditor-editsummary-bytes-remaining',
                        'visualeditor-feedback-tool',
                        'visualeditor-formatdropdown-format-mw-heading1',
                        'visualeditor-formatdropdown-format-mw-heading2',
diff --git a/modules/ve-mw/i18n/en.json b/modules/ve-mw/i18n/en.json
index bff41b0..3d80b73 100644
--- a/modules/ve-mw/i18n/en.json
+++ b/modules/ve-mw/i18n/en.json
@@ -106,6 +106,7 @@
     "visualeditor-editconflict": "Your changes could not be saved because of 
an edit conflict. Would you like to resolve the conflict manually?",
     "visualeditor-editnotices-tool": "$1 {{PLURAL:$1|notice|notices}}",
     "visualeditor-editsummary": "Describe what you changed",
+    "visualeditor-editsummary-bytes-remaining": "The number of bytes 
remaining",
     "visualeditor-formatdropdown-format-mw-heading1": "Page title",
     "visualeditor-formatdropdown-format-mw-heading2": "Heading",
     "visualeditor-formatdropdown-format-mw-heading3": "Sub-heading 1",
diff --git a/modules/ve-mw/i18n/qqq.json b/modules/ve-mw/i18n/qqq.json
index 09c22a6..0f9308a 100644
--- a/modules/ve-mw/i18n/qqq.json
+++ b/modules/ve-mw/i18n/qqq.json
@@ -111,6 +111,7 @@
     "visualeditor-editconflict": "Alert message when saving a page causes an 
edit conflict",
     "visualeditor-editnotices-tool": "Text of tool in the toolbar that shows 
edit notices (such as [[MediaWiki:Editnotice-0]] and 
[[MediaWiki:Editnotice-8/en]]) as a pop-up.\n\nParameters:\n* $1 - the number 
of notices",
     "visualeditor-editsummary": "Label for the edit summary box",
+    "visualeditor-editsummary-bytes-remaining": "Title text for the number of 
bytes remaining in the edit summary",
     "visualeditor-formatdropdown-format-mw-heading1": "Item in the MediaWiki 
formatting dropdown for a level 1 heading (page title).\n{{Identical|Page 
title}}",
     "visualeditor-formatdropdown-format-mw-heading2": "Item in the MediaWiki 
formatting dropdown for a level 2 heading (section).\n{{Identical|Heading}}",
     "visualeditor-formatdropdown-format-mw-heading3": "Item in the MediaWiki 
formatting dropdown for a level 3 heading (sub-section)",
diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js 
b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js
index d99c188..158d95c 100644
--- a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js
+++ b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js
@@ -304,6 +304,7 @@
                this.$( '<div>' ).addClass( 've-ui-mwSaveDialog-checkboxes' ),
                new OO.ui.InputLabelWidget( { '$': this.$, 'label': 'text' } 
).$element
                        .addClass( 've-ui-mwSaveDialog-editSummary-count' 
).text( this.editSummaryByteLimit )
+                       .attr( 'title', ve.msg( 
'visualeditor-editsummary-bytes-remaining' ) )
        );
        this.$saveMessages = this.$( '<div>' );
        this.$saveActions = this.$( '<div>' ).append(

-- 
To view, visit https://gerrit.wikimedia.org/r/112318
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic548e624c1e7375b3151cc9d2f051a5bc665c759
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to