0ad/binaries/data/mods/public/gui/locale/locale.xml
2014-05-27 05:34:28 +00:00

53 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script file="gui/common/functions_global_object.js"/>
<script file="gui/locale/locale.js"/>
<!-- Add a translucent black background to fade out the menu page -->
<object type="image" z="0" sprite="ModernFade"/>
<object type="image" style="ModernDialog" size="50%-190 50%-100 50%+190 50%+100">
<object size="15 0 100%-15 100%">
<object style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14">
<translatableAttribute id="caption">Language</translatableAttribute>
</object>
<object type="text" size="5 50 40% 75" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Language:</translatableAttribute>
</object>
<object name="languageList"
type="dropdown"
style="ModernDropDown"
size="40%+10 50 100% 75">
<action on="SelectionChange">languageSelectionChanged();</action>
</object>
<object type="text" size="5 80 40% 105" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption" comment="A locale is a set of
parameters that defines the user’s language, country and any
special variant preferences that the user wants to see in
their user interface. Here, “Locale” refers to the code that
identifies those settings, such as ‘en_US’."
>Locale:</translatableAttribute>
</object>
<object name="localeText" type="text" size="40%+10 80 100% 105" textcolor="white" />
<object type="button" size="0 100%-60 33% 100%-32" style="ModernButtonRed">
<translatableAttribute id="caption">Cancel</translatableAttribute>
<action on="Press">cancelSetup();</action>
</object>
<object type="button" size="33%+5 100%-60 66% 100%-32" style="ModernButtonRed">
<translatableAttribute id="caption">Advanced</translatableAttribute>
<action on="Press">openAdvancedMenu();</action>
</object>
<object type="button" style="ModernButtonRed" size="66%+5 100%-60 100% 100%-32">
<translatableAttribute id="caption">Accept</translatableAttribute>
<action on="Press">applySelectedLocale();</action>
</object>
</object>
</object>
</objects>