From: <sv...@ww...> - 2007-08-24 19:47:50
|
Author: nsmoooose Date: 2007-08-24 12:47:38 -0700 (Fri, 24 Aug 2007) New Revision: 2175 Modified: branches/first_tutorial/csp/data/ui/localization/english/global.xml branches/first_tutorial/csp/data/ui/localization/german/global.xml branches/first_tutorial/csp/data/ui/localization/svenska/global.xml branches/first_tutorial/csp/data/ui/themes/default/messagebox.xml branches/first_tutorial/csp/data/ui/themes/default/styles.xml branches/first_tutorial/csp/data/ui/window_document.xsd Log: * Added missing information about left and top in window_document.xsd. * Moved some style information from a messagebox.xml file into the styles.xml document. * Added a missing translation for the tutorial. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2175 Modified: branches/first_tutorial/csp/data/ui/localization/english/global.xml =================================================================== --- branches/first_tutorial/csp/data/ui/localization/english/global.xml 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/localization/english/global.xml 2007-08-24 19:47:38 UTC (rev 2175) @@ -29,6 +29,7 @@ <String key="screen_resolution">Resolution</String> <String key="start_simulation">Start</String> <String key="tutorials">Tutorials</String> + <String key="tutorials_takeoff">Takeoff (F16)</String> <String key="ui_theme">Theme</String> <String key="ui_language">Language</String> </Strings> Modified: branches/first_tutorial/csp/data/ui/localization/german/global.xml =================================================================== --- branches/first_tutorial/csp/data/ui/localization/german/global.xml 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/localization/german/global.xml 2007-08-24 19:47:38 UTC (rev 2175) @@ -29,6 +29,7 @@ <String key="screen_resolution">Auflösung</String> <String key="start_simulation">Starten</String> <String key="tutorials">Tutorials</String> + <String key="tutorials_takeoff">Abheben (F16)</String> <String key="ui_theme">Theme</String> <String key="ui_language">Sprache</String> </Strings> Modified: branches/first_tutorial/csp/data/ui/localization/svenska/global.xml =================================================================== --- branches/first_tutorial/csp/data/ui/localization/svenska/global.xml 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/localization/svenska/global.xml 2007-08-24 19:47:38 UTC (rev 2175) @@ -23,12 +23,13 @@ <String key="options_userinterface">Användargränssnitt</String> <String key="pause">Paus</String> <String key="quit">Avsluta</String> - <String key="restart_required">Omstart krävs fär att ändring skall gälla.</String> + <String key="restart_required">Omstart krävs för att ändring skall gälla.</String> <String key="resume">Återgå</String> <String key="screen_resolution">Upplösning</String> <String key="singleplayer">1 spelare</String> <String key="start_simulation">Starta</String> <String key="tutorials">Handledning</String> + <String key="tutorials_takeoff">Start (F16)</String> <String key="ui_theme">Tema</String> <String key="ui_language">Språk</String> </Strings> Modified: branches/first_tutorial/csp/data/ui/themes/default/messagebox.xml =================================================================== --- branches/first_tutorial/csp/data/ui/themes/default/messagebox.xml 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/themes/default/messagebox.xml 2007-08-24 19:47:38 UTC (rev 2175) @@ -5,14 +5,14 @@ <StyleInclude>styles.xml</StyleInclude> <StringTableInclude>global.xml</StringTableInclude> </Includes> - <Window CssClass="window_default" SizeWidth="500" SizeHeight="200" LocationZ="50" > + <Window CssClass="messagebox" LocationZ="50" > <Control> <MultiControlContainer> <Controls> - <Label Id="caption" CssClass="window_caption" Text="Combat Simulator Project" /> + <Label Id="caption" CssClass="window_caption" Text="${csp}" /> <Label CssClass="stripe" /> - <Label Id="message" LocationX="10" LocationY="55" SizeWidth="489" SizeHeight="30" Text="Combat Simulator Project" /> + <Label Id="message" CssClass="messagebox_message" Text="Place your text here" /> <Button Id="ok" LocationX="170" LocationY="150" SizeWidth="120" SizeHeight="35" Text="OK" /> </Controls> Modified: branches/first_tutorial/csp/data/ui/themes/default/styles.xml =================================================================== --- branches/first_tutorial/csp/data/ui/themes/default/styles.xml 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/themes/default/styles.xml 2007-08-24 19:47:38 UTC (rev 2175) @@ -255,7 +255,27 @@ <VerticalAlign>middle</VerticalAlign> <HorizontalAlign>center</HorizontalAlign> </Style> - + + <!-- This style should be used on a standard message box. --> + <Style Name="messagebox"> + <BorderLeftWidth>10</BorderLeftWidth> + <BorderLeftColor>7b8698ff</BorderLeftColor> + <VerticalAlign>middle</VerticalAlign> + <HorizontalAlign>center</HorizontalAlign> + <Height>200</Height> + <Width>500</Width> + </Style> + + <!-- Use to place the message within a message box. --> + <Style Name="messagebox_message"> + <Left>10</Left> + <Top>55</Top> + <Height>30</Height> + <Width>489</Width> + </Style> + + <!-- This style is used on the label that represents the caption + of a window. --> <Style Name="window_caption"> <Left>10</Left> <Top>2</Top> Modified: branches/first_tutorial/csp/data/ui/window_document.xsd =================================================================== --- branches/first_tutorial/csp/data/ui/window_document.xsd 2007-08-24 06:52:10 UTC (rev 2174) +++ branches/first_tutorial/csp/data/ui/window_document.xsd 2007-08-24 19:47:38 UTC (rev 2175) @@ -74,6 +74,8 @@ <xsd:element name="Visible" type="xsd:boolean" minOccurs="0" /> + <xsd:element name="Left" type="xsd:string" minOccurs="0" /> + <xsd:element name="Top" type="xsd:string" minOccurs="0" /> <xsd:element name="Height" type="xsd:string" minOccurs="0" /> <xsd:element name="Width" type="xsd:string" minOccurs="0" /> </xsd:sequence> |