[freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.50, 1.51 cust_main.cgi, 1.140, 1.141 cust_pay.html, 1.13, 1.14 cust_refund.html, 1.7, 1.8 svc_acct.cgi, 1.68, 1.69
Erik Levinson
levinse at wavetail.420.am
Thu May 26 19:25:45 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv5847/view
Modified Files:
cust_bill.cgi cust_main.cgi cust_pay.html cust_refund.html
svc_acct.cgi
Log Message:
internationalization/localization, RT12515
Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -w -d -r1.50 -r1.51
--- cust_bill.cgi 18 May 2011 00:55:36 -0000 1.50
+++ cust_bill.cgi 27 May 2011 02:25:42 -0000 1.51
@@ -1,4 +1,4 @@
-<& /elements/header.html, emt('Invoice View'), menubar(
+<& /elements/header.html, mt('Invoice View'), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
) &>
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -w -d -r1.140 -r1.141
--- cust_main.cgi 18 May 2011 00:55:36 -0000 1.140
+++ cust_main.cgi 27 May 2011 02:25:42 -0000 1.141
@@ -43,7 +43,7 @@
% if ( $view eq 'basics' || $view eq 'jumbo' ) {
% if ( $curuser->access_right('Edit customer') ) {
- <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>">Edit this customer</A> |
+ <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>"><% mt('Edit this customer') |h %></A> |
% }
% if ( $curuser->access_right('Cancel customer')
@@ -295,7 +295,7 @@
my $title = $cust_main->name;
$title = '('. $cust_main->display_custnum. ") $title"
if $conf->exists('cust_main-title-display_custnum');
-$title = "Customer: $title";
+$title = mt("Customer:")." ".$title;
#false laziness w/pref/pref.html and Conf.pm (cust_main-default_view)
tie my %views, 'Tie::IxHash',
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_acct.cgi,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -w -d -r1.68 -r1.69
--- svc_acct.cgi 18 May 2011 00:55:36 -0000 1.68
+++ svc_acct.cgi 27 May 2011 02:25:43 -0000 1.69
@@ -1,6 +1,6 @@
% if ( $custnum ) {
- <& /elements/header.html, emt("View [_1] account",$svc) &>
+ <& /elements/header.html, mt("View [_1] account",$svc) &>
<& /elements/small_custview.html, $custnum, '', 1,
"${p}view/cust_main.cgi" &>
<BR>
@@ -15,7 +15,7 @@
}
</SCRIPT>
- <& /elements/header.html, emt('View account'), menubar(
+ <& /elements/header.html, mt('View account'), menubar(
emt("Cancel this (unaudited) account") =>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
) &>
Index: cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_pay.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- cust_pay.html 18 May 2011 00:55:36 -0000 1.13
+++ cust_pay.html 27 May 2011 02:25:42 -0000 1.14
@@ -1,6 +1,6 @@
% if ( $link eq 'popup' ) {
- <& /elements/header-popup.html, emt("$thing Receipt") &>
+ <& /elements/header-popup.html, mt("$thing Receipt") &>
<div align="center">
<A HREF="javascript:self.parent.location = '<% $pr_link %>'"><% mt('Print') |h %></A> |
@@ -9,7 +9,7 @@
% } elsif ( $link eq 'print' ) {
- <& /elements/header-popup.html, emt("$thing Receipt") &>
+ <& /elements/header-popup.html, mt("$thing Receipt") &>
% #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
@@ -20,13 +20,13 @@
<BR><BR>
% } elsif ( $link eq 'email' ) {
% if ( $email_error ) {
- <& /elements/header-popup.html, emt("Error re-emailing receipt: [_1]", $email_error) &>
+ <& /elements/header-popup.html, mt("Error re-emailing receipt: [_1]", $email_error) &>
% } else {
- <& /elements/header-popup.html, emt("Re-emailed receipt") &>
+ <& /elements/header-popup.html, mt("Re-emailed receipt") &>
% }
% } else {
- <& /elements/header.html, emt("$thing Receipt"), menubar(
+ <& /elements/header.html, mt("$thing Receipt"), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
emt('Print receipt') => $pr_link,
)
Index: cust_refund.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_refund.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- cust_refund.html 18 May 2011 00:55:36 -0000 1.7
+++ cust_refund.html 27 May 2011 02:25:42 -0000 1.8
@@ -1,12 +1,12 @@
% if ( $link eq 'popup' ) {
- <& /elements/header-popup.html, emt('Refund Receipt') &>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
<CENTER><A HREF="javascript:self.parent.location = '<% $pr_link %>'"><% mt('Print') |h %></A></CENTER><BR>
% } elsif ( $link eq 'print' ) {
- <& /elements/header-popup.html, emt('Refund Receipt') &>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
% #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
@@ -18,7 +18,7 @@
% } else {
- <& /elements/header.html, emt('Refund Receipt'), menubar(
+ <& /elements/header.html, mt('Refund Receipt'), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
emt('Print receipt') => $pr_link,
)
More information about the freeside-commits
mailing list