mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Adding prefs xul files approved by hoffman for internationalization
This commit is contained in:
parent
7b48b9bebb
commit
6eae663e3d
58
xpfe/AppCores/xul/pref-colors.xul
Normal file
58
xpfe/AppCores/xul/pref-colors.xul
Normal file
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="dialog.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY window.title "Colors">
|
||||
<!ENTITY colorsHeader "Colors">
|
||||
<!ENTITY text "Text:">
|
||||
<!ENTITY colorPick "Color Picker">
|
||||
<!ENTITY background "Background:">
|
||||
<!ENTITY useWinColorsCheck.label "Use Windows colors">
|
||||
<!ENTITY underLinksCheck.label "Underline links">
|
||||
<!ENTITY links "Links">
|
||||
<!ENTITY unvisit "Unvisited Links:">
|
||||
<!ENTITY visit "Visited Links:">
|
||||
<!ENTITY someProvColors "Sometimes a document will provide its own colors and background.">
|
||||
<!ENTITY alwaysOverCheck.label "Always use my colors, overriding documents.">
|
||||
|
||||
]
|
||||
>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Colors');" title="title.label">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:div ID="top"><html:span ID="lefttext">
|
||||
&colorsHeader;
|
||||
</html:span>
|
||||
</html:div>
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&text;</html:td><html:td>&text;</html:td></html:tr>
|
||||
<html:tr><html:td>&background;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors" val="checked" />&useWinColorsCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
<html:table>
|
||||
&links;
|
||||
|
||||
<html:tr><html:td>&unvisit;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td>&visit;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.underline_anchors" val="checked" />&underLinksCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
<html:br />
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&someProvColors;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.use_document_" />&alwaysOverCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</window>
|
73
xpfe/AppCores/xul/pref-download.xul
Normal file
73
xpfe/AppCores/xul/pref-download.xul
Normal file
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="dialog.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY title.label "Download">
|
||||
<!ENTITY download "Download">
|
||||
<!ENTITY newmes "Newsgroup Messages">
|
||||
<!ENTITY downUnread "Download only unread messages">
|
||||
<!ENTITY downloadDate "Download by date">
|
||||
<!ENTITY fromRadio.label "from">
|
||||
<!ENTITY one.select "1 week ago">
|
||||
<!ENTITY two.select "2 weeks ago">
|
||||
<!ENTITY oneM.select "1 month ago">
|
||||
<!ENTITY sixM.select "6 months ago">
|
||||
<!ENTITY oneY.select "1 year ago">
|
||||
<!ENTITY sinceRadio.label "since">
|
||||
<!ENTITY daysAgo "days ago">
|
||||
<!ENTITY Allmsg "All Messages">
|
||||
<!ENTITY offlineMsgs "In order to read mail and newsgroup messages offline, you must
|
||||
first select them for downloading. Use the Select... button to
|
||||
select items for dowloading.">
|
||||
<!ENTITY select "Select...">
|
||||
|
||||
|
||||
|
||||
]>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Download');" title="&title.label;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">Download</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
&newmes;
|
||||
<html:table>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:offline.news.download.unread_only" />Download only unread messages</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:offline.news.download.by_date" />Download by date</html:label></html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:label>
|
||||
<html:input type="radio" name="offline" id="pref:0:int:offline.news.download.use_days" val="checked" />&fromRadio.label;
|
||||
|
||||
<html:select id="pref:0:">
|
||||
<html:OPTION />&one.select;
|
||||
<html:OPTION />&two.select;
|
||||
<html:OPTION />&oneM.select;
|
||||
<html:OPTION />&sixM.select;
|
||||
<html:OPTION />&oneY.select;
|
||||
</html:select></html:label></html:td></html:tr>
|
||||
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input type="radio" name="offline" id="pref:1:int:offline.news.download.use_days" />&sinceRadio.label;
|
||||
<html:input type="text" size="5" id="pref:2:browser.use_document_fonts" />&daysAgo;
|
||||
</html:label></html:td></html:tr>
|
||||
|
||||
</html:table>
|
||||
&Allmsg;
|
||||
<html:table>
|
||||
<html:tr><html:td>&offlineMsgs;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:input type="button" value="&select;" id="pref:2:offline" /></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
</html:table>
|
||||
</window>
|
@ -3,11 +3,26 @@
|
||||
<?xml-stylesheet href="dialog.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY window.title "Languages">
|
||||
<!ENTITY LangHeader "Languages">
|
||||
<!ENTITY prefLangDecript "Choose in order of preference the language(s)
|
||||
in which you prefer to view web pages. Web pages are sometimes
|
||||
available in several languages. Naveigator presents pages in
|
||||
the available language you most prefer.">
|
||||
<!ENTITY engOption.label "English">
|
||||
<!ENTITY addButton.label "Add...">
|
||||
<!ENTITY deleteButton.label "Delete...">
|
||||
|
||||
|
||||
|
||||
]
|
||||
>
|
||||
|
||||
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload = "return StartUp('Languages')">
|
||||
onload = "return StartUp('Languages')" title="window.title">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
@ -15,28 +30,27 @@
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">Languages</html:SPAN>
|
||||
<html:SPAN ID="lefttext">&LangHeader;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>Choose in order of preference the language(s)
|
||||
in which you prefer to view web pages. Web pages are sometimes
|
||||
available in several languages. Naveigator presents pages in
|
||||
the available language you most prefer.
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&prefLangDecript;
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:select name="textstyle" size="5">
|
||||
<optgroup>
|
||||
<html:option value="0" id="pref:string:intl.accept_languages">English</html:option>
|
||||
<html:option value="0" id="pref:string:intl.accept_languages">&engOption.label;</html:option>
|
||||
</optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td><html:input name="choose" type="button" value="Add..." /></html:td>
|
||||
<html:td><html:input name="choose" type="button" value="&addButton.label;" /></html:td>
|
||||
<html:td>
|
||||
<html:input name="choose" type="button" value="Delete...">
|
||||
<html:input name="choose" type="button" value="deleteButton.label">
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:table>
|
||||
<html:form>
|
||||
</window>
|
Loading…
Reference in New Issue
Block a user