[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
Erik Levinson
levinse at wavetail.420.am
Tue May 17 18:03:17 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.49, 1.50 cust_main.cgi, 1.139, 1.140 cust_pay.html, 1.12, 1.13 cust_refund.html, 1.6, 1.7 svc_acct.cgi, 1.67, 1.68 svc_phone.cgi, 1.30, 1.31
- Next message: [freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.57, 1.58
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv5044/view/cust_main
Modified Files:
attachments.html billing.html contacts.html locations.html
misc.html notes.html one_time_charge_link.html
order_pkg_link.html
Log Message:
internationalization/localization, RT12515
Index: locations.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/locations.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- locations.html 16 May 2011 16:31:08 -0000 1.3
+++ locations.html 18 May 2011 01:03:14 -0000 1.4
@@ -19,7 +19,7 @@
border-bottom-width: 1px;">
<SPAN CLASS="loclabel">
% if (! $locationnum) {
-Default service location:
+<% mt('Default service location:') |h %>
% }
% elsif ( $loc->disabled ) {
<FONT COLOR="#808080"><I>
@@ -69,8 +69,8 @@
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "edit/cust_location.cgi?locationnum=$locationnum",
- 'label' => '('.mt('Edit location').')',
- 'actionlabel' => mt('Edit'),
+ 'label' => '('.emt('Edit location').')',
+ 'actionlabel' => emt('Edit'),
);
}
@@ -78,8 +78,8 @@
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "misc/disable-cust_location.cgi?locationnum=$locationnum",
- 'label' => '('.mt('Disable location').')',
- 'actionlabel' => mt('Disable'),
+ 'label' => '('.emt('Disable location').')',
+ 'actionlabel' => emt('Disable'),
);
}
Index: order_pkg_link.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/order_pkg_link.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- order_pkg_link.html 16 May 2011 21:35:44 -0000 1.6
+++ order_pkg_link.html 18 May 2011 01:03:15 -0000 1.7
@@ -1,10 +1,10 @@
<& /elements/popup_link-cust_main.html,
'action' => $p. 'misc/order_pkg.html',
- 'label' => $opt{'label'} || mt('Order new package'),
- 'actionlabel' => mt('Order new package'),
+ 'label' => $opt{'label'} || emt('Order new package'),
+ 'actionlabel' => emt('Order new package'),
'color' => '#333399',
'cust_main' => $cust_main,
- 'closetext' => mt('Close'),
+ 'closetext' => emt('Close'),
'width' => 763,
'height' => $height,
%optional,
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/billing.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -w -d -r1.27 -r1.28
--- billing.html 16 May 2011 21:35:44 -0000 1.27
+++ billing.html 18 May 2011 01:03:14 -0000 1.28
@@ -1,4 +1,4 @@
-<% mt('Billing information') |h %>
+<% emt('Billing information') |h %>
%# If we can't see the unencrypted card, then bill now is an exercise in
%# frustration (without some sort of job queue magic to send it to a secure
%# machine, anyway)
@@ -8,7 +8,7 @@
%# (<A HREF="<% $p %>misc/bill.cgi?<% $cust_main->custnum %>"><% mt('Bill now') |h %></A>)
(<& /elements/bill.html,
custnum => $cust_main->custnum,
- label => mt('Bill now'),
+ label => emt('Bill now'),
url => $p.'view/cust_main.cgi?'.$cust_main->custnum,
&>)
% }
@@ -170,12 +170,12 @@
</TR>
% }
-% my $yes = mt('yes');
-% my $no = mt('no');
+% my $yes = emt('yes');
+% my $no = emt('no');
% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups');
<TR>
- <TD ALIGN="right"><% mt('Tax exempt') |h %><% @exempt_groups ? ' ('.mt('all taxes').')' : '' %></TD>
+ <TD ALIGN="right"><% mt('Tax exempt') |h %><% @exempt_groups ? ' ('.emt('all taxes').')' : '' %></TD>
<TD BGCOLOR="#ffffff"><% $cust_main->tax ? $yes : $no %></TD>
</TR>
% foreach my $exempt_group ( @exempt_groups ) {
@@ -212,7 +212,7 @@
<TR>
<TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
<TD BGCOLOR="#ffffff">
- <% $cust_main->invoice_terms || mt('Default').' ('. ( $conf->config('invoice_default_terms') || mt('Payable upon receipt') ). ')' %>
+ <% $cust_main->invoice_terms || emt('Default').' ('. ( $conf->config('invoice_default_terms') || emt('Payable upon receipt') ). ')' %>
</TD>
</TR>
<TR>
Index: one_time_charge_link.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/one_time_charge_link.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- one_time_charge_link.html 17 May 2011 05:00:43 -0000 1.5
+++ one_time_charge_link.html 18 May 2011 01:03:15 -0000 1.6
@@ -76,8 +76,8 @@
<% include('/elements/popup_link.html', {
'action' => $p.'edit/quick-charge.html?custnum='. $cust_main->custnum,
- 'label' => mt('One-time charge'),
- 'actionlabel' => mt('One-time charge'),
+ 'label' => emt('One-time charge'),
+ 'actionlabel' => emt('One-time charge'),
'color' => '#333399',
'width' => 763,
'height' => 460, #more for more room for lines of add'l description?
Index: attachments.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/attachments.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- attachments.html 17 May 2011 05:00:43 -0000 1.6
+++ attachments.html 18 May 2011 01:03:14 -0000 1.7
@@ -48,35 +48,35 @@
% my $clickjs = popup('edit/process/cust_main_attach.cgi?'.
% "custnum=$custnum;attachnum=$attachnum;".
% "undelete=1",
-% mt('Undelete attachment'));
-% $edit .= linkstr($clickjs, mt('undelete'));
+% emt('Undelete attachment'));
+% $edit .= linkstr($clickjs, emt('undelete'));
% }
% if ($curuser->access_right('Purge attachment')) {
% my $clickjs = popup('edit/process/cust_main_attach.cgi?'.
% "custnum=$custnum;attachnum=$attachnum;".
% "purge=1",
-% mt('Purge attachment'),
-% mt('Permanently remove this file?') );
-% $edit .= linkstr($clickjs,mt('purge'));
+% emt('Purge attachment'),
+% emt('Permanently remove this file?') );
+% $edit .= linkstr($clickjs,emt('purge'));
% }
% }
% else { # you can download or edit it
% if ($curuser->access_right('Edit attachment') ) {
% my $clickjs = popup('edit/cust_main_attach.cgi?'.
% "custnum=$custnum;attachnum=$attachnum",
-% mt('Edit attachment properties'));
-% $edit .= linkstr($clickjs,mt('edit'));
+% emt('Edit attachment properties'));
+% $edit .= linkstr($clickjs,emt('edit'));
% }
% if($curuser->access_right('Delete attachment') ) {
% my $clickjs = popup('edit/process/cust_main_attach.cgi?'.
% "custnum=$custnum;attachnum=$attachnum;delete=1",
% 'Delete attachment',
% 'Delete this file?');
-% $edit .= linkstr($clickjs,mt('delete'));
+% $edit .= linkstr($clickjs,emt('delete'));
% }
% if ($curuser->access_right('Download attachment') ) {
% $edit .= qq! <A HREF="!.popurl(1).'attachment.html?'.$attachnum.qq!">(!
-% . mt('download') .')</A>';
+% . emt('download') .')</A>';
% }
% }
@@ -134,7 +134,7 @@
sub linkstr {
my ($clickjs, $label) = (shift,shift);
- ' <A HREF="javascript:void(0);" '. $clickjs . '>(' . mt($label) . ')</A>';
+ ' <A HREF="javascript:void(0);" '. $clickjs . '>(' . emt($label) . ')</A>';
}
sub size_units {
Index: contacts.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/contacts.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -d -r1.16 -r1.17
--- contacts.html 16 May 2011 16:29:49 -0000 1.16
+++ contacts.html 18 May 2011 01:03:14 -0000 1.17
@@ -1,6 +1,6 @@
% my %which = (
-% '' => mt('Billing'),
-% 'ship_' => mt('Service'),
+% '' => emt('Billing'),
+% 'ship_' => emt('Service'),
% );
% foreach my $which ( '', 'ship_' ) {
% my $pre = $cust_main->get("${which}last") ? $which : '';
@@ -13,7 +13,7 @@
<% $cust_main->get("${pre}last"). ', '. $cust_main->get("${pre}first") |h %>
</TD>
% if ( $which eq '' && $conf->exists('show_ss') ) {
- <TD ALIGN="right">SS#</TD>
+ <TD ALIGN="right"><% mt('SS#') |h %></TD>
<TD BGCOLOR="#ffffff"><% $cust_main->masked('ss') || ' ' %></TD>
% }
</TR>
@@ -31,7 +31,7 @@
% ( $conf->exists('cust_main-require_address2')
% && ! ( $pre xor $cust_main->has_ship_address )
% )
-% ? mt('Unit #')
+% ? emt('Unit #')
% : ' ';
<TR>
Index: misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/misc.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -w -d -r1.20 -r1.21
--- misc.html 16 May 2011 21:35:44 -0000 1.20
+++ misc.html 18 May 2011 01:03:14 -0000 1.21
@@ -48,7 +48,7 @@
% #if ( $cust_main->classnum ) {
<TR>
<TD ALIGN="right"><% mt('Class') |h %></TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->classname || '('.mt('none').')' %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->classname || '('.emt('none').')' %></TD>
</TR>
% #}
Index: notes.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/notes.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- notes.html 17 May 2011 05:00:43 -0000 1.17
+++ notes.html 18 May 2011 01:03:14 -0000 1.18
@@ -54,7 +54,7 @@
% 'edit/cust_main_note.cgi'.
% "?custnum=$custnum".
% ";notenum=$notenum",
-% 'actionlabel' => mt('Edit customer note'),
+% 'actionlabel' => emt('Edit customer note'),
% 'width' => 616,
% 'height' => 538, #575
% 'frame' => 'top',
@@ -63,13 +63,13 @@
%
% my $edit = '';
% if ($curuser->access_right('Edit customer note') ) {
-% $edit = qq! <A HREF="javascript:void(0);" $clickjs>(!.mt('edit').')</A>';
+% $edit = qq! <A HREF="javascript:void(0);" $clickjs>(!.emt('edit').')</A>';
% }
%
% if ( $last_classnum != $note->classnum && !$skipheader ) {
% my $tmp_classnum = $note->classnum ? $note->classnum : 0;
% $classes{$tmp_classnum} = $note->classname ne '' ? $note->classname
-% : mt('Other');
+% : emt('Other');
% if ( $last_classnum != -1 ) {
</TABLE>
</DIV>
- Previous message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.49, 1.50 cust_main.cgi, 1.139, 1.140 cust_pay.html, 1.12, 1.13 cust_refund.html, 1.6, 1.7 svc_acct.cgi, 1.67, 1.68 svc_phone.cgi, 1.30, 1.31
- Next message: [freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.57, 1.58
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list