jenkins-bot has submitted this change and it was merged.

Change subject: Use core dimension widget times separator
......................................................................


Use core dimension widget times separator

For de-duplication, and because trailing whitespace is not allowed.

Bug: T104691
Change-Id: I2e65799daae7e57e6e638b3d6dcf968a6f4582c7
---
M extension.json
M modules/ve-mw/i18n/en.json
M modules/ve-mw/i18n/qqq.json
M modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
4 files changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index a586623..429fe38 100644
--- a/extension.json
+++ b/extension.json
@@ -1094,7 +1094,6 @@
                                "visualeditor-dialog-media-content-filename",
                                "visualeditor-dialog-media-content-section",
                                
"visualeditor-dialog-media-content-section-help",
-                               "visualeditor-dialog-media-dimensionseparator",
                                "visualeditor-dialog-media-goback",
                                "visualeditor-dialog-media-info-artist",
                                "visualeditor-dialog-media-info-audiofile",
diff --git a/modules/ve-mw/i18n/en.json b/modules/ve-mw/i18n/en.json
index 30ad5ae..0bd5ea3 100644
--- a/modules/ve-mw/i18n/en.json
+++ b/modules/ve-mw/i18n/en.json
@@ -78,7 +78,6 @@
        "visualeditor-dialog-media-content-filename": "File name",
        "visualeditor-dialog-media-content-section": "Caption",
        "visualeditor-dialog-media-content-section-help": "You can use this to 
show a label that shows next to the item for all readers. This is often used to 
explain why the item is relevant to the context in which it is shown. It should 
be succinct and informative.",
-       "visualeditor-dialog-media-dimensionseparator": " × ",
        "visualeditor-dialog-media-goback": "Back",
        "visualeditor-dialog-media-info-artist": "Uploaded by $1",
        "visualeditor-dialog-media-info-audiofile": "Audio file",
diff --git a/modules/ve-mw/i18n/qqq.json b/modules/ve-mw/i18n/qqq.json
index b3a5a51..04fe11b 100644
--- a/modules/ve-mw/i18n/qqq.json
+++ b/modules/ve-mw/i18n/qqq.json
@@ -87,7 +87,6 @@
        "visualeditor-dialog-media-content-filename": "Label for the image 
filename.\n{{Identical|Filename}}",
        "visualeditor-dialog-media-content-section": "Label for the image 
content sub-section.\n{{Identical|Caption}}",
        "visualeditor-dialog-media-content-section-help": "Message displayed as 
contextual help about the caption box to editors in the media editing dialog.",
-       "visualeditor-dialog-media-dimensionseparator": "Label dimensions 
separator in the image size display.{{Optional}}",
        "visualeditor-dialog-media-goback": "Label for the button to go back to 
edit settings in the media dialog.\n{{Identical|Go back}}",
        "visualeditor-dialog-media-info-artist": "Label for the uploader 
information for the image in the media dialog. $1 - Uploader name.",
        "visualeditor-dialog-media-info-audiofile": "Label for denoting an 
audio file for the media info in the media dialog.",
diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js 
b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
index f30bdbc..cd50a11 100644
--- a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
+++ b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
@@ -493,7 +493,9 @@
                        .append(
                                $( '<span>' ).text(
                                        imageinfo.width +
-                                       ve.msg( 
'visualeditor-dialog-media-dimensionseparator' ) +
+                                       '\u00a0' +
+                                       ve.msg( 
'visualeditor-dimensionswidget-times' ) +
+                                       '\u00a0' +
                                        imageinfo.height +
                                        ve.msg( 
'visualeditor-dimensionswidget-px' )
                                ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2e65799daae7e57e6e638b3d6dcf968a6f4582c7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Legoktm <[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

Reply via email to