OSDN Git Service

import source-tree based svn r84.
[bluegriffon/BlueGriffon.git] / base / content / bluegriffon / dialogs / languages.xul
1 <?xml version="1.0"?>
2
3 <!--
4    - The contents of this file are subject to the Netscape Public
5    - License Version 1.1 (the "License"); you may not use this file
6    - except in compliance with the License. You may obtain a copy of
7    - the License at http://www.mozilla.org/NPL/
8    -  
9    - Software distributed under the License is distributed on an "AS
10    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11    - implied. See the License for the specific language governing
12    - rights and limitations under the License.
13    -  
14    - The Original Code is Mozilla Communicator client code, released
15    - March 31, 1998.
16    - 
17    - The Initial Developer of the Original Code is Netscape
18    - Communications Corporation. Portions created by Netscape are
19    - Copyright (C) 1998-2000 Netscape Communications Corporation. All
20    - Rights Reserved.
21    - 
22    - Contributor(s): 
23   -->
24
25 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
26 <?xml-stylesheet href="chrome://bluegriffon/skin/languages.css" type="text/css"?>
27 <?xml-stylesheet href="chrome://bluegriffon/skin/bluegriffonDialogs.css" type="text/css"?>
28
29 <!DOCTYPE dialog SYSTEM "chrome://bluegriffon/locale/languages.dtd">
30
31 <dialog title="&window.title;"
32         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
33         onload="Startup()"
34         buttons="accept,cancel"
35         ondialogaccept="return onAccept();"
36         persist="screenX screenY"
37         screenX="24" screenY="24">
38
39   <script type="application/x-javascript" src="chrome://bluegriffon/content/utils/dgid.js"/>
40   <script type="application/x-javascript" src="chrome://bluegriffon/content/utils/global.js"/>
41   <script type="application/x-javascript" src="chrome://bluegriffon/content/utils/editorUtils.js"/>
42   <script type="application/x-javascript" src="chrome://bluegriffon/content/utils/css.js"/>
43   <script type="application/x-javascript" src="chrome://bluegriffon/content/utils/l10n.js"/>
44   <script type="application/javascript"   src="chrome://bluegriffon/content/js/languages.js"/>
45   <script type="application/x-javascript" src="chrome://bluegriffon/content/dialogs/languages.js"/>
46
47   <stringbundleset id="languageSet">
48     <stringbundle id="bundleRegions"      src="chrome://global/locale/regionNames.properties"/>
49     <stringbundle id="bundleLanguages"    src="chrome://global/locale/languageNames.properties"/>
50     <stringbundle id="bundlePreferences"  src="chrome://bluegriffon/locale/language.properties"/>
51     <stringbundle id="bundleAccepted"     src="resource://gre/res/language.properties"/>
52   </stringbundleset>
53
54   <hbox align="center" id="currentLanguageBox">
55     <label value="&currentLanguage.label;"/>
56     <label id="currentLanguage"/>
57   </hbox>
58
59   <label value="&languagesList.label;" />
60
61   <listbox id="languageListBox" rows="8" seltype="single"
62            onselect="onListboxSelect()" />
63
64   <hbox align="center">
65     <label value="&others.label;"
66            accesskey="&others.accesskey;"
67            control="otherTextBox" />
68     <textbox id="otherTextBox"
69              oninput="onTextboxInput()" />
70     <label value="&examples.label;"/>
71   </hbox>
72   <checkbox id="clearSubtree"
73             hidden="true"
74             checked="true"
75             label="&clearSubtree.label;"/>
76 </dialog>