[interchange-cvs] interchange - ton modified 13 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Thu Feb 20 11:44:01 2003


User:      ton
Date:      2003-02-20 16:43:10 GMT
Modified:  dist/foundation/special_pages badsearch.html canceled.html
Modified:           cc_not_valid.html confirmation.html failed.html
Modified:           missing.html needfield.html nomatch.html
Modified:           noproduct.html notfound.html order_security.html
Modified:           reconfig.html violation.html
Log:
	Prepared some special pages for translation.

Revision  Changes    Path
2.1       +2 -2      interchange/dist/foundation/special_pages/badsearch.html


rev 2.1, prev_rev 2.0
Index: badsearch.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/badsearch.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- badsearch.html	18 Jul 2001 02:21:30 -0000	2.0
+++ badsearch.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,10 +1,10 @@
-[tmp page_title]Bad search specification[/tmp]
+[tmp page_title][L]Bad search specification[/L][/tmp]
 __NOLEFT_TOP__
 
 <H1>[scratch page_title]</H1>
 
 
-The search could not be done. The problem was:
+[L]The search could not be done. The problem was[/L]:
 <P>
 [subject]
 



2.1       +5 -5      interchange/dist/foundation/special_pages/canceled.html


rev 2.1, prev_rev 2.0
Index: canceled.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/canceled.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- canceled.html	18 Jul 2001 02:21:30 -0000	2.0
+++ canceled.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,15 +1,15 @@
 [tmp page_title]
-Account Information Erased
+[L]Account Information Erased[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-Your session information has been canceled.
+[L]Your session information has been canceled.[/L]
 <P>
-If you wish to order another item, we would like you to do so, but
-unfortunately you will have to re-enter any account information.
+[L CANCELED_MSG1]If you wish to order another item, we would like you to do so, but
+unfortunately you will have to re-enter any account information.[/L]
 <P>
-<STRONG>We hope you will ordering from us in the future.</STRONG>
+<STRONG>[L]We hope you will ordering from us in the future.[/L]</STRONG>
 <P>
 __NOLEFT_BOTTOM__
 <!-- current page: @@MV_PAGE@@ -->



2.1       +4 -4      interchange/dist/foundation/special_pages/cc_not_valid.html


rev 2.1, prev_rev 2.0
Index: cc_not_valid.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/cc_not_valid.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- cc_not_valid.html	18 Jul 2001 02:21:30 -0000	2.0
+++ cc_not_valid.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,16 +1,16 @@
 [tmp page_title]
-Credit Card number fails test
+[L]Credit Card number fails test[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
   	<P>
-	The following error was seen:
+	[L]The following error was seen[/L]:
 <PRE>
 	[value mv_credit_card_error]
 </PRE>
-	Please go BACK and check the information you entered and see
+	[L CC_NOT_VALID_MSG1]Please go BACK and check the information you entered and see
 	that the correct card type, expiration date, and number are
-	entered.<P>
+	entered.[/L]<P>
 
 </CENTER>
 



2.1       +3 -4      interchange/dist/foundation/special_pages/confirmation.html


rev 2.1, prev_rev 2.0
Index: confirmation.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/confirmation.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- confirmation.html	18 Jul 2001 02:21:30 -0000	2.0
+++ confirmation.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,12 +1,11 @@
 [tmp page_title]
-Order Processed -- Thank You!
+[L]Order Processed -- Thank You![/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 <P>
-Your order has been sent, and
-you will receive an order confirmation via email.<p>
+[L CONFIRMATION_MSG1]Your order has been sent, and you will receive an order confirmation via email.[/L]<p>
 <P>
-<STRONG>Thank you for ordering from us!</STRONG>
+<STRONG>[L]Thank you for ordering from us![/L]</STRONG>
 __NOLEFT_BOTTOM__
 <!-- current page: @@MV_PAGE@@ -->



2.1       +3 -3      interchange/dist/foundation/special_pages/failed.html


rev 2.1, prev_rev 2.0
Index: failed.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/failed.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- failed.html	18 Jul 2001 02:21:30 -0000	2.0
+++ failed.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,4 +1,4 @@
-[tmp page_title]Order Failed[/tmp]
+[tmp page_title][L]Order Failed[/L][/tmp]
 __NOLEFT_TOP__
 
 <H1>[scratch page_title]</H1>
@@ -8,9 +8,9 @@
 [subject]
 </PRE>
 [else]
-We're sorry, but your order could not be processed at this time due to
+[L FAILED_MSG1]We're sorry, but your order could not be processed at this time due to
 technical problems.  Please print the order page and give us a call.
-We will follow up as soon as possible.
+We will follow up as soon as possible.[/L]
 [/else]
 [/if]
 <P>



2.2       +3 -4      interchange/dist/foundation/special_pages/missing.html


rev 2.2, prev_rev 2.1
Index: missing.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/missing.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- missing.html	6 Oct 2002 00:43:01 -0000	2.1
+++ missing.html	20 Feb 2003 16:43:10 -0000	2.2
@@ -1,10 +1,10 @@
 [if type=explicit compare=`q{[subject]} =~ m{^admin/}` ]
-[set ui_failure]<h2>Sorry, the page ([subject]) was not found</h2>[/set]
+[set ui_failure]<h2>[msg arg.0="[subject]"]Sorry, the page (%s) was not found[/msg]</h2>[/set]
 [include admin/error.html]
 [else]
 
 [tmp page_title]
-Sorry, the page ([subject]) was not found
+[msg arg.0="[subject]"]Sorry, the page (%s) was not found[/msg]
 [/tmp]
 @_NOLEFT_TOP_@
 
@@ -13,8 +13,7 @@
 <H1>[scratch page_title]</H1>
 
 <p>
-The requested page ([subject]) was not found. You can [page index]return
-to browsing our catalog</a>, if you wish.
+[msg arg.0="[subject]" arg.1="[page index]" arg.2="</a>"]The requested page (%s) was not found. You can %sreturn to browsing our catalog%s, if you wish.[/msg]
 </p>
 
 @_NOLEFT_BOTTOM_@



2.1       +8 -10     interchange/dist/foundation/special_pages/needfield.html


rev 2.1, prev_rev 2.0
Index: needfield.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/needfield.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- needfield.html	18 Jul 2001 02:21:30 -0000	2.0
+++ needfield.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,33 +1,31 @@
 [tmp page_title]
-We need some more information!
+[L]We need some more information![/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-We need to have some fields entered to be able
-to process your order.  Please [page ord/checkout]go back</A> and fill out 
-the information.
+[msg arg.0="[page ord/checkout]"]We need to have some fields entered to be able to process your order. Please %sgo back</A> and fill out the information.[/msg]
 <P>
-Problem: 
+[L]Problem[/L]: 
 <P>
 [perl]
 	my $msg = q{[subject]};
 	sub redo_message {
 		my($param,$word) = @_;
 		if($param =~ /mv_credit/) {
-			"<LI>You need to validate your credit card information.\n";
+			"<LI>[L]You need to validate your credit card information.[/L]\n";
 		}
 		elsif ($word =~ /not_a_state/i) {
-			return "<LI>We need a valid two-letter state code like CA.\n";
+			return "<LI>[L]We need a valid two-letter state code like CA.[/L]\n";
 		}
 		elsif ($word =~ /phone_day=/i) {
-			return "<LI>Is that really a phone number?\n";
+			return "<LI>[L]Is that really a phone number?[/L]\n";
 		}
 		elsif ($word =~ /not_a_zip_code/i) {
-			return "<LI>We need a zip code for UPS lookup.\n";
+			return "<LI>[L]We need a zip code for UPS lookup.[/L]\n";
 		}
 		elsif ($word =~ /mv_contingent/) {
-			return "<LI>You need to select your method of payment.\n";
+			return "<LI>[L]You need to select your method of payment.[/L]\n";
 		}
 		else { return "<LI>$param: $word\n" }
 	}



2.1       +2 -2      interchange/dist/foundation/special_pages/nomatch.html


rev 2.1, prev_rev 2.0
Index: nomatch.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/nomatch.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- nomatch.html	18 Jul 2001 02:21:30 -0000	2.0
+++ nomatch.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,10 +1,10 @@
 [tmp page_title]
-No Match for [subject]
+[msg arg.0="[subject]"]No Match for %s[/msg]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-There were no matches found.
+[L]There were no matches found.[/L]
 <P>
 __NOLEFT_BOTTOM__
 <!-- current page: @@MV_PAGE@@ -->



2.2       +2 -4      interchange/dist/foundation/special_pages/noproduct.html


rev 2.2, prev_rev 2.1
Index: noproduct.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/noproduct.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- noproduct.html	1 May 2002 20:55:47 -0000	2.1
+++ noproduct.html	20 Feb 2003 16:43:10 -0000	2.2
@@ -1,12 +1,10 @@
 [tmp page_title]
-Requested Product Unavailable
+[L]Requested Product Unavailable[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-We are sorry, but the product ([subject]) that you requested is
-not now available.  You can still [page index]browse our
-catalog</a>, if you wish.
+[msg arg.0="[subject]" arg.1="[page index]" arg.2="</a>"]We are sorry, but the product (%s) that you requested is not now available.  You can still %sbrowse our catalog%s, if you wish.
 
 <P>
 __NOLEFT_BOTTOM__



2.2       +2 -3      interchange/dist/foundation/special_pages/notfound.html


rev 2.2, prev_rev 2.1
Index: notfound.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/notfound.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- notfound.html	1 May 2002 20:55:47 -0000	2.1
+++ notfound.html	20 Feb 2003 16:43:10 -0000	2.2
@@ -1,11 +1,10 @@
 [tmp page_title]
-Not Found
+[L]Not Found[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-No items with '[subject]' were found.  You can [page index]return to
-browsing our catalog</a>, if you wish.
+[msg arg.0="[subject]" arg.1="[page index]" arg.2="</a>"]No items with '%s' were found.  You can %sreturn to browsing our catalog%s, if you wish.[/msg]
 
 <P>
 __NOLEFT_BOTTOM__



2.2       +4 -3      interchange/dist/foundation/special_pages/order_security.html


rev 2.2, prev_rev 2.1
Index: order_security.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/order_security.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- order_security.html	6 Dec 2001 03:13:54 -0000	2.1
+++ order_security.html	20 Feb 2003 16:43:10 -0000	2.2
@@ -1,16 +1,17 @@
 [tmp page_title]
-SECURITY PROBLEM
+[L]SECURITY PROBLEM[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-Either this web server did not receive the last transaction via
+
+[L ORDER_SECURITY_MSG1]Either this web server did not receive the last transaction via
 SSL/HTTPS, or your browser doesn't handle SSL.
 <P>
 We recommend you do not leave any critical information
 until this situation is corrected. You can CANCEL your
 session below to wipe all information, or return to the
-catalog with the buttonbar.
+catalog with the buttonbar.[/L]
 <P>
 <FORM ACTION="[process]" METHOD=POST>
 <INPUT TYPE=HIDDEN NAME="mv_doit" VALUE="cancel">



2.1       +2 -2      interchange/dist/foundation/special_pages/reconfig.html


rev 2.1, prev_rev 2.0
Index: reconfig.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/reconfig.html,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- reconfig.html	18 Jul 2001 02:21:30 -0000	2.0
+++ reconfig.html	20 Feb 2003 16:43:10 -0000	2.1
@@ -1,10 +1,10 @@
 [tmp page_title]
-Catalog Reconfigured
+[L]Catalog Reconfigured[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-The catalog should be successfully reconfigured.
+[L]The catalog should be successfully reconfigured.[/L]
 <P>
 __NOLEFT_BOTTOM__
 <!-- current page: @@MV_PAGE@@ -->



2.2       +3 -3      interchange/dist/foundation/special_pages/violation.html


rev 2.2, prev_rev 2.1
Index: violation.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/special_pages/violation.html,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- violation.html	6 Dec 2001 03:09:01 -0000	2.1
+++ violation.html	20 Feb 2003 16:43:10 -0000	2.2
@@ -1,10 +1,10 @@
 [tmp page_title]
-Access denied
+[L]Access denied[/L]
 [/tmp]
 __NOLEFT_TOP__
 <H1>[scratch page_title]</H1>
 
-<h2>You have accessed a page that requires authorization.</h2>
+<h2>[L]You have accessed a page that requires authorization.[/L]</h2>
 
 [if session logged_in]
 [then]
@@ -57,7 +57,7 @@
         <TD><INPUT
 				onChange="this.form.submit()"
 			  TYPE=password NAME=mv_password VALUE="" SIZE=10>
-        <INPUT TYPE=submit VALUE="Log in"> &nbsp;&nbsp;
+        <INPUT TYPE=submit VALUE="[L]Log in[/L]"> &nbsp;&nbsp;
         </TD></TR>
     </TABLE>