pjs/profile/resources/content/selectLang.xul

63 строки
2.1 KiB
Plaintext
Исходник Обычный вид История

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/"?>
<!DOCTYPE window 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" />
<tree id="langList" flex="1" rows="5"
ref="urn:mozilla:locale:root" datasources="rdf:chrome"
sortResource="http://www.mozilla.org/rdf/chrome#name"
sortDirection="ascending">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<template xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
2001-05-23 06:19:56 +04:00
<rule chrome:localeType="region">
</rule>
<rule>
<treechildren flex="1">
<treeitem id="treechildren" uri="...">
<treerow>
<treecell label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
</treerow>
</treeitem>
</treechildren>
2001-05-23 06:19:56 +04:00
</rule>
</template>
</tree>
2001-05-23 06:19:56 +04:00
<separator class="thin" />
<label value="&regionList.txt.label;" control="regionList"/>
2001-05-23 06:19:56 +04:00
<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>