[freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.48, 1.49 cust_pay.html, 1.9, 1.10 cust_refund.html, 1.4, 1.5

Erik Levinson levinse at wavetail.420.am
Mon May 16 08:18:58 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv18619/view

Modified Files:
	cust_bill.cgi cust_pay.html cust_refund.html 
Log Message:
internationalization/localization, RT12515

Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -w -d -r1.48 -r1.49
--- cust_bill.cgi	16 May 2011 04:20:47 -0000	1.48
+++ cust_bill.cgi	16 May 2011 15:18:56 -0000	1.49
@@ -1,5 +1,5 @@
 <& /elements/header.html, mt('Invoice View'), menubar(
-  mt('View this customer')." (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+  mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
 ) &>
 
 % if ( $conf->exists('deleteinvoices')

Index: cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_pay.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- cust_pay.html	16 May 2011 04:20:47 -0000	1.9
+++ cust_pay.html	16 May 2011 15:18:56 -0000	1.10
@@ -14,20 +14,21 @@
 % #it would be nice if the menubar could be hidden for print, but better to
 % # have it available than not, otherwise the user winds up at a dead end
   <% menubar(
-       mt('View this customer')." (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+       mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
      )
   %>
   <BR><BR>
 % } elsif ( $link eq 'email' ) {
 %  if ( $email_error ) {
-      <& /elements/header-popup.html, mt("Error re-emailing receipt: $email_error") &>
+      <& /elements/header-popup.html, mt("Error re-emailing receipt") &>
+%       warn "Error re-emailing receipt: $email_error";
 %  } else {
       <& /elements/header-popup.html, mt("Re-emailed receipt") &>
 %  }
 % } else { 
 
   <& /elements/header.html, mt("$thing Receipt"), menubar(
-       mt('View this customer')." (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+       mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
        mt('Print receipt') => $pr_link,
      )
   &>

Index: cust_refund.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_refund.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- cust_refund.html	16 May 2011 04:20:47 -0000	1.4
+++ cust_refund.html	16 May 2011 15:18:56 -0000	1.5
@@ -11,7 +11,7 @@
 % #it would be nice if the menubar could be hidden for print, but better to
 % # have it available than not, otherwise the user winds up at a dead end
   <% menubar(
-       mt('View this customer')." (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+       mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
      )
   %>
   <BR><BR>
@@ -19,7 +19,7 @@
 % } else { 
 
   <& /elements/header.html, mt('Refund Receipt'), menubar(
-       mt('View this customer')." (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
+       mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
        mt('Print receipt') => $pr_link,
      )
   &>



More information about the freeside-commits mailing list