RetroZilla/profile/resources/content/selectLang.xul

54 lines
1.9 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/"?>
<!DOCTYPE dialog SYSTEM "chrome://communicator/locale/profile/selectLang.dtd">
<dialog title="&langSelBox.title.label;"
style="width: 22em;"
onload="Startup();"
ondialogaccept="return onAccept();"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://communicator/content/profile/selectLang.js"/>
<label value="&langList.txt.label;" control="langList"/>
<separator class="thin" />
<listbox id="langList" flex="1" rows="5"
ref="urn:mozilla:locale:root" datasources="rdf:chrome"
sortResource="http://www.mozilla.org/rdf/chrome#name"
sortDirection="ascending">
<template xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<rule chrome:localeType="region"/>
<rule>
<listitem id="treechildren" uri="..."
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
</rule>
</template>
</listbox>
<separator class="thin" />
<label value="&regionList.txt.label;" control="regionList"/>
<separator class="thin" />
<menulist id="regionList" flex="1">
<menupopup
datasources="rdf:chrome" ref="urn:mozilla:locale:root"
sortResource="http://www.mozilla.org/rdf/chrome#name"
sortDirection="ascending">
<template xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<rule chrome:localeType="region">
<menuitem class="standard" uri="rdf:*"
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
</rule>
</template>
</menupopup>
</menulist>
</dialog>