Show the locale in the help dialog along with the build number
authorAndy Allan <andy@gravitystorm.co.uk>
Sat, 26 Nov 2011 16:23:01 +0000 (16:23 +0000)
committerAndy Allan <andy@gravitystorm.co.uk>
Sat, 26 Nov 2011 16:23:01 +0000 (16:23 +0000)
net/systemeD/potlatch2/help/HelpDialog.mxml

index 24f4917..883774a 100644 (file)
@@ -12,6 +12,7 @@
     import mx.events.CloseEvent;
     import mx.core.Application;
     import mx.core.FlexGlobals;
+    import net.systemeD.halcyon.Globals;
 
        [Bindable] private var application:Object = FlexGlobals.topLevelApplication;
 
   </mx:TabNavigator>
 
   <mx:ControlBar>
-    <mx:Label text="Version: {application.version} Build: {application.build_number}" />
+    <mx:VBox>
+      <mx:Label text="Version: {application.version} Build: {application.build_number}" />
+      <mx:Label text="Locale: {Globals.vars.locale}" />
+    </mx:VBox>
     <mx:Spacer width="100%"/>
     <mx:Button label="Ok" click="PopUpManager.removePopUp(this);" styleName="titleWindowButton" />
   </mx:ControlBar>