37376 Customize charset coding

This commit is contained in:
jbetak%netscape.com 2000-05-11 06:13:11 +00:00
parent fab9214a26
commit bb45e93728
2 changed files with 34 additions and 27 deletions

View File

@ -35,11 +35,11 @@
onload="Init();"
align="vertical"
persist="width height"
width="500" height="379">
width="500" height="394">
<html:script language="javascript" src="pref-charset.js"/>
<script language="javascript" src="chrome://communicator/content/pref/pref-charset.js"></script>
<box type="smallheader"
<box class="box-smallheader"
title="&charset.customize.left.header;"
id="confirm_text"
value="&charset.customize.save.popup;"
@ -59,9 +59,10 @@
<!-- vert 1 -->
<box align="vertical" flex="1">
<html:div class="vertical-gap">
<separator/>
<html>
&charset.customize.additional.label;
</html:div>
</html>
<!-- horz 2a -->
<box align="horizontal" class="box-group" flex="1">
@ -85,8 +86,7 @@
<!-- Add Charset Button -->
<!-- horz 3 -->
<box align="horizontal" class="button-group">
<titledbutton
id="add_button"
<button id="add_button"
onclick="AddAvailableCharset();"
class="dialog push"
value="&charset.customize.add.label;"
@ -105,12 +105,11 @@
<!-- vert 2 -->
<box align="vertical" flex="1">
<html:div class="vertical-gap">
<separator/>
<html>
&charset.customize.current.label;
</html:div>
</html>
<!-- ??? <spring class="vgap"/> ???? -->
<!-- horz 4 -->
<box align="horizontal" class="box-group" flex="1">
@ -133,7 +132,7 @@
<!-- The Remove Charset Button -->
<!-- horz 5 -->
<box align="horizontal" class="button-group">
<titledbutton id="remove_button" onclick="RemoveActiveCharset();"
<button id="remove_button" onclick="RemoveActiveCharset();"
class="dialog push" disabled="true"
value="&charset.customize.remove.label;" />
</box>
@ -149,12 +148,18 @@
<!-- vert 3 -->
<box align="vertical">
<spring flex="50%"/>
<titledbutton onclick="MoveUp();" id="up" class="borderless up" />
<html:div>
&charset.customize.reorder.label;
</html:div>
<titledbutton onclick="MoveDown();" id="down"
class="borderless down" />
<button onclick="MoveUp();" id="up" class="borderless up"
value="&charset.customize.moveUp.label;" accesskey="&charset.customize.moveUp.accesskey;" />
<!--
<html>
&charset.customize.reorder.label;
</html>
-->
<button onclick="MoveDown();" id="down"
class="borderless down"
value="&charset.customize.moveDown.label;" accesskey="&charset.customize.moveDown.accesskey;" />
<spring flex="50%"/>
</box>
<!-- vert 3 -->
@ -163,20 +168,18 @@
</box>
<!-- horz 2 -->
<html:div>
<html:hr />
</html:div>
<separator class="groove"/>
<!-- The 'Save' and 'Cancel' buttons -->
<!-- horz 6 -->
<box align="horizontal">
<spring flex="48%"/>
<titledbutton id="save_button" onclick="Save();"
<button id="save_button" onclick="Save();"
class="dialog push"
value="&charset.customize.save.label;"
disabled="true"/>
<spring flex="4%"/>
<titledbutton onclick="window.close()"
<button onclick="window.close()"
class="dialog push"
value="&charset.customize.cancel.label;" />
<spring flex="48%"/>

View File

@ -22,16 +22,20 @@
<!-- extracted from ./pref-charset.xul -->
<!-- LOCALIZATION NOTE Charset Coding Preferences Dialog: Do NOT localize the term "Character Coding" -->
<!ENTITY charset.customize.title.label "Customize Character Coding">
<!ENTITY charset.customize.left.header "Character Coding">
<!ENTITY charset.customize.right.header "Select Supported Charsets">
<!ENTITY charset.customize.title.label "Customize Character Coding">
<!ENTITY charset.customize.left.header "Character Coding">
<!ENTITY charset.customize.right.header "Select Supported Charsets">
<!ENTITY charset.customize.current.label "Active Charactersets">
<!ENTITY charset.customize.reorder.label "Reorder">
<!ENTITY charset.customize.remove.label "Remove">
<!ENTITY charset.customize.additional.label "Available Charactersets">
<!ENTITY charset.customize.add.label "Add">
<!ENTITY charset.customize.cancel.label "Cancel">
<!ENTITY charset.customize.cancel.label "Cancel">
<!ENTITY charset.customize.save.label "Save">
<!ENTITY charset.customize.save.popup "Please restart the browser for changes to take effect...">
<!ENTITY charset.customize.moveUp.label "Up">
<!ENTITY charset.customize.moveUp.accesskey "u">
<!ENTITY charset.customize.moveDown.label "Down">
<!ENTITY charset.customize.moveDown.accesskey "d">