0ad/binaries/data/mods/public/gui/locale/locale_advanced.xml

82 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script file="gui/common/functions_global_object.js"/>
<script file="gui/locale/locale_advanced.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%-220 50%-200 50%+220 50%+200">
<action on="Tick">onTick();</action>
<object size="15 0 100%-15 100%">
<object style="ModernLabelText" type="text" size="50%-150 -18 50%+150 14">
<translatableAttribute id="caption">Language</translatableAttribute>
</object>
<object type="text" size="5 50 50% 75" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Language:</translatableAttribute>
</object>
<object name="languageList"
type="dropdown"
style="ModernDropDown"
size="50%+10 50 100% 75">
</object>
<object type="text" size="5 80 50% 105" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Country:</translatableAttribute>
</object>
<object name="countryList"
type="dropdown"
style="ModernDropDown"
size="50%+10 80 100% 105">
</object>
<object type="text" size="5 110 50% 135" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Script:</translatableAttribute>
</object>
<object name="scriptInput" size="50%+10 110 100% 135" type="input" style="ModernInput">
<translatableAttribute id="tooltip">Optional four-letter script code part following the language code (as listed in ISO 15924)</translatableAttribute>
</object>
<object type="text" size="5 140 50% 165" style="ModernLeftLabelText">
<translatableAttribute id="caption">Variant (unused):</translatableAttribute>
</object>
<object name="variantInput" size="50%+10 140 100% 165" type="input" style="ModernInput">
<translatableAttribute id="tooltip">Not implemented yet.</translatableAttribute>
</object>
<object type="text" size="5 170 50% 195" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Keywords (unused):</translatableAttribute>
</object>
<object name="keywordsInput" size="50%+10 170 100% 195" type="input" style="ModernInput">
<translatableAttribute id="tooltip">Not implemented yet.</translatableAttribute>
</object>
<object type="text" size="5 230 50% 255" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Resulting locale:</translatableAttribute>
</object>
<object name="resultingLocale" type="text" size="50%+10 230 100% 255" textcolor="white" />
<object type="text" size="5 260 50% 285" style="ModernLabelText" text_align="left">
<translatableAttribute id="caption">Dictionary files used:</translatableAttribute>
</object>
<object name="dictionaryFile" type="text" size="50%+10 260 100% 345" 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">Auto detect</translatableAttribute>
<action on="Press">autoDetectLocale();</action>
</object>
<object name="acceptButton" 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>