Missing i18n in gallery dialog

Change-Id: I369d5b9d42a5fd6b4d1afc12508632a282591320
This commit is contained in:
Ed Sanders 2016-11-24 00:09:49 +00:00
parent 10d348af8b
commit 0334263718
4 changed files with 4 additions and 1 deletions

View file

@ -1808,6 +1808,7 @@
"visualeditor-mwgallerydialog-empty-gallery-message",
"visualeditor-mwgallerydialog-heights-field-label",
"visualeditor-mwgallerydialog-heights-input-placeholder",
"visualeditor-mwgallerydialog-image-caption-placeholder",
"visualeditor-mwgallerydialog-mode-dropdown-label-nolines",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed-hover",

View file

@ -283,6 +283,7 @@
"visualeditor-mwgallerydialog-empty-gallery-message": "The gallery is empty.",
"visualeditor-mwgallerydialog-heights-field-label": "Image height",
"visualeditor-mwgallerydialog-heights-input-placeholder": "Default height: $1 px",
"visualeditor-mwgallerydialog-image-caption-placeholder": "Image caption",
"visualeditor-mwgallerydialog-mode-dropdown-label-nolines": "Traditional with no outlines",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed": "Packed",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed-hover": "Packed with captions on hover",

View file

@ -296,6 +296,7 @@
"visualeditor-mwgallerydialog-empty-gallery-message": "Empty gallery message for the gallery dialog",
"visualeditor-mwgallerydialog-heights-field-label": "Label for the heights field of the gallery dialog",
"visualeditor-mwgallerydialog-heights-input-placeholder": "Placeholder for the heights input",
"visualeditor-mwgallerydialog-image-caption-placeholder": "Placeholder for an image caption",
"visualeditor-mwgallerydialog-mode-dropdown-label-nolines": "Label for the nolines option in the mode dropdown of the gallery dialog",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed": "Label for the packed option in the mode dropdown of the gallery dialog",
"visualeditor-mwgallerydialog-mode-dropdown-label-packed-hover": "Label for the packed-hover option in the mode dropdown of the gallery dialog",

View file

@ -111,7 +111,7 @@ ve.ui.MWGalleryDialog.prototype.initialize = function () {
.addClass( 've-ui-mwGalleryDialog-highlighted-image' );
// TODO: make into a ve.ui.MWTargetWidget once Parsoid handles galleries
this.highlightedCaptionInput = new OO.ui.TextInputWidget( {
placeholder: 'Image caption',
placeholder: ve.msg( 'visualeditor-mwgallerydialog-image-caption-placeholder' ),
multiline: true,
autosize: true
} );