- Change text label when self muted/talking

- add param to prevent locales from being cached
This commit is contained in:
Richard Alam 2011-11-01 13:31:47 -04:00
parent c6be4042c2
commit 7b36c465fa
3 changed files with 5 additions and 2 deletions

View File

@ -91,6 +91,7 @@ bbb.listeners.title = Listeners{0} {1}
bbb.listeners.pushToTalk.toolTip = Click to talk
bbb.listeners.pushToMute.toolTip = Click to mute yourself
bbb.listeners.talk=Talk
bbb.listeners.mute=Mute
bbb.listeners.muteAllBtn.toolTip = Mute all
bbb.listeners.unmuteAllBtn.toolTip = Unmute all
bbb.listeners.ejectTooltip = Kick User

View File

@ -207,7 +207,7 @@
click="toggleMuteMeState()" width="60" height="30">
<mx:HBox verticalAlign="middle" horizontalGap="0" paddingLeft="5" paddingTop="5" paddingRight="5" paddingBottom="5">
<mx:Image source="{UserManager.getInstance().getConference().voiceMuted ? images.sound_mute : images.sound_none}" />
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.listeners.talk')}" />
<mx:Label text="{UserManager.getInstance().getConference().voiceMuted ? ResourceUtil.getInstance().getString('bbb.listeners.talk') : ResourceUtil.getInstance().getString('bbb.listeners.mute')}" />
</mx:HBox>
</flc:CanvasButton>
<mx:Spacer width="100%"/>

View File

@ -105,7 +105,9 @@ package org.bigbluebutton.util.i18n
}
private function load(language:String):IEventDispatcher {
var localeURI:String = 'locale/' + language + '_resources.swf';
// Add a random string on the query so that we don't get a cached version.
var date:Date = new Date();
var localeURI:String = 'locale/' + language + '_resources.swf?a=' + date.time;
return resourceManager.loadResourceModule(localeURI, false);
}