2006-05-17 06:26:48 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
1999-08-10 06:48:56 +04:00
|
|
|
<!--
|
2006-05-17 06:26:48 +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"?>
|
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
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 06:31:51 +04:00
|
|
|
onload="Init();"
|
|
|
|
headertitle="&languages.customize.lHeader;">
|
2006-05-17 06:26:48 +04:00
|
|
|
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-languages.js"/>
|
2006-05-17 06:29:03 +04:00
|
|
|
<!-- XXX: Replace strres.js when pref-languages.js is converted -->
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
|
|
|
<script type="application/x-javascript">
|
2006-05-17 06:26:48 +04:00
|
|
|
<![CDATA[
|
2006-05-17 06:30:03 +04:00
|
|
|
var _elementIDs = ["active_languages", "DefaultCharsetList"];
|
2006-05-17 06:31:27 +04:00
|
|
|
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
|
|
|
observerService.notifyObservers(null, "charsetmenu-selected", "other");
|
2006-05-17 06:26:48 +04:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<broadcaster id="intlAcceptLanguages"
|
|
|
|
value=""
|
2006-05-17 06:30:47 +04:00
|
|
|
preftype="localizedstring"
|
2006-05-17 06:26:48 +04:00
|
|
|
prefstring="intl.accept_languages"/>
|
|
|
|
|
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<groupbox flex="1">
|
2006-05-17 06:31:17 +04:00
|
|
|
<caption label="&langtitle.label;"/>
|
2006-05-17 06:26:48 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<description>&languages.customize.prefLangDescript;</description>
|
2006-05-17 06:26:48 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<description>&languages.customize.active.label;</description>
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox flex="1">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<tree id="active_languages" flex="1" style="width: 0px; height: 0px;"
|
|
|
|
preftype="localizedstring" prefstring="intl.accept_languages" prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
|
2006-05-17 06:28:01 +04:00
|
|
|
datasources="rdf:null" multiple="true" onselect="SelectLanguage();">
|
2006-05-17 06:26:56 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren id="active_languages_root" flex="1"/>
|
|
|
|
</tree>
|
2006-05-17 06:30:33 +04:00
|
|
|
<vbox>
|
2006-05-17 06:28:01 +04:00
|
|
|
<button oncommand="MoveUp();" id="up" class="up" disabled="true"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&languages.customize.moveUp.label;"
|
2006-05-17 06:29:28 +04:00
|
|
|
accesskey="&languages.customize.moveUp.accesskey;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
prefstring="pref.browser.language.disable_button.up"/>
|
2006-05-17 06:28:01 +04:00
|
|
|
<button oncommand="MoveDown();" id="down" class="down" disabled="true"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&languages.customize.moveDown.label;"
|
2006-05-17 06:29:28 +04:00
|
|
|
accesskey="&languages.customize.moveDown.accesskey;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
prefstring="pref.browser.language.disable_button.down"/>
|
2006-05-17 06:31:25 +04:00
|
|
|
<spacer flex="1"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<button id="add"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&languages.customize.addButton.label;"
|
2006-05-17 06:29:28 +04:00
|
|
|
oncommand="AddLanguage();"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
prefstring="pref.browser.language.disable_button.add"/>
|
|
|
|
<button id="remove" disabled="true"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&languages.customize.deleteButton.label;"
|
2006-05-17 06:29:28 +04:00
|
|
|
oncommand="RemoveActiveLanguage();"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
prefstring="pref.browser.language.disable_button.remove"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<groupbox align="start">
|
2006-05-17 06:31:17 +04:00
|
|
|
<caption label="&languages.customize.Charset.grouplabel;"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
<label value="&languages.customize.DefaultCharset.label;" control="DefaultCharsetList"/>
|
2006-05-17 06:29:54 +04:00
|
|
|
<menulist id="DefaultCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"
|
2006-05-17 06:31:41 +04:00
|
|
|
prefstring="intl.charset.default" preftype="localizedstring"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 06:31:28 +04:00
|
|
|
wsm_attributes="value">
|
2006-05-17 06:29:54 +04:00
|
|
|
<template>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
2006-05-17 06:30:33 +04:00
|
|
|
</groupbox>
|
2006-05-17 06:31:26 +04:00
|
|
|
</page>
|