From b0947c85c19f6f7a4b188f9488c23b8b696bdde9 Mon Sep 17 00:00:00 2001 From: JaeeunCho Date: Thu, 22 Sep 2016 13:51:00 -0700 Subject: [PATCH] HTML5 - Settings : added description messages and changed to label --- bigbluebutton-html5/imports/locales/en.json | 13 ++++---- .../actions-dropdown/component.jsx | 30 +++++++++++++------ .../nav-bar/settings-dropdown/component.jsx | 24 +++++++++++---- 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/bigbluebutton-html5/imports/locales/en.json b/bigbluebutton-html5/imports/locales/en.json index 2dede45523..4e1dcb139e 100755 --- a/bigbluebutton-html5/imports/locales/en.json +++ b/bigbluebutton-html5/imports/locales/en.json @@ -26,7 +26,7 @@ "app.failedMessage": "Apologies, trouble connecting to the server.", "app.connectingMessage": "Connecting...", "app.waitingMessage": "Disconnected. Trying to reconnect in {seconds} seconds...", - "app.dropdown.options": "Options", + "app.dropdown.optionsLabel": "Options", "app.dropdown.fullscreenLabel": "Make fullscreen", "app.dropdown.settingsLabel": "Open settings", "app.dropdown.leaveSessionLabel": "Logout", @@ -39,8 +39,11 @@ "app.leaveConfirmation.confirmDesc": "Logs you out of the meeting", "app.leaveConfirmation.dismissLabel": "Cancel", "app.leaveConfirmation.dismissDesc": "Closes and rejects the leave confirmation", - "app.actions.options": "Actions", - "app.actions.options.presentation": "Upload a presentation", - "app.actions.options.initPoll": "Initiate a poll", - "app.actions.options.desktopShare": "Share your screen" + "app.actions.actionsLabel": "Actions", + "app.actions.options.presentationLabel": "Upload a presentation", + "app.actions.options.initPollLabel": "Initiate a poll", + "app.actions.options.desktopShareLabel": "Share your screen", + "app.actions.options.presentationDesc": "Upload your presentation", + "app.actions.options.initPollDesc": "Initiate a poll", + "app.actions.options.desktopShareDesc": "Share your screen with others" } diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx index f590c7a414..3c29dd9b19 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx @@ -9,22 +9,34 @@ import DropdownList from '/imports/ui/components/dropdown/list/component'; import DropdownListItem from '/imports/ui/components/dropdown/list/item/component'; const intlMessages = defineMessages({ - buttonLabel: { - id: 'app.actions.options', + actionsLabel: { + id: 'app.actions.actionsLabel', defaultMessage: 'Actions button', }, presentationLabel: { - id: 'app.actions.options.presentation', + id: 'app.actions.options.presentationLabel', defaultMessage: 'Upload a presentation', }, initPollLabel: { - id: 'app.actions.options.initPoll', + id: 'app.actions.options.initPollLabel', defaultMessage: 'Initiate a poll', }, desktopShareLabel: { - id: 'app.actions.options.desktopShare', + id: 'app.actions.options.desktopShareLabel', defaultMessage: 'Share your screen', }, + presentationDesc: { + id: 'app.actions.options.presentationDesc', + defaultMessage: 'Upload your presentation', + }, + initPollDesc: { + id: 'app.actions.options.initPollDesc', + defaultMessage: 'Initiate a poll', + }, + desktopShareDesc: { + id: 'app.actions.options.desktopShareDesc', + defaultMessage: 'Share your screen with others', + }, }); const presentation = () => {console.log('Should show the uploader component');}; @@ -45,7 +57,7 @@ export default class Actions extends Component {