|
25 | 25 | implements="org.bigbluebutton.common.IBbbModuleWindow"
|
26 | 26 | xmlns:mate="http://mate.asfusion.com/"
|
27 | 27 | creationComplete="onCreationComplete()"
|
| 28 | + title="{ResourceUtil.getInstance().getString('bbb.participants.title')}" |
28 | 29 | showCloseButton="false">
|
29 | 30 |
|
30 | 31 | <mate:Listener type="{LocaleChangeEvent.LOCALE_CHANGED}" method="localeChanged" />
|
|
171 | 172 |
|
172 | 173 | private function openSettings():void {
|
173 | 174 | // everyone can see the audio settings
|
174 |
| - var myMenuData:Array = [{label: "Audio Settings", icon: images.audio}]; |
| 175 | + var myMenuData:Array = [{label: ResourceUtil.getInstance().getString('bbb.participants.settings.audioSettings'), icon: images.audio}]; |
175 | 176 |
|
176 | 177 | if (amIModerator) {
|
177 | 178 | myMenuData[1] = {type: "separator"};
|
178 | 179 | if (!roomMuted)
|
179 |
| - myMenuData[2] = {label: "Mute All", icon: images.audio_muted}; |
| 180 | + myMenuData[2] = {label: ResourceUtil.getInstance().getString('bbb.participants.settings.muteAll'), icon: images.audio_muted}; |
180 | 181 | else
|
181 |
| - myMenuData[2] = {label: "Unmute All", icon: images.audio}; |
182 |
| - myMenuData[3] = {label: "Lower All Hands", icon: images.hand_new}; |
| 182 | + myMenuData[2] = {label: ResourceUtil.getInstance().getString('bbb.participants.settings.unmuteAll'), icon: images.audio}; |
| 183 | + myMenuData[3] = {label: ResourceUtil.getInstance().getString('bbb.participants.settings.lowerAllHands'), icon: images.hand_new}; |
183 | 184 | }
|
184 | 185 |
|
185 | 186 | // make sure the previous menu is closed before opening a new one
|
|
374 | 375 | tabIndex="{partOptions.baseTabIndex+5}"
|
375 | 376 | accessibilityName="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.accessibilityName')}" >
|
376 | 377 | <mx:columns>
|
377 |
| - <mx:DataGridColumn dataField="userStatus" headerText="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer')}" editable="false" width="45" |
| 378 | + <mx:DataGridColumn dataField="userStatus" headerText="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.statusItemRenderer')}" editable="false" width="45" |
378 | 379 | itemRenderer="org.bigbluebutton.modules.participants.views.StatusItemRenderer" sortable="false" />
|
379 |
| - <mx:DataGridColumn dataField="name" headerText="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.nameItemRenderer')}" editable="false" width="100" sortable="false" |
| 380 | + <mx:DataGridColumn dataField="name" headerText="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.nameItemRenderer')}" editable="false" width="100" sortable="false" |
380 | 381 | itemRenderer="org.bigbluebutton.modules.participants.views.NameItemRenderer"/>
|
381 | 382 | <mx:DataGridColumn dataField="media" headerText="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer')}" sortable="false"
|
382 | 383 | itemRenderer="org.bigbluebutton.modules.participants.views.MediaItemRenderer"/>
|
|
385 | 386 |
|
386 | 387 | <mx:ControlBar width="100%">
|
387 | 388 | <mx:Button id="settingsBtn" icon="{images.users_settings}" width="30" height="30"
|
388 |
| - toolTip="Settings" click="openSettings()" visible="true" tabIndex="{partOptions.baseTabIndex+10}"/> |
| 389 | + toolTip="{ResourceUtil.getInstance().getString('bbb.participants.settings.buttonTooltip')}" click="openSettings()" visible="true" tabIndex="{partOptions.baseTabIndex+10}"/> |
389 | 390 | <mx:Button id="raiseHandBtn" toggle="true" icon="{images.hand_new}"
|
390 | 391 | width="30" height="30" toolTip="Raise Hand" click="raiseHand()"
|
391 | 392 | visible="false" includeInLayout="{raiseHandBtn.visible}" tabIndex="{partOptions.baseTabIndex+15}" />
|
392 | 393 | <mx:Spacer width="100%"/>
|
393 | 394 | <mx:Button id="muteMeBtn" click="toggleMuteMeState()" height="30" width="30"
|
394 | 395 | icon="{UserManager.getInstance().getConference().voiceMuted ? images.audio_muted : images.audio}"
|
395 | 396 | visible="{UserManager.getInstance().getConference().voiceJoined}"
|
396 |
| - toolTip="{UserManager.getInstance().getConference().voiceMuted ? ResourceUtil.getInstance().getString('bbb.listeners.pushToTalk.toolTip') : ResourceUtil.getInstance().getString('bbb.listeners.pushToMute.toolTip')}" |
| 397 | + toolTip="{UserManager.getInstance().getConference().voiceMuted ? ResourceUtil.getInstance().getString('bbb.participants.pushToTalk.toolTip') : ResourceUtil.getInstance().getString('bbb.participants.pushToMute.toolTip')}" |
397 | 398 | tabIndex="{partOptions.baseTabIndex+20}"/>
|
398 | 399 |
|
399 | 400 | </mx:ControlBar>
|
|
0 commit comments