pjs/profile/resources/content/selectLang.xul

54 строки
1.9 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" />
<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"/>
2001-05-23 06:19:56 +04:00
<rule>
<listitem id="treechildren" uri="..."
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
2001-05-23 06:19:56 +04:00
</rule>
</template>
</listbox>
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>