101 lines
4.2 KiB
XML
101 lines
4.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
- 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):
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorSpellCheck.dtd">
|
|
|
|
<!-- dialog containing a control requiring initial setup -->
|
|
<window class="dialog" title="&windowTitle.label;"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload = "Startup()"
|
|
orient="vertical">
|
|
|
|
<html:script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
<html:script language="JavaScript" src="chrome://editor/content/EdSpellCheck.js"/>
|
|
<!-- The argument to ShowWindowWithArgs (the editor appCore name) is placed here -->
|
|
<broadcaster id="args" value=""/>
|
|
|
|
<box orient="vertical">
|
|
<box>
|
|
<!-- value is set in JS -->
|
|
<text class="label" id="MisspelledWordLabel"/>
|
|
<spring class="bigspacer"/>
|
|
<text class="label bold" id="MisspelledWord"/>
|
|
</box>
|
|
<text class="label" id="ReplaceWordLabel" value="&wordEditField.label;"/>
|
|
<box>
|
|
<textfield class="MinWidth20em" id="ReplaceWord" onkeyup="ChangeReplaceWord()"/>
|
|
<spring class="spacer"/>
|
|
<box flex="1">
|
|
<button class="label MinWidth5em" flex="1" id="CheckWord" oncommand="CheckWord()" value="&checkwordButton.label;"/>
|
|
<spring class="MinWidth20em" flex="1"/>
|
|
</box>
|
|
</box>
|
|
<spring class="spacer"/>
|
|
<text class="label" id="SuggestedListLabel" value="&suggestions.label;"/>
|
|
<box>
|
|
<tree rows="8" class="list MinWidth20em" id="SuggestedList" onselect="SelectSuggestedWord()" onclick="SelectSuggestedWord()"/>
|
|
<spring class="spacer"/>
|
|
<grid flex="1">
|
|
<columns><column flex="1"/><column flex="1"/></columns>
|
|
<rows>
|
|
<row>
|
|
<button class="dialog" flex="1" id="Ignore" oncommand="Ignore()" value="&ignoreButton.label;"/>
|
|
<button class="dialog" flex="1" id="IgnoreAll" oncommand="IgnoreAll()" value="&ignoreAllButton.label;"/>
|
|
</row>
|
|
<row>
|
|
<button class="dialog" flex="1" id="Replace" oncommand="Replace()" value="&changeButton.label;"/>
|
|
<button class="dialog" flex="1" id="ReplaceAll" oncommand="ReplaceAll()" value="&changeAllButton.label;"/>
|
|
</row>
|
|
<row>
|
|
<text class="label" flex="1" value="&userDictionary.label;"/>
|
|
<spring/>
|
|
</row>
|
|
<row>
|
|
<button class="dialog" flex="1" id="AddToDictionary" oncommand="AddToDictionary()" value="&addToUserDictionaryButton.label;"/>
|
|
<button class="dialog" flex="1" id="EditDictionary" oncommand="EditDictionary()" value="&editUserDictionaryButton.label;"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</box>
|
|
<text class="label" value ="&languagePopup.label;"/>
|
|
<box>
|
|
<menulist class="MinWidth20em" id="LanguageMenulist" oncommand="SelectLanguage()">
|
|
<menupopup>
|
|
<menuitem id="English" value="&englishLanguagePopup.value;"/>
|
|
<menuitem id="Spanish" value="&spanishLanguagePopup.value;"/>
|
|
<menuitem id="French" value="&frenchLanguagePopup.value;"/>
|
|
</menupopup>
|
|
</menulist>
|
|
<spring class="spacer"/>
|
|
<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>
|
|
</box>
|
|
</box>
|
|
</window>
|