From a0afca45b894ad60a1144f96b62633dc8b872aef Mon Sep 17 00:00:00 2001 From: zhu <zhumumu@gmail.com> Date: Mon, 17 Dec 2018 17:30:32 +0800 Subject: [PATCH] add dropzoneImagesLabel for images dropzone --- .../presentation/presentation-uploader/component.jsx | 6 +++++- bigbluebutton-html5/private/locales/en.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx index 6f78965be1..2353afa111 100755 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-uploader/component.jsx @@ -67,6 +67,10 @@ const intlMessages = defineMessages({ id: 'app.presentationUploder.dropzoneLabel', description: 'message warning where drop files for upload', }, + dropzoneImagesLabel: { + id: 'app.presentationUploder.dropzoneImagesLabel', + description: 'message warning where drop images for upload', + }, browseFilesLabel: { id: 'app.presentationUploder.browseFilesLabel', description: 'message use on the file browser', @@ -506,7 +510,7 @@ class PresentationUploader extends Component { > <Icon className={styles.dropzoneIcon} iconName="upload" /> <p className={styles.dropzoneMessage}> - {intl.formatMessage(intlMessages.dropzoneLabel)} + {intl.formatMessage(intlMessages.dropzoneImagesLabel)} <span className={styles.dropzoneLink}> {intl.formatMessage(intlMessages.browseImagesLabel)} </span> diff --git a/bigbluebutton-html5/private/locales/en.json b/bigbluebutton-html5/private/locales/en.json index d6fe7998e1..f9d6aa7d46 100755 --- a/bigbluebutton-html5/private/locales/en.json +++ b/bigbluebutton-html5/private/locales/en.json @@ -82,6 +82,7 @@ "app.presentationUploder.dismissLabel": "Cancel", "app.presentationUploder.dismissDesc": "Close the modal window and discard your changes", "app.presentationUploder.dropzoneLabel": "Drag files here to upload", + "app.presentationUploder.dropzoneImagesLabel": "Drag images here to upload", "app.presentationUploder.browseFilesLabel": "or browse for files", "app.presentationUploder.browseImagesLabel": "or browse/capture for images", "app.presentationUploder.fileToUpload": "To be uploaded...", -- GitLab