Skip to content

Commit d3c3037

Browse files
added localization strings for participants module
1 parent 0d01fb9 commit d3c3037

File tree

5 files changed

+31
-15
lines changed

5 files changed

+31
-15
lines changed

bigbluebutton-client/locale/en_US/bbbResources.properties

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,27 @@ bbb.participants.title = Participants{0} {1}
5454
bbb.participants.titleBar = Participants Window title bar, double click to maximize
5555
bbb.participants.minimizeBtn.accessibilityName = Minimize the Participants Window
5656
bbb.participants.maximizeRestoreBtn.accessibilityName = Maximize the Participants Window
57+
bbb.participants.settings.buttonTooltip = Settings
58+
bbb.participants.settings.audioSettings = Audio Settings
59+
bbb.participants.settings.muteAll = Mute All
60+
bbb.participants.settings.unmuteAll = Unmute All
61+
bbb.participants.settings.lowerAllHands = Lower All Hands
62+
bbb.participants.pushToTalk.toolTip = Click to talk
63+
bbb.participants.pushToMute.toolTip = Click to mute yourself
5764
bbb.participants.participantsGrid.accessibilityName = Participants List. Use the arrow keys to navigate.
58-
bbb.participants.participantsGrid.mediaItemRenderer = Media
65+
bbb.participants.participantsGrid.nameItemRenderer = Name
66+
bbb.participants.participantsGrid.statusItemRenderer = Status
67+
bbb.participants.participantsGrid.statusItemRenderer.changePresenter = Change Presenter
5968
bbb.participants.participantsGrid.statusItemRenderer.presenter = Presenter
6069
bbb.participants.participantsGrid.statusItemRenderer.moderator = Moderator
6170
bbb.participants.participantsGrid.statusItemRenderer.handRaised = Hand Raised
6271
bbb.participants.participantsGrid.statusItemRenderer.viewer = Viewer
72+
bbb.participants.participantsGrid.mediaItemRenderer = Media
73+
bbb.participants.participantsGrid.mediaItemRenderer.talking = Talking
74+
bbb.participants.participantsGrid.mediaItemRenderer.webcam = Sharing Webcam
75+
bbb.participants.participantsGrid.mediaItemRenderer.pushToTalk = Click to talk
76+
bbb.participants.participantsGrid.mediaItemRenderer.pushToMute = Click to mute yourself
77+
bbb.participants.participantsGrid.mediaItemRenderer.kickUser = Kick user
6378
bbb.participants.participantsGrid.mediaItemRenderer.webcam = Webcam shared
6479
bbb.participants.participantsGrid.mediaItemRenderer.micOff = Microphone off
6580
bbb.participants.participantsGrid.mediaItemRenderer.micOn = Microphone on

bigbluebutton-client/src/org/bigbluebutton/modules/participants/views/MediaItemRenderer.mxml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@
106106
</mx:Script>
107107

108108
<mx:Image id="talkingIcon" visible="{data.talking}" source="{images.sound_new}" width="20" height="20"
109-
toolTip="{ResourceUtil.getInstance().getString('bbb.listenerItem.talkImg.toolTip')}" />
109+
toolTip="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer.talking')}" />
110110
<mx:Button id="webcamBtn" visible="{data.hasStream}" click="viewCamera()" icon="{images.webcam_new}"
111111
width="20" height="20" enabled="false"
112-
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.viewersGrid.statusItemRenderer.streamIcon.toolTip')}" />
112+
toolTip="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer.webcam')}" />
113113
<mx:Button id="muteBtn" visible="{data.voiceJoined}" enabled="false"
114114
width="20" height="20" click="toggleMuteState()"
115115
icon="{data.voiceMuted ? images.audio_muted : images.audio}"
116-
toolTip="{data.voiceMuted ? ResourceUtil.getInstance().getString('bbb.listeners.pushToTalk.toolTip') : ResourceUtil.getInstance().getString('bbb.listeners.pushToMute.toolTip')}" />
116+
toolTip="{data.voiceMuted ? ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer.pushToTalk') : ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer.pushToMute')}" />
117117
<mx:Button id="kickUserBtn" icon="{images.eject_user_new}"
118118
width="20" height="20" visible="{rolledOver}"
119-
toolTip="{ResourceUtil.getInstance().getString('bbb.viewers.kickUserBtn.toolTip')}"
119+
toolTip="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer.kickUser')}"
120120
click="kickUser()"/>
121121
</mx:HBox>

bigbluebutton-client/src/org/bigbluebutton/modules/participants/views/NameItemRenderer.mxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
<mx:Label id="nameLabel" textAlign="left" text="{data.name} {data.me ? '(you)' : ''}"
3131
fontWeight="{data.me ? 'bold' : 'normal'}"
3232
color="{data.me ? 0x003399 : 0x000000}"
33-
toolTip="Name"/>
33+
toolTip="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.nameItemRenderer')}"/>
3434
</mx:HBox>

bigbluebutton-client/src/org/bigbluebutton/modules/participants/views/ParticipantsWindow.mxml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
implements="org.bigbluebutton.common.IBbbModuleWindow"
2626
xmlns:mate="http://mate.asfusion.com/"
2727
creationComplete="onCreationComplete()"
28+
title="{ResourceUtil.getInstance().getString('bbb.participants.title')}"
2829
showCloseButton="false">
2930

3031
<mate:Listener type="{LocaleChangeEvent.LOCALE_CHANGED}" method="localeChanged" />
@@ -171,15 +172,15 @@
171172
172173
private function openSettings():void {
173174
// 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}];
175176
176177
if (amIModerator) {
177178
myMenuData[1] = {type: "separator"};
178179
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};
180181
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};
183184
}
184185
185186
// make sure the previous menu is closed before opening a new one
@@ -374,9 +375,9 @@
374375
tabIndex="{partOptions.baseTabIndex+5}"
375376
accessibilityName="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.accessibilityName')}" >
376377
<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"
378379
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"
380381
itemRenderer="org.bigbluebutton.modules.participants.views.NameItemRenderer"/>
381382
<mx:DataGridColumn dataField="media" headerText="{ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.mediaItemRenderer')}" sortable="false"
382383
itemRenderer="org.bigbluebutton.modules.participants.views.MediaItemRenderer"/>
@@ -385,15 +386,15 @@
385386

386387
<mx:ControlBar width="100%">
387388
<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}"/>
389390
<mx:Button id="raiseHandBtn" toggle="true" icon="{images.hand_new}"
390391
width="30" height="30" toolTip="Raise Hand" click="raiseHand()"
391392
visible="false" includeInLayout="{raiseHandBtn.visible}" tabIndex="{partOptions.baseTabIndex+15}" />
392393
<mx:Spacer width="100%"/>
393394
<mx:Button id="muteMeBtn" click="toggleMuteMeState()" height="30" width="30"
394395
icon="{UserManager.getInstance().getConference().voiceMuted ? images.audio_muted : images.audio}"
395396
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')}"
397398
tabIndex="{partOptions.baseTabIndex+20}"/>
398399

399400
</mx:ControlBar>

bigbluebutton-client/src/org/bigbluebutton/modules/participants/views/StatusItemRenderer.mxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
roleBtn.enabled = false;
9494
} else if (rolledOver) {
9595
roleBtn.setStyle("icon", images.presenter_new);
96-
roleBtn.toolTip = ResourceUtil.getInstance().getString('bbb.viewers.presentBtn.label');
96+
roleBtn.toolTip = ResourceUtil.getInstance().getString('bbb.participants.participantsGrid.statusItemRenderer.changePresenter');
9797
roleBtn.enabled = true;
9898
} else if (data.role == Role.MODERATOR) {
9999
roleBtn.setStyle("icon", images.moderator);

0 commit comments

Comments
 (0)