skinnability/localizability fixes.

This commit is contained in:
ben%netscape.com 2000-04-30 07:50:48 +00:00
parent 0be507cc88
commit 0f964252d4
7 changed files with 37 additions and 28 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/wizardOverlay.xul"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
@ -10,21 +11,21 @@
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onclose="onCancel();"
onclose="onCancel();"
onload="Startup('newProfile1_1','content');">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://communicator/content/profile/createProfileWizard.js" />
<html:script language="javascript" src="chrome://global/content/wizardOverlay.js" />
<html:script language="javascript" src="chrome://global/content/wizardHandlerSet.js" />
<html:script language="javascript" src="chrome://global/content/wizardManager.js" />
<html:script language="javascript" src="chrome://global/content/widgetStateManager.js" />
<script language="javascript" src="chrome://global/content/strres.js"></script>
<script language="javascript" src="chrome://communicator/content/profile/createProfileWizard.js"></script>
<script language="javascript" src="chrome://global/content/wizardOverlay.js"></script>
<script language="javascript" src="chrome://global/content/wizardHandlerSet.js"></script>
<script language="javascript" src="chrome://global/content/wizardManager.js"></script>
<script language="javascript" src="chrome://global/content/widgetStateManager.js"></script>
<box type="largeheader" id="header" value="&profileWizard.title;"/>
<box class="box-header" id="header" value="&profileWizard.title;"/>
<box id="contentarea" flex="1">
<html:iframe src="about:blank" style="width: 400px; height: 200px;" name="content" id="content" scrolling="none" flex="1"/>
<iframe src="about:blank" style="width: 40em; overflow: auto;" name="content" id="content" flex="1"/>
</box>
<box id="wizardButtons"/>
<box type="status" id="status" value="&window.title.label;" progress=""/>
<box class="box-status" id="status" value="&window.title.label;" progress=""/>
</window>

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
@ -9,16 +10,18 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
align="vertical"
style="width: 350px;"
style="width: 35em;"
title="&title;"
onload="Startup();">
<html:script language="javascript" src="chrome://communicator/content/profile/deleteProfile.js"/>
<script language="javascript" src="chrome://communicator/content/profile/deleteProfile.js"></script>
<keyset id="keyset"/>
<box orient="vertical" flex="1">
<html>&intro;</html>
<html>&question;</html>
<separator class="groove" />
<separator class="groove"/>
<box id="okCancelButtons" class="Button1"/>
</box>

View File

@ -21,6 +21,7 @@
<!-- this is PAGE ONE of the Profile Creation Wizard -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/profile/newProfile1_1.dtd" >

View File

@ -20,6 +20,7 @@
<!-- this is PAGE TWO of the Profile Creation Wizard -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/newProfile1_2.css" type="text/css"?>
@ -28,23 +29,24 @@
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="dialog wizardPanel"
width="500" height="500"
align="vertical"
orient="vertical"
onload="initFields();parent.wizardManager.onPageLoad('newProfile1_2');">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="JavaScript" src="chrome://communicator/content/profile/newProfile1_2.js"/>
<script language="javascript" src="chrome://global/content/strres.js"></script>
<script language="JavaScript" src="chrome://communicator/content/profile/newProfile1_2.js"></script>
<html>&pnl2.intro.text;</html>
<html>&pnl2.pname.label;</html>
<!-- spank me -->
<html:input type="text" id="ProfileName" value="&pnl2.defaultPName.label;" onblur="updateProfileName();"/>
<textfield id="ProfileName" value="&pnl2.defaultPName.label;" onblur="updateProfileName();"/>
<separator/>
<html>&pnl2.pdir.label;</html>
<box id="dirbox">
<box orient="vertical" flex="1">
<html id="ProfileDir"/>
<html class="indent" id="ProfileDir"/>
<spring flex="1"/>
</box>
<box orient="vertical">
<box orient="vertical" valign="top">
<button value="&button.choosefolder.label;" oncommand="chooseProfileFolder();"/>
<button id="useDefault" value="&button.usedefault.label;" oncommand="setDisplayToDefaultFolder();" disabled="true"/>
</box>

View File

@ -74,13 +74,12 @@ function AddItem( aChildren, aProfileObject )
var row = document.createElement("treerow");
var cell = document.createElement("treecell");
cell.setAttribute("value", aProfileObject.mName );
cell.setAttribute("align","left");
cell.setAttribute("rowMigrate", aProfileObject.mMigrated );
row.appendChild(cell);
item.appendChild(row);
item.setAttribute("profile_name", aProfileObject.mName );
item.setAttribute("rowName", aProfileObject.mName );
item.setAttribute("id", ( "profileName_" + aProfileObject.mName ) );
item.setAttribute("rowMigrate", aProfileObject.mMigrated );
item.setAttribute("directory", aProfileObject.mDir );
// 23/10/99 - no roaming access yet!
// var roaming = document.getElementById("roamingitem");

View File

@ -27,6 +27,7 @@
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
@ -41,15 +42,17 @@
onclose="onExit();"
onload="StartUp();">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://communicator/content/profile/profileSelection.js"/>
<html:script language="javascript" src="chrome://communicator/content/profile/profileManager.js"/>
<!-- note: wtf is with the 'onclose' above. Is that a real, actual, valid event?! -->
<script language="javascript" src="chrome://global/content/strres.js"></script>
<script language="javascript" src="chrome://communicator/content/profile/profileSelection.js"></script>
<script language="javascript" src="chrome://communicator/content/profile/profileManager.js"></script>
<keyset id="keyset">
<key id="fooKey" key="s" xulkey="true" shift="true" onkeydown="foo()"/>
</keyset>
<box type="largeheader" id="header" value="&windowtitle.label;"/>
<box class="box-header" id="header" value="&windowtitle.label;"/>
<box id="contentarea" flex="1">
@ -78,7 +81,7 @@
<treecol/>
<treehead>
<treerow>
<treecell value="&availprofiles.label;"/>
<treecell class="treecell-header outset" value="&availprofiles.label;"/>
</treerow>
</treehead>
<treechildren id="profilekids"/>
@ -95,6 +98,6 @@
<separator class="thin" />
<box type="status" value="&profilemanager.label;" progress=""/>
<box class="box-status" value="&profilemanager.label;" progress=""/>
</window>

View File

@ -52,7 +52,7 @@
<!ENTITY newButton.label "Create Profile...">
<!-- manager entities -->
<!ENTITY pmTextA.label "Mozilla stores information about your settings, preferences, bookmarks, saved messages and other user items in your user profile.">
<!ENTITY pmTextA.label "Mozilla stores information about your settings, preferences, bookmarks, mail and other user items in your user profile.">
<!ENTITY pmTextC.label "You must select a profile, or create a new profile, the first time you start Mozilla.">
<!ENTITY pmTextB.label "Indicates a profile created with a previous version of Communicator. These profiles must be converted before they can be loaded with Mozilla. This is an automated process.">