[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.57, 1.58
Erik Levinson
levinse at wavetail.420.am
Tue May 17 18:03:57 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main attachments.html, 1.6, 1.7 billing.html, 1.27, 1.28 contacts.html, 1.16, 1.17 locations.html, 1.3, 1.4 misc.html, 1.20, 1.21 notes.html, 1.17, 1.18 one_time_charge_link.html, 1.5, 1.6 order_pkg_link.html, 1.6, 1.7
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/packages location.html, 1.10, 1.11 package.html, 1.11, 1.12 services.html, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv5157/view/cust_main
Modified Files:
payment_history.html
Log Message:
internationalization/localization, RT12515
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -w -d -r1.57 -r1.58
--- payment_history.html 17 May 2011 05:00:43 -0000 1.57
+++ payment_history.html 18 May 2011 01:03:55 -0000 1.58
@@ -4,10 +4,10 @@
% if ( $payby{'BILL'} && $curuser->access_right(['Post payment', 'Post check payment' ]) ) {
<% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
- 'label' => mt('Enter check payment'),
+ 'label' => emt('Enter check payment'),
'action' => "${p}edit/cust_pay.cgi?popup=1;payby=BILL",
'cust_main' => $cust_main,
- 'actionlabel' => mt('Enter check payment'),
+ 'actionlabel' => emt('Enter check payment'),
'width' => 392,
&>
% }
@@ -15,10 +15,10 @@
% if ( $payby{'CASH'} && $curuser->access_right(['Post payment', 'Post cash payment']) ) {
<% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
- 'label' => mt('Enter cash payment'),
+ 'label' => emt('Enter cash payment'),
'action' => "${p}edit/cust_pay.cgi?popup=1;payby=CASH",
'cust_main' => $cust_main,
- 'actionlabel' => mt('Enter cash payment'),
+ 'actionlabel' => emt('Enter cash payment'),
'width' => 392,
&>
% }
@@ -55,10 +55,10 @@
% if ( $curuser->access_right('Post credit') ) {
<& /elements/popup_link-cust_main.html,
- 'label' => mt('Enter credit'),
+ 'label' => emt('Enter credit'),
'action' => "${p}edit/cust_credit.cgi",
'cust_main' => $cust_main,
- 'actionlabel' => mt('Enter credit'),
+ 'actionlabel' => emt('Enter credit'),
'width' => 616, #make room for reasons #540 default
&>
<BR>
@@ -70,10 +70,10 @@
% if ( $payby{'BILL'} && $curuser->access_right(['Post refund', 'Post check refund']) ) {
<% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
- 'label' => mt('Enter check refund'),
+ 'label' => emt('Enter check refund'),
'action' => "${p}edit/cust_refund.cgi?popup=1;payby=BILL",
'cust_main' => $cust_main,
- 'actionlabel' => mt('Enter check refund'),
+ 'actionlabel' => emt('Enter check refund'),
'width' => 392,
&>
% }
@@ -81,10 +81,10 @@
% if ( $payby{'CASH'} && $curuser->access_right(['Post refund', 'Post cash refund']) ) {
<% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
- 'label' => mt('Enter cash refund'),
+ 'label' => emt('Enter cash refund'),
'action' => "${p}edit/cust_refund.cgi?popup=1;payby=CASH",
'cust_main' => $cust_main,
- 'actionlabel' => mt('Enter cash refund'),
+ 'actionlabel' => emt('Enter cash refund'),
'width' => 392,
&>
% }
@@ -131,8 +131,8 @@
% if ( $add_adjustment ) {
<& /elements/popup_link.html, {
'action' => $p.'edit/cust_tax_adjustment.html?custnum='. $cust_main->custnum,
- 'label' => mt('Add tax adjustment'),
- 'actionlabel' => mt('Add tax adjustment'),
+ 'label' => emt('Add tax adjustment'),
+ 'actionlabel' => emt('Add tax adjustment'),
'height' => 200,
}
&>
@@ -453,14 +453,14 @@
sub translate_payby {
my ($payby,$payinfo) = (shift,shift);
my %payby = (
- BILL => $payinfo ? mt('Check #') : '',
- CHEK => mt('Electronic check '),
- PREP => mt('Prepaid card '),
- CARD => mt('Credit card #'),
- COMP => mt('Complimentary by '),
- CASH => mt('Cash'),
- WEST => mt('Western Union'),
- MCRD => mt('Manual credit card'),
+ BILL => $payinfo ? emt('Check #') : '',
+ CHEK => emt('Electronic check '),
+ PREP => emt('Prepaid card '),
+ CARD => emt('Credit card #'),
+ COMP => emt('Complimentary by '),
+ CASH => emt('Cash'),
+ WEST => emt('Western Union'),
+ MCRD => emt('Manual credit card'),
);
$payby = (exists $payby{$payby}) ? $payby{$payby} : $payby;
$payby;
@@ -469,10 +469,10 @@
sub translate_payby_refund {
my ($payby,$payinfo) = (shift,shift);
my %payby = (
- BILL => $payinfo ? mt('Check #') : mt('Check'),
- CHEK => mt('Electronic check '),
- CARD => mt('Credit card #'),
- COMP => mt('Complimentary by '),
+ BILL => $payinfo ? emt('Check #') : emt('Check'),
+ CHEK => emt('Electronic check '),
+ CARD => emt('Credit card #'),
+ COMP => emt('Complimentary by '),
);
$payby = (exists $payby{$payby}) ? $payby{$payby} : $payby;
$payby;
@@ -487,7 +487,7 @@
$payinfo = $object->paymask;
} elsif ( $payby eq 'CHEK' ) {
my( $account, $aba ) = split('@', $object->paymask );
- $payinfo = mt("ABA [_1], Acct #[_2]",$aba,$account);
+ $payinfo = emt("ABA [_1], Acct #[_2]",$aba,$account);
}
($payby,$payinfo);
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main attachments.html, 1.6, 1.7 billing.html, 1.27, 1.28 contacts.html, 1.16, 1.17 locations.html, 1.3, 1.4 misc.html, 1.20, 1.21 notes.html, 1.17, 1.18 one_time_charge_link.html, 1.5, 1.6 order_pkg_link.html, 1.6, 1.7
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/packages location.html, 1.10, 1.11 package.html, 1.11, 1.12 services.html, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list