[freeside-commits] freeside/httemplate/view/cust_main/packages package.html, 1.10, 1.11 services.html, 1.9, 1.10
Erik Levinson
levinse at wavetail.420.am
Mon May 16 22:00:45 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main attachments.html, 1.5, 1.6 notes.html, 1.16, 1.17 one_time_charge_link.html, 1.4, 1.5 payment_history.html, 1.56, 1.57
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history attempted_payment.html, 1.2, 1.3 credit.html, 1.8, 1.9 payment.html, 1.10, 1.11 pending_payment.html, 1.3, 1.4 refund.html, 1.5, 1.6 voided_payment.html, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages
In directory wavetail.420.am:/tmp/cvs-serv16996/view/cust_main/packages
Modified Files:
package.html services.html
Log Message:
internationalization/localization, RT12515
Index: services.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/services.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- services.html 17 May 2011 00:32:04 -0000 1.9
+++ services.html 17 May 2011 05:00:43 -0000 1.10
@@ -106,11 +106,10 @@
'part_svc' => $part_svc,
'query' => $pkgnum_svcpart,
);
- #$url = "${p}edit/$svcpart->{svcdb}.cgi?$pkgnum_svcpart";
}
my $link = qq!<A CLASS="provision" HREF="$url">!.
- "Provision $svc_nbsp ($num_avail)</A>";
+ mt("Provision [_1] ([_2])",$svc_nbsp,$num_avail).'</A>';
if ( $opt->{'legacy_link'}
&& $curuser->access_right('View/link unlinked services')
)
@@ -118,18 +117,18 @@
$link .= '<BR>'.
qq!<A CLASS="provision" HREF="${p}misc/link.cgi?!.
qq!$pkgnum_svcpart">!.
- "Link to legacy $svc_nbsp ($num_avail)</A>";
+ mt("Link to legacy [_1] ([_2])",$svc_nbsp,$num_avail).'</A>';
}
$link;
}
my %hints = (
-svc_acct => '(user or email)',
-svc_domain => '(domain)',
-svc_broadband => '(ip or mac)',
-svc_forward => '(email)',
-svc_phone => '(phone)',
-svc_pbx => '(phone)',
+svc_acct => mt('(user or email)'),
+svc_domain => mt('(domain)'),
+svc_broadband => mt('(ip or mac)'),
+svc_forward => mt('(email)'),
+svc_phone => mt('(phone)'),
+svc_pbx => mt('(phone)'),
);
</%init>
Index: package.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/package.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- package.html 17 May 2011 00:32:04 -0000 1.10
+++ package.html 17 May 2011 05:00:43 -0000 1.11
@@ -229,12 +229,10 @@
);
}
-sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', 'Edit dates', @_ ); }
+sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', mt('Edit dates'), @_ ); }
sub pkg_discount_link {
my $cust_pkg = shift or return '';
- #my $part_pkg = shift;
- #my $custnum = $cust_pkg->custnum;
include( '/elements/popup_link-cust_pkg.html',
'action' => $p.'edit/cust_pkg_discount.html',
'label' => mt('Discount'),
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main attachments.html, 1.5, 1.6 notes.html, 1.16, 1.17 one_time_charge_link.html, 1.4, 1.5 payment_history.html, 1.56, 1.57
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history attempted_payment.html, 1.2, 1.3 credit.html, 1.8, 1.9 payment.html, 1.10, 1.11 pending_payment.html, 1.3, 1.4 refund.html, 1.5, 1.6 voided_payment.html, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list