Adding window.title stuff for internationalization

This commit is contained in:
matt%netscape.com 1999-05-21 01:37:24 +00:00
parent 568acaaba1
commit 0dab9888a3
8 changed files with 37 additions and 55 deletions

View File

@ -9,8 +9,8 @@
<!ENTITY advHeader "Advanced">
<!ENTITY autoLoadImgCheck.label "Automatically load images">
<!ENTITY enbJavaCheck.label "Enable Java">
<!ENTITY enbJsCheck.label "Enable Javascript">
<!ENTITY enbJsCheck.labelforMailNNews "Enable javascript for Mail and News">
<!ENTITY enbJsCheck.label "Enable JavaScript">
<!ENTITY enbJsCheck.labelforMailNNews "Enable JavaScript for Mail and News">
<!ENTITY enbCssCheck.label "Enable style sheets">
<!ENTITY sendAddFtpCheck.label "Send email address as anonymous FTP password">
<!ENTITY cookies "Cookies">
@ -24,7 +24,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Advanced');" title="window.title">
onload="return StartUp('Advanced');" title="&window.title;">
<html:script language="JavaScript" src="PrefsWindow.js">

View File

@ -25,7 +25,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Appearance');" title="window.title">
onload="return StartUp('Appearance');" title="&window.title;">

View File

@ -21,7 +21,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Applications');" title="window.title">
onload="return StartUp('Applications');" title="&window.title;">
<html:script language="JavaScript" src="PrefsWindow.js">
</html:script>

View File

@ -4,19 +4,15 @@
<?xml-stylesheet href="pref.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY title.label "Sample Prefs Panel">
<!ENTITY cacheHeader "cache">
<!ENTITY title.label "Cache">
<!ENTITY cacheHeader "Cache">
<!ENTITY cachePara "The cache is used to keep local copies of frequently accessed documents
and thus reduce time connected to the network. The Reload button will always
compare the cache document to the network and show the most recent one.">
<!ENTITY memCache "Memory Cache:">
<!ENTITY kbyes "Kbytes">
<!ENTITY kbyes "KBytes">
<!ENTITY clearMemcacheButton.label "Clear Memory Cache">
<!ENTITY clearDiskcacheButton.label "Clear Disk Cache">
<!ENTITY extEdit "External Editors">
<!ENTITY htmlSource "Html Source">
<!ENTITY chooseButton.label "Choose...">
<!ENTITY images "Images:">
<!ENTITY docCache "Document in cache is compared to document on network:">
<!ENTITY oncePsessionRadio.label "Once per session">
<!ENTITY everyTimeRadio.label "Every time">
@ -25,7 +21,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Cache');" title="Sample Prefs Panel">
onload="return StartUp('Cache');" title="&title.label;">
<html:script language="JavaScript" src="PrefsWindow.js">
</html:script>
@ -42,22 +38,6 @@
<html:tr><html:td>Disk Cache:<html:input name="memory" type="text" size="3" id="pref:string:composer.source" />&kbyes;<html:input name="cleard" type="button" value="&clearDiskcacheButton.label;" /></html:td></html:tr>
</html:table>
&extEdit;
<html:table>
<html:tr><html:td>&htmlSource;</html:td></html:tr>
<html:tr>
<html:td><html:input name="Choose" type="text" id="pref:string:composer.source" /></html:td>
<html:td><html:input value="&chooseButton.label;" type="button" /></html:td>
</html:tr>
<html:tr><html:td>&images;</html:td></html:tr>
<html:tr>
<html:td><html:input name="Choose" type="text" id="pref:string:composer.images" /></html:td>
<html:td><html:input value="&chooseButton.label;" type="button" /></html:td>
</html:tr>
</html:table>
<html:table>
&docCache;

View File

@ -34,7 +34,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Navigator');" title="Sample Prefs Panel">
onload="return StartUp('Navigator');" title="&title.label;">

View File

@ -9,18 +9,18 @@
<!ENTITY header "Offline">
<!ENTITY header1 "Startup State">
<!ENTITY descipt1 "Communicator can start in either online or offline modes. When
you have full access to your network. When offline you can only read
online you have full access to your network. When offline you can only read
messages that you have previously downloaded.">
<!ENTITY prevRadio "Remember Previous State">
<!ENTITY prevRadio.label "Remember Previous State">
<!ENTITY communRemember "Communticator will remember the state it was in last and start in that mode.">
<!ENTITY askOffline "Ask me">
<!ENTITY askOfflineRadio.label "Ask Me">
<!ENTITY offlineStartAskEach "Communicator will ask you each time you start the program.">
<!ENTITY heaeder2 "When going Online">
<!ENTITY unsentAsk "Ask me if I want to send my unsent messages">
<!ENTITY unsentAuto "Automatically send my unsent messages">
<!ENTITY unsentDoNot "Do not send my unsent messages">
<!ENTITY header3 "When Exiting Communticator">
<!ENTITY promptSynch "Prompt me to synchronize my messages">
<!ENTITY heaeder2 "When Going Online">
<!ENTITY unsentAskRadio.label "Ask me if I want to send my unsent messages">
<!ENTITY unsentAutoRadio.label "Automatically send my unsent messages">
<!ENTITY unsentDoNotRadio.label "Do not send my unsent messages">
<!ENTITY header3 "When Exiting Communicator">
<!ENTITY promptSynchCheck.label "Prompt me to synchronize my messages">
@ -29,7 +29,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('offline');" title="">
onload="return StartUp('offline');" title="&title.label;">
<html:script language="JavaScript" src="PrefsWindow.js">
@ -47,11 +47,11 @@
<html:tr><html:td>&descipt1;
</html:td></html:tr>
<html:tr><html:td><html:label>
<html:input name="state" type="radio" id="pref:0:int:offline.startup_state" />&prevRadio;
<html:input name="state" type="radio" id="pref:0:int:offline.startup_state" />&prevRadio.label;
<html:br />&communRemember;
</html:label></html:td></html:tr>
<html:tr><html:td><html:label>
<html:input name="state" type="radio" id="pref:1:int:offline.startup_state" />askOffline
<html:input name="state" type="radio" id="pref:1:int:offline.startup_state" />&askOfflineRadio.label;
<html:br />&offlineStartAskEach;
</html:label></html:td></html:tr>
@ -60,15 +60,15 @@
<html:table>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages" />&unsentAsk;</html:label></html:td></html:tr>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages" />&unsentAuto;</html:label></html:td></html:tr>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages" />&unsentDoNot;</html:label></html:td></html:tr>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages" />&unsentAskRadio.label;</html:label></html:td></html:tr>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages" />&unsentAutoRadio.label;</html:label></html:td></html:tr>
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages" />&unsentDoNotRadio.label;</html:label></html:td></html:tr>
</html:table>
&header3;
<html:table>
<html:tr><html:td><html:label>
<html:input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit" />&promptSynch;
<html:input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit" />&promptSynchCheck.label;
</html:label></html:td></html:tr>
</html:table>

View File

@ -3,14 +3,16 @@
<?xml-stylesheet href="pref.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY window.title "Composer">
<!ENTITY composerHeader.label "">
<!ENTITY window.title "Publish">
<!ENTITY composerHeader.label "Publish">
<!ENTITY maintainCheckbox.label "Maintain links.">
<!ENTITY adjustDesc.label "Adjust links to work from the page's location.(Links to local pages will work when
<!ENTITY keepCheck.label "Keep images with page.">
<!ENTITY adjustDesc.label "Adjust links to work from the page's location. (Links to local pages will work when
local versions exist.) ">
<!ENTITY saveDesc.label "Save copies of images to the page's location. Images will always
appear in local versions of the page and when the page is published.">
<!ENTITY tip.label "Tip:Check both options if you will be using remote publishing.">
<!ENTITY tip.label "Tip: Check both options if you will be using remote publishing.">
<!ENTITY defaultHeader.label "Default publishing location">
<!ENTITY publishFtp.label "If publishing to a FTP site, enter the HTTP address to browse to:">
<!ENTITY publishhtp.label "If publishing to a FTP site, enter the HTTP address to browse to:">
@ -19,7 +21,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Publish');" title="Sample Prefs Panel">
onload="return StartUp('Publish');" title="&window.title;">
<html:script language="JavaScript" src="PrefsWindow.js">
@ -39,7 +41,7 @@
<html:br />&adjustDesc.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="autosave" type="checkbox" id="pref:1:bool:bool:ceditor.publish_keep_links" />Keep images with page.
<html:input name="autosave" type="checkbox" id="pref:1:bool:bool:ceditor.publish_keep_links" />&keepCheck.label;
<html:br />&saveDesc.label;
</html:td></html:tr>
&tip.label;

View File

@ -3,14 +3,14 @@
<?xml-stylesheet href="pref.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY title.label "Sample Prefs Panel">
<!ENTITY title.label "Samrt Browsing">
<!ENTITY smartHeader.label "Smart Browsing">
<!ENTITY enableRelatedRadio.label "Enable Internet Keywords">
<!ENTITY autoDecp.label "Automatically load Whats Related information">
<!ENTITY neverRadio "Never">
<!ENTITY afterAutoloadFirstRadio "After first use">
<!ENTITY afterAutoloadAlwaysRadio "Always">
<!ENTITY doNotDecp.label "Do not request Whats Related information for the following domains">
<!ENTITY doNotDecp.label "Do not request Whats Related information for the following domains (a comma-seperated list)">
<!ENTITY internetKeywordsHeader.label "Internet Keywords">
<!ENTITY enableKeyCheck.label "Enable Internet Keywords">
@ -18,7 +18,7 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('smart_browsing');" title="">
onload="return StartUp('smart_browsing');" title="title.label">
<html:script language="JavaScript" src="PrefsWindow.js">