Skip to content

Commit 8d18208

Browse files
committed
fix: localize the dialog overlay string
1 parent ee9b9f8 commit 8d18208

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3711,7 +3711,7 @@ function RemoteFunctions(config = {}) {
37113711
'color: #ffffff; background-color: #333333; padding: 1em 1.5em; ' +
37123712
'text-align: center; font-size: 16px; border-radius: 3px;' +
37133713
'font-family: "SourceSansPro", Helvetica, Arial, sans-serif;';
3714-
messageBar.textContent = 'Select image download location in the editor to continue';
3714+
messageBar.textContent = config.strings.imageGalleryDialogOverlayMessage;
37153715

37163716
// assemble the structure
37173717
overlay.appendChild(messageBar);

src/LiveDevelopment/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ define(function main(require, exports, module) {
121121
imageGalleryClose: Strings.LIVE_DEV_IMAGE_GALLERY_CLOSE,
122122
imageGallerySelectFromComputer: Strings.LIVE_DEV_IMAGE_GALLERY_SELECT_FROM_COMPUTER,
123123
imageGallerySelectFromComputerTooltip: Strings.LIVE_DEV_IMAGE_GALLERY_SELECT_FROM_COMPUTER_TOOLTIP,
124+
imageGalleryDialogOverlayMessage: Strings.LIVE_DEV_IMAGE_GALLERY_DIALOG_OVERLAY_MESSAGE,
124125
toastNotEditable: Strings.LIVE_DEV_TOAST_NOT_EDITABLE
125126
}
126127
};

src/nls/root/strings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ define({
201201
"LIVE_DEV_IMAGE_GALLERY_CLOSE": "Close",
202202
"LIVE_DEV_IMAGE_GALLERY_SELECT_FROM_COMPUTER_TOOLTIP": "Select an image from your device",
203203
"LIVE_DEV_IMAGE_GALLERY_SELECT_FROM_COMPUTER": "Select from device",
204+
"LIVE_DEV_IMAGE_GALLERY_DIALOG_OVERLAY_MESSAGE": "Select image download location in the editor to continue",
204205
"LIVE_DEV_TOAST_NOT_EDITABLE": "Element not editable - generated by script.",
205206
"LIVE_DEV_IMAGE_FOLDER_DIALOG_TITLE": "Select Folder to Save Image",
206207
"LIVE_DEV_IMAGE_FOLDER_DIALOG_DESCRIPTION": "Choose where to download the image:",

0 commit comments

Comments
 (0)