pjs/suite/common/pref/pref-languages.xul

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

<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
1999-08-10 06:48:56 +04:00
<!--
The contents of this file are subject to the Netscape Public License
Version 1.1 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1999 Netscape Communications Corporation. All Rights
Reserved.
-->
2006-05-17 06:24:36 +04:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 06:24:27 +04:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
1999-06-05 03:28:56 +04:00
2006-05-17 06:24:35 +04:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-languages.dtd" >
1999-06-05 03:28:56 +04:00
<page id="langPanel"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="Init();">
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-languages.js"/>
<!-- XXX: Replace strres.js when pref-languages.js is converted -->
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["active_languages", "DefaultCharsetList"];
]]>
</script>
<broadcaster id="intlAcceptLanguages"
value=""
preftype="localizedstring"
prefstring="intl.accept_languages"/>
<hbox class="box-smallheader" title="&languages.customize.lHeader;"/>
<!--
description="&languages.customize.rHeader;
-->
<groupbox orient="vertical" flex="1">
<caption label="&langtitle.label;"/>
<html>&languages.customize.prefLangDescript;</html>
<html>&languages.customize.active.label;</html>
<hbox flex="1">
<tree class="inset" id="active_languages" flex="1" style="width: 0px; height: 0px;"
pref="true" preftype="localizedstring" prefstring="intl.accept_languages" prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
datasources="rdf:null" multiple="true" onselect="SelectLanguage();">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren id="active_languages_root" flex="1"/>
</tree>
<vbox>
<button oncommand="MoveUp();" id="up" class="up" disabled="true"
label="&languages.customize.moveUp.label;"
accesskey="&languages.customize.moveUp.accesskey;"
pref="true" preftype="bool"
prefstring="pref.browser.language.disable_button.up" prefattribute="disabled"/>
<button oncommand="MoveDown();" id="down" class="down" disabled="true"
label="&languages.customize.moveDown.label;"
accesskey="&languages.customize.moveDown.accesskey;"
pref="true" preftype="bool"
prefstring="pref.browser.language.disable_button.down" prefattribute="disabled"/>
<spacer flex="1"/>
<button class="dialog" id="add"
label="&languages.customize.addButton.label;"
oncommand="AddLanguage();"
pref="true" preftype="bool"
prefstring="pref.browser.language.disable_button.add" prefattribute="disabled"/>
<button class="dialog" id="remove" disabled="true"
label="&languages.customize.deleteButton.label;"
oncommand="RemoveActiveLanguage();"
pref="true" preftype="bool"
prefstring="pref.browser.language.disable_button.remove" prefattribute="disabled"/>
</vbox>
</hbox>
</groupbox>
<groupbox orient="vertical" align="start">
<caption label="&languages.customize.Charset.grouplabel;"/>
<text class="label" value="&languages.customize.DefaultCharset.label;" for="DefaultCharsetList"/>
<menulist id="DefaultCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"
pref="true" preftype="localizedstring" prefstring="intl.charset.default"
prefattribute="value" wsm_attributes="value">
<template>
<menupopup>
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
</menupopup>
</template>
</menulist>
</groupbox>
</page>