1999-05-14 00:59:08 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-25 18:40:33 +04:00
|
|
|
|
|
|
|
<!--
|
|
|
|
- The contents of this file are subject to the Netscape 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/NPL/
|
|
|
|
-
|
|
|
|
- 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 Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Netscape
|
|
|
|
- Communications Corporation. Portions created by Netscape are
|
|
|
|
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
-->
|
|
|
|
|
2000-04-20 01:42:30 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
1999-07-21 23:56:21 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
1999-08-09 17:33:03 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorSpellCheck.dtd">
|
1999-07-14 22:00:26 +04:00
|
|
|
|
1999-05-14 00:59:08 +04:00
|
|
|
<!-- dialog containing a control requiring initial setup -->
|
2000-01-18 23:27:21 +03:00
|
|
|
<window class="dialog" title="&windowTitle.label;"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-01-18 23:27:21 +03:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-07-03 02:52:34 +04:00
|
|
|
onload = "Startup()"
|
2000-06-16 18:22:12 +04:00
|
|
|
persist="screenX screenY"
|
2000-04-21 19:00:23 +04:00
|
|
|
orient="vertical">
|
1999-05-14 00:59:08 +04:00
|
|
|
|
2000-05-05 02:21:35 +04:00
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdSpellCheck.js"/>
|
|
|
|
<script language="Javascript" src="chrome://global/content/strres.js" />
|
1999-05-14 00:59:08 +04:00
|
|
|
<!-- The argument to ShowWindowWithArgs (the editor appCore name) is placed here -->
|
2000-01-18 23:27:21 +03:00
|
|
|
<broadcaster id="args" value=""/>
|
2000-04-28 09:59:16 +04:00
|
|
|
<box>
|
2000-04-14 07:19:31 +04:00
|
|
|
<!-- value is set in JS -->
|
2000-04-21 19:00:23 +04:00
|
|
|
<text class="label" id="MisspelledWordLabel"/>
|
2000-01-19 00:53:21 +03:00
|
|
|
<spring class="bigspacer"/>
|
2000-04-21 19:00:23 +04:00
|
|
|
<text class="label bold" id="MisspelledWord"/>
|
2000-01-19 00:53:21 +03:00
|
|
|
</box>
|
2000-05-05 02:21:35 +04:00
|
|
|
<grid>
|
|
|
|
<columns><column style="width: 15em" flex="1"/><column style="width: 15em" flex="1"/></columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<text class="label" id="ReplaceWordLabel" value="&wordEditField.label;"/>
|
|
|
|
<spring/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<textfield id="ReplaceWord" onkeyup="ChangeReplaceWord()"/>
|
|
|
|
<box flex="1">
|
|
|
|
<button id="CheckWord" oncommand="CheckWord()" value="&checkwordButton.label;"/>
|
|
|
|
</box>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text class="label" id="SuggestedListLabel" value="&suggestions.label;"/>
|
|
|
|
<spring/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<!-- BUG! setting class="MinWidth20em" on tree doesn't work (width=0) -->
|
|
|
|
<tree rows="8" class="list" id="SuggestedList" onselect="SelectSuggestedWord()" onclick="SelectSuggestedWord()"/>
|
|
|
|
<grid flex="1">
|
|
|
|
<columns><column flex="1"/><column flex="1"/></columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<button class="dialog" id="Ignore" oncommand="Ignore()" value="&ignoreButton.label;"/>
|
|
|
|
<button class="dialog" flex="1" id="IgnoreAll" oncommand="IgnoreAll()" value="&ignoreAllButton.label;"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<button class="dialog" id="Replace" oncommand="Replace()" value="&changeButton.label;"/>
|
|
|
|
<button class="dialog" id="ReplaceAll" oncommand="ReplaceAll()" value="&changeAllButton.label;"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text class="label" value="&userDictionary.label;"/>
|
|
|
|
<spring/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<button class="dialog" id="AddToDictionary" oncommand="AddToDictionary()" value="&addToUserDictionaryButton.label;"/>
|
|
|
|
<button class="dialog" id="EditDictionary" oncommand="EditDictionary()" value="&editUserDictionaryButton.label;"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text class="label" value ="&languagePopup.label;"/>
|
|
|
|
<spring/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<menulist id="LanguageMenulist" oncommand="SelectLanguage()" flex="1"/>
|
|
|
|
<!-- contents are appended by JS -->
|
|
|
|
<box flex="1">
|
|
|
|
<button class="dialog" id="Recheck" flex="1" value="&recheckButton.label;" oncommand="Recheck()"/>
|
|
|
|
<button class="dialog" id="Close" flex="1" value="&closeButton.label;" oncommand="Close()"/>
|
|
|
|
</box>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2000-01-18 23:27:21 +03:00
|
|
|
</window>
|