119 lines
3.9 KiB
XML
119 lines
3.9 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://global/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 -->
|
|
<xul:window class="dialog" title="&windowTitle.label;"
|
|
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns="http://www.w3.org/TR/REC-html40"
|
|
onload = "Startup()"
|
|
align="vertical">
|
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js">
|
|
</script>
|
|
<script language="JavaScript" src="chrome://editor/content/EdSpellCheck.js">
|
|
</script>
|
|
<!-- The argument to ShowWindowWithArgs (the editor appCore name) is placed here -->
|
|
<xul:broadcaster id="args" value=""/>
|
|
|
|
<table>
|
|
<tr>
|
|
<td colspan="3">
|
|
<label for="Word"> &wordEditField.label; </label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="text" class="SpellCheckWord" id="Word" size="24"/>
|
|
</td>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="CheckWord" onclick="CheckWord()" value="&checkwordButton.label;"/>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<label> &suggestions.label; </label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="5">
|
|
<select class="SpellCheckList" id="SuggestedList" size="8" onchange="SelectSuggestedWord()">
|
|
</select>
|
|
</td>
|
|
<!-- THIS IS A BOGUS HACK TO COMPENSATE FOR A DISPLAY BUG -->
|
|
<td colspan="2">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="Ignore" onclick="Ignore()" value="&ignoreButton.label;"/>
|
|
</td>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="IgnoreAll" onclick="IgnoreAll()" value="&ignoreallButton.label;"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="Replace" onclick="Replace()" value="&changeButton.label;"/>
|
|
</td>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="ReplaceAll" onclick="ReplaceAll()" value="&changeallButton.label;"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<label> &userDictionary.label; </label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="AddToDictionary" onclick="AddToDictionary()" value="&addtouserdictionaryButton.label;"/>
|
|
</td>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="EditDictionary" onclick="EditDictionary()" value="&edituserdictionaryButton.label;"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<label> &languagePopup.label; </label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<select class="SpellCheckLanguage" id="LanguageList" size="1" onchange="SelectLanguage()">
|
|
<option> &englishLanguagePopup.value; </option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<xul:titledbutton class="SizeToParent" id="Close" onclick="Close()" value="&closeButton.label;"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xul:window>
|