2006-05-17 02:26:48 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
1999-08-10 02:48:56 +00:00
|
|
|
<!--
|
2006-05-17 02:26:48 +00:00
|
|
|
|
2006-05-17 02:39:15 +00:00
|
|
|
***** BEGIN LICENSE BLOCK *****
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.mozilla.org/MPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
for the specific language governing rights and limitations under the
|
|
|
|
License.
|
|
|
|
|
|
|
|
The Original Code is mozilla.org Code.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
|
Netscape Communications Corporation.
|
|
|
|
Portions created by the Initial Developer are Copyright (C) 1999
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
of those above. If you wish to allow use of your version of this file only
|
|
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
|
|
decision by deleting the provisions above and replace them with the notice
|
|
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
the provisions above, a recipient may use your version of this file under
|
|
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
2006-05-17 02:26:48 +00:00
|
|
|
|
2006-05-17 02:24:36 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:35:16 +00:00
|
|
|
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-languages.dtd" >
|
1999-06-04 23:28:56 +00: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 02:31:28 +00:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:31:51 +00:00
|
|
|
onload="Init();"
|
|
|
|
headertitle="&languages.customize.lHeader;">
|
2006-05-17 02:26:48 +00:00
|
|
|
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-languages.js"/>
|
2006-05-17 02:29:03 +00:00
|
|
|
<!-- XXX: Replace strres.js when pref-languages.js is converted -->
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
|
|
|
<script type="application/x-javascript">
|
2006-05-17 02:26:48 +00:00
|
|
|
<![CDATA[
|
2006-05-17 02:30:03 +00:00
|
|
|
var _elementIDs = ["active_languages", "DefaultCharsetList"];
|
2006-05-17 02:31:27 +00:00
|
|
|
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
|
|
|
observerService.notifyObservers(null, "charsetmenu-selected", "other");
|
2006-05-17 02:26:48 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<broadcaster id="intlAcceptLanguages"
|
|
|
|
value=""
|
2006-05-17 02:30:47 +00:00
|
|
|
preftype="localizedstring"
|
2006-05-17 02:36:38 +00:00
|
|
|
prefattribute="value"
|
2006-05-17 02:26:48 +00: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 02:31:28 +00:00
|
|
|
<groupbox flex="1">
|
2006-05-17 02:31:17 +00:00
|
|
|
<caption label="&langtitle.label;"/>
|
2006-05-17 02:26:48 +00: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 02:31:28 +00:00
|
|
|
<description>&languages.customize.prefLangDescript;</description>
|
2006-05-17 02:26:48 +00:00
|
|
|
|
2006-05-17 02:39:27 +00:00
|
|
|
<label control="active_languages">&languages.customize.active.label;</label>
|
2006-05-17 02:30:33 +00:00
|
|
|
<hbox flex="1">
|
2006-05-17 02:34:33 +00:00
|
|
|
<listbox id="active_languages" flex="1" style="width: 0px; height: 0px;"
|
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 02:31:28 +00:00
|
|
|
preftype="localizedstring" prefstring="intl.accept_languages" prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
|
2006-05-17 02:34:33 +00:00
|
|
|
seltype="multiple" onselect="SelectLanguage();"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
<vbox>
|
2006-05-17 02:28:01 +00:00
|
|
|
<button oncommand="MoveUp();" id="up" class="up" disabled="true"
|
2006-05-17 02:28:51 +00:00
|
|
|
label="&languages.customize.moveUp.label;"
|
2006-05-17 02:29:28 +00: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 02:31:28 +00:00
|
|
|
prefstring="pref.browser.language.disable_button.up"/>
|
2006-05-17 02:28:01 +00:00
|
|
|
<button oncommand="MoveDown();" id="down" class="down" disabled="true"
|
2006-05-17 02:28:51 +00:00
|
|
|
label="&languages.customize.moveDown.label;"
|
2006-05-17 02:29:28 +00: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 02:31:28 +00:00
|
|
|
prefstring="pref.browser.language.disable_button.down"/>
|
2006-05-17 02:31:25 +00: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 02:31:28 +00:00
|
|
|
<button id="add"
|
2006-05-17 02:28:51 +00:00
|
|
|
label="&languages.customize.addButton.label;"
|
2006-05-17 02:36:36 +00:00
|
|
|
accesskey="&languages.customize.addButton.accesskey;"
|
2006-05-17 02:29:28 +00: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 02:31:28 +00:00
|
|
|
prefstring="pref.browser.language.disable_button.add"/>
|
|
|
|
<button id="remove" disabled="true"
|
2006-05-17 02:28:51 +00:00
|
|
|
label="&languages.customize.deleteButton.label;"
|
2006-05-17 02:36:36 +00:00
|
|
|
accesskey="&languages.customize.deleteButton.accesskey;"
|
2006-05-17 02:29:28 +00: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 02:31:28 +00:00
|
|
|
prefstring="pref.browser.language.disable_button.remove"/>
|
2006-05-17 02:30:33 +00: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 02:31:28 +00:00
|
|
|
<groupbox align="start">
|
2006-05-17 02:31:17 +00:00
|
|
|
<caption label="&languages.customize.Charset.grouplabel;"/>
|
2006-05-17 02:36:37 +00:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&languages.customize.DefaultCharset.label;" accesskey="&languages.customize.DefaultCharset.accesskey;" control="DefaultCharsetList"/>
|
|
|
|
<menulist id="DefaultCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"
|
|
|
|
prefstring="intl.charset.default" preftype="localizedstring"
|
|
|
|
wsm_attributes="value">
|
|
|
|
<template>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
2006-05-17 02:30:33 +00:00
|
|
|
</groupbox>
|
2006-05-17 02:31:26 +00:00
|
|
|
</page>
|