[interchange-cvs] interchange - ton modified 7 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Wed Feb 19 09:00:01 2003


User:      ton
Date:      2003-02-19 13:59:41 GMT
Modified:  dist/foundation/templates/components affiliate_receptor best
Modified:           cart cart_display cart_tiny category_vert_toggle
Modified:           cross
Log:
	Localization foundation cont'd

Revision  Changes    Path
2.3       +2 -2      interchange/dist/foundation/templates/components/affiliate_receptor


rev 2.3, prev_rev 2.2
Index: affiliate_receptor
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/affiliate_receptor,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- affiliate_receptor	13 Sep 2002 20:46:18 -0000	2.2
+++ affiliate_receptor	19 Feb 2003 13:59:41 -0000	2.3
@@ -40,7 +40,7 @@
 <!-- see if was published -->
 <br>
 <!--Change some content-->
-Welcome Affiliate Program Visitor:
+[L]Welcome Affiliate Program Visitor[/L]:
 
 <br>
 
@@ -58,7 +58,7 @@
 					return 0;
 					`]
 [currency][scratch coupon_amount][/currency]
-Off Coupon Active
+[L]Off Coupon Active[/L]
 [/if]
 
 [/if]



2.3       +5 -5      interchange/dist/foundation/templates/components/best


rev 2.3, prev_rev 2.2
Index: best
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/best,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- best	13 Sep 2002 20:46:18 -0000	2.2
+++ best	19 Feb 2003 13:59:41 -0000	2.3
@@ -9,7 +9,7 @@
 	code: banner
 	type: text
 	width: 40
-	default: Best Sellers...
+	default: [L]Best sellers...[/L]
 
 toprow_css:
 	advanced: 1
@@ -39,7 +39,7 @@
 <table width="95%" align=center>
 <tr> 
   <td class="categorybar"> 
-    [control banner Best sellers...]
+    [control name=banner default="[L]Best sellers...[/L]"]
   </td>
 </tr>
 <tr>
@@ -76,12 +76,12 @@
 		[/if-loop-field]
 		<tr> 
 			<td align="center" colspan="2">
-				Our Price: <b>[loop-price]</b>
+				[L]Our Price[/L]: <b>[loop-price]</b>
 			</td>
 		</tr>
 		<tr> 
 			<td align="center">
-				<a href="[area [loop-code]]">More Info</a>&nbsp;
+				<a href="[area [loop-code]]">[L]More Info[/L]</a>&nbsp;
 			</td>
 			<td align="center">
 				[if-loop-data options o_modular]
@@ -89,7 +89,7 @@
 				[else][order [loop-code]]
 				[/else]
 				[/if-loop-data]
-				<img src="__THEME_IMG_DIR__buynow.gif" border="0" alt="buy now"></A>
+				<img src="__THEME_IMG_DIR__buynow.gif" border="0" alt="[L]buy now[/L]"></A>
 			</td>
 		</tr>
 		</table>



2.12      +38 -39    interchange/dist/foundation/templates/components/cart


rev 2.12, prev_rev 2.11
Index: cart
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/cart,v
retrieving revision 2.11
retrieving revision 2.12
diff -u -r2.11 -r2.12
--- cart	12 Feb 2003 03:59:11 -0000	2.11
+++ cart	19 Feb 2003 13:59:41 -0000	2.12
@@ -16,7 +16,7 @@
 [/comment]
 <!-- BEGIN COMPONENT [control component cart] -->
 
-<br><b>Your Current Shopping Cart:</b><br>
+<br><b>[L]Your Current Shopping Cart[/L]:</b><br>
 
 <table width="95%" cellspacing="0">
 <tr>
@@ -30,8 +30,7 @@
 	[/calc]
 	[if scratch have_cookie]
 	[elsif scratch tried]
-    		You must have cookies set to leave the basket. Check out now or forever
-    		lose your shopping cart.
+    		[L CART_MSG1]You must have cookies set to leave the basket. Check out now or forever lose your shopping cart.[/L]
 	[/elsif]
 	[else]
 		[set tried]1[/set]
@@ -51,12 +50,12 @@
       		<td>
         		<table cellspacing="0" cellpadding="4" border="0">
 			<TR>
-          			<td class="contentbar2"><b>&nbsp;Remove</b></td>
-			        <td class="contentbar2" align="center"><b>SKU</b></td>
-          			<td class="contentbar2"><b>Description</b></td>
-          			<td class="contentbar2"><b>Quantity</b></td>
-          			<td class="contentbar2" align="center"><b>Price</b></td>
-          			<td class="contentbar2"><b>Extension&nbsp;</b></td>
+          			<td class="contentbar2"><b>&nbsp;[L]Remove[/L]</b></td>
+			        <td class="contentbar2" align="center"><b>[L]SKU[/L]</b></td>
+          			<td class="contentbar2"><b>[L]Description[/L]</b></td>
+          			<td class="contentbar2"><b>[L]Quantity[/L]</b></td>
+          			<td class="contentbar2" align="center"><b>[L]Price[/L]</b></td>
+          			<td class="contentbar2"><b>[L]Extension[/L]&nbsp;</b></td>
 			</TR>
 			<TBODY>
 	
@@ -98,7 +97,7 @@
 	[if scratch dealer]
 	[if-item-data pricing sku]
 	    <BR>[page quantity [item-code]]
-	    QUANTITY PRICING</A>
+	    [L]QUANTITY PRICING[/L]</A>
 	[/if-item-data]
 	[/if]
 	[if-item-field weight]
@@ -107,13 +106,13 @@
 	[if-item-param mv_min_under]
 		<br>
 		<span style="color: __CONTRAST__; font-size: 8pt">
-		Minimum order quantity of [item-param mv_min_quantity] enforced.
+		[msg arg.0="[item-param mv_min_quantity]"]Minimum order quantity of %s enforced.[/msg]
 		</span>
 	[/if-item-param]
 	[if-item-param mv_max_over]
 		<br>
 		<span style="color: __CONTRAST__; font-size: 8pt">
-		Maximum order quantity of [item-param mv_max_quantity] enforced.
+		[msg arg.0="[item-param mv_max_quantity]"]Maximum order quantity of %s enforced.[/msg]
 		</span>
 	[/if-item-param]
 
@@ -133,7 +132,7 @@
 		my $out = <<'EOF';
 	    <TABLE>
 	    <TR class="contentbar2">
-              <TD>Customers who bought this item also bought:</TD>
+              <TD>[L]Customers who bought this item also bought[/L]:</TD>
 	    </TR>
             <TR class="[item-calc]$row_class || 'contentbar1'[/item-calc]">
 	      <TD>
@@ -157,7 +156,7 @@
 	<TABLE CELLPADDING=0 CELLSPACING=0>
 	<TR class="contentbar2">
 		<TD class="contentbar1">
-			Other items you may like:
+			[L]Other items you may like[/L]:
 	      	</TD>
 	      	<TD class="contentbar1"></TD>
 	</TR>
@@ -190,7 +189,7 @@
 [input-filter name="[quantity-name]" op="nullselect digits_dot"][/input-filter]
 
 [if-item-field gift_cert]
-	  <TD ALIGN=CENTER><small>Amount of gift:</small></TD>
+	  <TD ALIGN=CENTER><small>[L]Amount of gift[/L]:</small></TD>
 	  <TD ALIGN=CENTER><INPUT TYPE=text NAME="[quantity-name]" VALUE="[item-quantity]" SIZE=7></TD>
 	  <TD ALIGN=right>
 	    [item-subtotal]
@@ -201,15 +200,15 @@
 	  </TD>
 	[if discount [item-code]]
 	  <TD ALIGN=right>
-	    Regular price <STRIKE>[item-price]</STRIKE>
+	    [L]Regular price[/L] <STRIKE>[item-price]</STRIKE>
 	    <BR>
-	    <B>Your price: [discount-price]<br>
-	    You save: [item-difference]
+	    <B>[L]Your price[/L]: [discount-price]<br>
+	    [L]You save[/L]: [item-difference]
 	  </TD>
 	  <TD ALIGN=right>
 	    <strike>[item-subtotal]</strike><br>
 	    <B>[item-discount-subtotal]<BR>
-	    You save: [item-discount]</b>
+	    [L]You save[/L]: [item-discount]</b>
 	  </TD>
 	[else]
 	  <TD ALIGN=right>[item-price]</TD>
@@ -244,7 +243,7 @@
 	    {textarea}
 	    </SMALL>
 	  </TD>
-	  <TD><INPUT TYPE=submit VALUE=Save></TD>
+	  <TD><INPUT TYPE=submit VALUE=[L]Save[/L]></TD>
 [else]
 	  <TD COLSPAN=2>
 	    <SMALL>Retrieve:<BR>
@@ -273,14 +272,14 @@
 		[page href="@@MV_PAGE@@" form="
 			separate_addresses=0
 			mv_action=return
-		"]Same shipping address</A>&nbsp;&nbsp;&nbsp;
-		[page href="@@MV_PAGE@@" form="edit_addresses=1"]<small>Edit address</small></A>&nbsp;&nbsp;&nbsp;
-		[page href="ship_addresses" form="ui_return_to=@@MV_PAGE@@"]<small>Add address</small></A>
+		"][L]Same shipping address[/L]</A>&nbsp;&nbsp;&nbsp;
+		[page href="@@MV_PAGE@@" form="edit_addresses=1"]<small>[L]Edit address[/L]</small></A>&nbsp;&nbsp;&nbsp;
+		[page href="ship_addresses" form="ui_return_to=@@MV_PAGE@@"]<small>[L]Add address[/L]</small></A>
 		[else]
 		[page href="@@MV_PAGE@@" form="
 			separate_addresses=1
 			mv_action=return
-		"]Separate shipping addresses</A>
+		"][L]Separate shipping addresses[/L]</A>
 		[/else]
 		[/if]
 	  </td>
@@ -294,7 +293,7 @@
 
 	<TR>
 	  <TD ALIGN=CENTER COLSPAN=6 class="contentbar1">
-	    <b>No items at the moment.</b>
+	    <b>[L]No items at the moment.[/L]</b>
 	  </TD>
 	</TR>
 
@@ -321,7 +320,7 @@
 	  </td>
 	  <td align="center" valign="center"> 
     		[button
-     		  text="Check Out"
+     		  text="[L]Check Out[/L]"
 		  src="__THEME__/checkout_button.gif"
 		  hidetext=1
 		  form=basket
@@ -333,7 +332,7 @@
 	  <td align="center">
 	    [if type=explicit compare="[control continue_shopping]"]
     	      [button
-		text="Continue shopping"
+		text="[L]Continue shopping[/L]"
      		src="continue_shopping.gif"
 		hidetext=1
 		form=basket
@@ -347,13 +346,13 @@
             <table cellspacing="0" cellpadding="4" border="0">
             <tr> 
               <td align=right class="contentbar1">
-                Shipping Weight:
+                [L]Shipping Weight[/L]:
               </td>
               <td class="contentbar2" align="right">[summary format="%s" total=1]</td>
             </tr>
             <tr>
               <td align="right" class="contentbar1">
-                <b>Subtotal:</b>
+                <b>[L]Subtotal[/L]:</b>
               </td>
               <td class="contentbar2" align=right><b>[subtotal]</b></td>
             </tr>
@@ -377,32 +376,32 @@
 [if session logged_in][then]
   [if value save_cart eq 'recurring']
     	    <FORM ACTION="[process-target]" METHOD=POST>
-    	    To save this recurring order, give it a nickname, then press 'Save Cart'.<br>
-    	    Nickname:
+    	    [L]To save this recurring order, give it a nickname, then press 'Save Cart'.[/L]<br>
+    	    [L]Nickname[/L]:
     	    <INPUT TYPE=TEXT NAME="c_nickname" SIZE=11 VALUE="[scratch just_nickname]">
     	    <input type=hidden name=mv_session_id value="[data session id]">
-			<INPUT TYPE=HIDDEN NAME="c_recurring" VALUE="1">
+	    <INPUT TYPE=HIDDEN NAME="c_recurring" VALUE="1">
     	    <INPUT TYPE=HIDDEN NAME="save_cart" VALUE="recurring">
     	    <INPUT TYPE=HIDDEN NAME="mv_todo" VALUE="return">
     	    <INPUT TYPE=HIDDEN NAME="mv_check" VALUE="Save Cart">
-    	    <INPUT TYPE=SUBMIT VALUE="Save Cart">
+    	    <INPUT TYPE=SUBMIT VALUE="[L]Save Cart[/L]">
     	    </FORM>
   [elsif value save_cart eq 'cart']
     	    <FORM ACTION="[process-target]" METHOD=POST>
-    	    To save this cart, give it a nickname, then press 'Save Cart'.<br>
-    	    Nickname:
+    	    [L]To save this cart, give it a nickname, then press 'Save Cart'.[/L]<br>
+    	    [L]Nickname[/L]:
     	    <INPUT TYPE=TEXT NAME="c_nickname" SIZE=11 VALUE="[scratch just_nickname]">
     	    <INPUT TYPE=HIDDEN NAME="c_recurring" VALUE="0">
     	    <INPUT TYPE=HIDDEN NAME="save_cart" VALUE="cart">
     	    <INPUT TYPE=HIDDEN NAME="mv_todo" VALUE="return">
     	    <INPUT TYPE=HIDDEN NAME="mv_check" VALUE="Save Cart">
-			<input type=hidden name=mv_session_id vlaue="[data session id]">
-    	    <INPUT TYPE=SUBMIT VALUE="Save Cart">
+	    <input type=hidden name=mv_session_id vlaue="[data session id]">
+    	    <INPUT TYPE=SUBMIT VALUE="[L]Save Cart[/L]">
 	    </FORM>
   [/elsif]
   [else]
       [button
-          text="Save This Cart"
+          text="[L]Save This Cart[/L]"
           src="__THEME__/savecart.gif"
           extra="class=contentbar2"
           hidetext=1
@@ -414,7 +413,7 @@
           save_cart=cart
       [/button]
       [button
-          text="Set As Recurring Order"
+          text="[L]Set As Recurring Order[/L]"
           src="__THEME__/saverecur.gif"
           extra="class=contentbar2"
           hidetext=1



2.4       +9 -19     interchange/dist/foundation/templates/components/cart_display


rev 2.4, prev_rev 2.3
Index: cart_display
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/cart_display,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -r2.3 -r2.4
--- cart_display	13 Sep 2002 20:46:18 -0000	2.3
+++ cart_display	19 Feb 2003 13:59:41 -0000	2.4
@@ -13,39 +13,29 @@
   <table width="95%" border="0" cellspacing="0" cellpadding="0">
 		<tr class="contentbar2" valign=top>
 			<td colspan=6 class="contentbar2"> 
-				<b>Your Cart:</b>
+				<b>[L]Your Cart[/L]:</b>
 			</td>
 		</tr>
 		<TR class="contentbar2" VALIGN=TOP>
-                        <td align=center class="contentbar2">Action</td>
-                        <td class="contentbar2"> 
-                          SKU
-                        </td>
-                        <td class="contentbar2"> 
-                          Description
-                        </td>
-                        <td class="contentbar2"> 
-                          Quantity
-                        </td>
-                        <td class="contentbar2"> 
-                          Price
-                        </td>
-                        <td class="contentbar2"> 
-                          Extension
-                        </td>
+                        <td align=center class="contentbar2">[L]Action[/L]</td>
+                        <td class="contentbar2">[L]SKU[/L]</td>
+                        <td class="contentbar2">[L]Description[/L]</td>
+                        <td align=center class="contentbar2">[L]Quantity[/L]</td>
+                        <td align=right class="contentbar2">[L]Price[/L]</td>
+                        <td align=right class="contentbar2">[L]Extension[/L]</td>
 		</TR>
 	<TBODY>
 [item-list]
 
 <tr class="[item-alternate 2]maincontent[else]contentbar1[/else][/item-alternate]">
 	<td align=center valign=top>
-	  [page ord/basket]edit</A>
+	  [page ord/basket][L]edit[/L]</A>
 	</TD>
 	<td valign=top>[item-sku]</TD>
 	<td valign=top>[page [item-sku]][item-data products description]</A></TD>
 
 	[if-item-modifier gift_cert]
-	<TD ALIGN=CENTER><small>Amount of gift:</small></TD>
+	<TD ALIGN=CENTER><small>[L]Amount of gift[/L]:</small></TD>
 	<TD ALIGN=CENTER>[item-quantity]</TD>
 	<TD ALIGN=right>
 			[item-subtotal]



2.4       +3 -3      interchange/dist/foundation/templates/components/cart_tiny


rev 2.4, prev_rev 2.3
Index: cart_tiny
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/cart_tiny,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -r2.3 -r2.4
--- cart_tiny	5 Feb 2003 15:49:39 -0000	2.3
+++ cart_tiny	19 Feb 2003 13:59:41 -0000	2.4
@@ -17,12 +17,12 @@
       <table border="0" cellspacing="0" cellpadding="2">
       <tr>
         <td colspan="2" align="center" class="categorybar">
-	  <small>Cart Contents</small>
+	  <small>[L]Cart Contents[/L]</small>
 	</td>
       </tr>
       <tr>
-	<td align="left" class="menubar">Description</td>
-	<td align="right" class="menubar">Quantity</td>
+	<td align="left" class="menubar">[L]Description[/L]</td>
+	<td align="right" class="menubar">[L]Quantity[/L]</td>
       </tr>
 [item-list]
 	[item-next][item-modifier mv_si][/item-next]



1.6       +2 -2      interchange/dist/foundation/templates/components/category_vert_toggle


rev 1.6, prev_rev 1.5
Index: category_vert_toggle
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/category_vert_toggle,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- category_vert_toggle	11 Dec 2002 21:17:58 -0000	1.5
+++ category_vert_toggle	19 Feb 2003 13:59:41 -0000	1.6
@@ -107,14 +107,14 @@
     <td valign="top" align="right" colspan=3>
 	<a href="[history-scan]&expandall=1">
 	[scratch showtoggleon]
-	<font class="categorybar"><b>Show All Subcategories</b></a>
+	<font class="categorybar"><b>[L]Show All Subcategories[/L]</b></a>
 </tr>
 <tr>
     <td valign="top" align="right" colspan=3>
 	<a href="[history-scan]&collapseall=1">
 	[scratch showtoggleoff]
 	<font class="categorybar">
-	<b>Collapse All Categories</b></a>
+	<b>[L]Collapse All Categories[/L]</b></a>
     </td>
 </tr>
 



2.3       +4 -4      interchange/dist/foundation/templates/components/cross


rev 2.3, prev_rev 2.2
Index: cross
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/cross,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- cross	13 Sep 2002 20:46:18 -0000	2.2
+++ cross	19 Feb 2003 13:59:41 -0000	2.3
@@ -8,7 +8,7 @@
 
 banner:
 	code: banner
-	default: See also...
+	default: [L]See also...[/L]
 	label: Top row banner
 	type: text
 	width: 40
@@ -66,7 +66,7 @@
 <table width="[control width 95%]" align="[control table_align center]">
 <tr> 
   <td class="categorybar">
-    &nbsp;<b>[control banner Best sellers...]</b>
+    &nbsp;<b>[control name=banner default="[L]See also...[/L]"]</b>
   </td>
 </tr>
 <tr>
@@ -115,12 +115,12 @@
 				[/else]
 				[/if-loop-data]
   		<img src="__THEME_IMG_DIR__buynow.gif" border="0" align="top"></a>
-	        <a href="[area [loop-code]]">More Info</a>
+	        <a href="[area [loop-code]]">[L]More Info[/L]</a>
               </td>
 	    </tr>
 	    <tr> 
 	      <td align="left">
-		Our Price: <B>[loop-price]</B>
+		[L]Our Price[/L]: <B>[loop-price]</B>
 	      </td>
 	    </tr>
 	    </table>