Mozilla/mozilla/editor/ui/dialogs/content/EdSpellCheck.xul
cmanske%netscape.com 2098c7dea8 Final M13 fixes to Spell Check dialog, bug 21440, r=kin
git-svn-id: svn://10.0.0.236/trunk@58124 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:53:21 +00:00

96 lines
4.3 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/" 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()"
align="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 align="vertical" debug="true">
<box align="horizontal">
<html:label for="MisspelledWord"> &misspelledWord.label; </html:label>
<spring class="bigspacer"/>
<titledbutton id="MisspelledWord"/>
</box>
<html:label for="ReplaceWord"> &wordEditField.label; </html:label>
<box align="horizontal">
<html:input type="text" class="SpellCheckWord" id="ReplaceWord" size="24" onkeyup="ChangeReplaceWord()"/>
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" id="CheckWord" onclick="CheckWord()" value="&checkwordButton.label;"/>
<spring flex="100%"/>
</box>
<spring class="spacer"/>
<html:label> &suggestions.label; </html:label>
<box align="horizontal">
<html:select class="SpellCheckList" id="SuggestedList" size="8" onchange="SelectSuggestedWord()"/>
<box align="vertical">
<box align="horizontal">
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="Ignore" onclick="Ignore()" value="&ignoreButton.label;"/>
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="IgnoreAll" onclick="IgnoreAll()" value="&ignoreallButton.label;"/>
</box>
<spring class="bigspacer"/>
<box align="horizontal">
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="Replace" onclick="Replace()" value="&changeButton.label;"/>
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="ReplaceAll" onclick="ReplaceAll()" value="&changeallButton.label;"/>
</box>
<spring class="bigspacer"/>
<box align="horizontal">
<spring class="bigspacer"/>
<html:label> &userDictionary.label; </html:label>
</box>
<box align="horizontal">
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="AddToDictionary" onclick="AddToDictionary()" value="&addtouserdictionaryButton.label;"/>
<spring class="bigspacer"/>
<titledbutton class="push SizeToParent" flex="100%" id="EditDictionary" onclick="EditDictionary()" value="&edituserdictionaryButton.label;"/>
</box>
</box>
</box>
<html:label> &languagePopup.label; </html:label>
<box align="horizontal">
<html:select class="SpellCheckLanguage" id="LanguageList" size="1" onchange="SelectLanguage()">
<option> &englishLanguagePopup.value; </option>
</html:select>
<spring flex="100%"/>
<titledbutton class="push SizeToParent" id="Close" onclick="Close()" value="&closeButton.label;"/>
<spring class="bigspacer"/>
</box>
</box>
</window>