Skip to content

Commit

Permalink
bug 62730, put wallet xul files into language packs, coder=ftang, r=m…
Browse files Browse the repository at this point in the history
…orse, sr=alecf, a=asa
  • Loading branch information
morse%netscape.com committed Jun 8, 2001
1 parent 3c04234 commit a45ce95
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 50 deletions.
1 change: 1 addition & 0 deletions extensions/wallet/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ include $(topsrcdir)/config/rules.mk
install::
@$(REGCHROME) content wallet comm.jar
@$(REGCHROME) locale en-US/wallet en-US.jar
@$(REGCHROME) locale US/wallet US.jar
36 changes: 18 additions & 18 deletions extensions/wallet/editor/WalletTree.xul
Original file line number Diff line number Diff line change
Expand Up @@ -53,101 +53,101 @@

<treeitem container="true" open="true" id="primary">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletPrimary.xul" label="&primary.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletPrimary.xul" label="&primary.label;"/>
</treerow>
<treechildren>
<treeitem id="pnameID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletName.xul" label="&pname.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletName.xul" label="&pname.label;"/>
</treerow>
</treeitem>
<treeitem id="paddressID">
<treerow>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&paddress.label;"/>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&paddress.label;"/>
</treerow>
</treeitem>
<treeitem id="pphoneID">
<treerow>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&pphone.label;"/>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&pphone.label;"/>
</treerow>
</treeitem>
<treeitem id="pcreditID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletCredit.xul" label="&pcredit.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletCredit.xul" label="&pcredit.label;"/>
</treerow>
</treeitem>
<treeitem id="pemployID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletEmploy.xul" label="&pemploy.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletEmploy.xul" label="&pemploy.label;"/>
</treerow>
</treeitem>
<treeitem id="pmiscID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletMisc.xul" label="&pmisc.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletMisc.xul" label="&pmisc.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="shipping">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletShipping.xul" label="&shipping.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletShipping.xul" label="&shipping.label;"/>
</treerow>
<treechildren>
<treeitem id="snameID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletName.xul" label="&sname.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletName.xul" label="&sname.label;"/>
</treerow>
</treeitem>
<treeitem id="saddressID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&saddress.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&saddress.label;"/>
</treerow>
</treeitem>
<treeitem id="sphoneID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&sphone.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&sphone.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="billing">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletBilling.xul" label="&billing.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletBilling.xul" label="&billing.label;"/>
</treerow>
<treechildren>
<treeitem id="bnameID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletName.xul" label="&bname.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletName.xul" label="&bname.label;"/>
</treerow>
</treeitem>
<treeitem id="baddressID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&baddress.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&baddress.label;"/>
</treerow>
</treeitem>
<treeitem id="bphoneID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&bphone.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&bphone.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="other">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletOther.xul" label="&other.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletOther.xul" label="&other.label;"/>
</treerow>
<treechildren>
<treeitem id="concatenatedID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletConcatenated.xul" label="&concatenated.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletConcatenated.xul" label="&concatenated.label;"/>
</treerow>
</treeitem>
<treeitem id="urlspecificID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletUrlspecific.xul" label="&urlspecific.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletUrlspecific.xul" label="&urlspecific.label;"/>
</treerow>
</treeitem>
</treechildren>
Expand Down
2 changes: 1 addition & 1 deletion extensions/wallet/editor/WalletViewer.xul
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
<script type="application/x-javascript">
<![CDATA[
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/wallet/WalletName.xul");
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/locale/wallet/WalletName.xul");
document.getElementById("panelFrame").setAttribute("tag", "" );
]]>
</script>
Expand Down
36 changes: 18 additions & 18 deletions extensions/wallet/editor/resources/content/WalletTree.xul
Original file line number Diff line number Diff line change
Expand Up @@ -53,101 +53,101 @@

<treeitem container="true" open="true" id="primary">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletPrimary.xul" label="&primary.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletPrimary.xul" label="&primary.label;"/>
</treerow>
<treechildren>
<treeitem id="pnameID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletName.xul" label="&pname.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletName.xul" label="&pname.label;"/>
</treerow>
</treeitem>
<treeitem id="paddressID">
<treerow>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&paddress.label;"/>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&paddress.label;"/>
</treerow>
</treeitem>
<treeitem id="pphoneID">
<treerow>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&pphone.label;"/>
<treecell class="treecell-indent" tag="home." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&pphone.label;"/>
</treerow>
</treeitem>
<treeitem id="pcreditID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletCredit.xul" label="&pcredit.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletCredit.xul" label="&pcredit.label;"/>
</treerow>
</treeitem>
<treeitem id="pemployID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletEmploy.xul" label="&pemploy.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletEmploy.xul" label="&pemploy.label;"/>
</treerow>
</treeitem>
<treeitem id="pmiscID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletMisc.xul" label="&pmisc.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletMisc.xul" label="&pmisc.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="shipping">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletShipping.xul" label="&shipping.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletShipping.xul" label="&shipping.label;"/>
</treerow>
<treechildren>
<treeitem id="snameID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletName.xul" label="&sname.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletName.xul" label="&sname.label;"/>
</treerow>
</treeitem>
<treeitem id="saddressID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&saddress.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&saddress.label;"/>
</treerow>
</treeitem>
<treeitem id="sphoneID">
<treerow>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&sphone.label;"/>
<treecell class="treecell-indent" tag="shipto." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&sphone.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="billing">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletBilling.xul" label="&billing.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletBilling.xul" label="&billing.label;"/>
</treerow>
<treechildren>
<treeitem id="bnameID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletName.xul" label="&bname.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletName.xul" label="&bname.label;"/>
</treerow>
</treeitem>
<treeitem id="baddressID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletAddress.xul" label="&baddress.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletAddress.xul" label="&baddress.label;"/>
</treerow>
</treeitem>
<treeitem id="bphoneID">
<treerow>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/content/wallet/WalletPhone.xul" label="&bphone.label;"/>
<treecell class="treecell-indent" tag="billto." url="chrome://communicator/locale/wallet/WalletPhone.xul" label="&bphone.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>

<treeitem container="true" open="true" id="other">
<treerow>
<treecell class="treecell-indent" url="chrome://communicator/content/wallet/WalletOther.xul" label="&other.label;"/>
<treecell class="treecell-indent" url="chrome://communicator/locale/wallet/WalletOther.xul" label="&other.label;"/>
</treerow>
<treechildren>
<treeitem id="concatenatedID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletConcatenated.xul" label="&concatenated.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletConcatenated.xul" label="&concatenated.label;"/>
</treerow>
</treeitem>
<treeitem id="urlspecificID">
<treerow>
<treecell class="treecell-indent" tag="" url="chrome://communicator/content/wallet/WalletUrlspecific.xul" label="&urlspecific.label;"/>
<treecell class="treecell-indent" tag="" url="chrome://communicator/locale/wallet/WalletUrlspecific.xul" label="&urlspecific.label;"/>
</treerow>
</treeitem>
</treechildren>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
<script type="application/x-javascript">
<![CDATA[
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/wallet/WalletName.xul");
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/locale/wallet/WalletName.xul");
document.getElementById("panelFrame").setAttribute("tag", "" );
]]>
</script>
Expand Down
26 changes: 14 additions & 12 deletions extensions/wallet/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,7 @@ comm.jar:
content/communicator/wallet/SignonViewer.xul (signonviewer/SignonViewer.xul)
content/communicator/wallet/WalletPreview.js (walletpreview/WalletPreview.js)
content/communicator/wallet/WalletPreview.xul (walletpreview/WalletPreview.xul)
content/communicator/wallet/WalletAddress.xul (editor/WalletAddress.xul)
content/communicator/wallet/WalletBilling.xul (editor/WalletBilling.xul)
content/communicator/wallet/WalletConcatenated.xul (editor/WalletConcatenated.xul)
content/communicator/wallet/WalletCredit.xul (editor/WalletCredit.xul)
content/communicator/wallet/WalletEmploy.xul (editor/WalletEmploy.xul)
content/communicator/wallet/WalletMisc.xul (editor/WalletMisc.xul)
content/communicator/wallet/WalletName.xul (editor/WalletName.xul)
content/communicator/wallet/WalletOther.xul (editor/WalletOther.xul)
content/communicator/wallet/WalletPhone.xul (editor/WalletPhone.xul)
content/communicator/wallet/WalletPrimary.xul (editor/WalletPrimary.xul)
content/communicator/wallet/WalletShipping.xul (editor/WalletShipping.xul)
content/communicator/wallet/WalletTree.xul (editor/WalletTree.xul)
content/communicator/wallet/WalletUrlspecific.xul (editor/WalletUrlspecific.xul)
content/communicator/wallet/WalletViewer.xul (editor/WalletViewer.xul)
content/communicator/wallet/WalletViewer.js (editor/WalletViewer.js)

Expand Down Expand Up @@ -62,3 +50,17 @@ en-US.jar:
locale/en-US/communicator/wallet/sample9.html (editor/sample9.html)
locale/en-US/communicator/wallet/sample10.html (editor/sample10.html)
locale/en-US/communicator/wallet/WalletViewer.dtd (editor/WalletViewer.dtd)

US.jar:
locale/US/communicator/wallet/WalletAddress.xul (editor/WalletAddress.xul)
locale/US/communicator/wallet/WalletBilling.xul (editor/WalletBilling.xul)
locale/US/communicator/wallet/WalletConcatenated.xul (editor/WalletConcatenated.xul)
locale/US/communicator/wallet/WalletCredit.xul (editor/WalletCredit.xul)
locale/US/communicator/wallet/WalletEmploy.xul (editor/WalletEmploy.xul)
locale/US/communicator/wallet/WalletMisc.xul (editor/WalletMisc.xul)
locale/US/communicator/wallet/WalletName.xul (editor/WalletName.xul)
locale/US/communicator/wallet/WalletOther.xul (editor/WalletOther.xul)
locale/US/communicator/wallet/WalletPhone.xul (editor/WalletPhone.xul)
locale/US/communicator/wallet/WalletPrimary.xul (editor/WalletPrimary.xul)
locale/US/communicator/wallet/WalletShipping.xul (editor/WalletShipping.xul)
locale/US/communicator/wallet/WalletUrlspecific.xul (editor/WalletUrlspecific.xul)
1 change: 1 addition & 0 deletions extensions/wallet/makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ include <$(DEPTH)\config\rules.mak>
chrome::
$(REGCHROME) content wallet comm.jar
$(REGCHROME) locale en-US/wallet en-US.jar
$(REGCHROME) locale US/wallet US.jar

0 comments on commit a45ce95

Please sign in to comment.