From 9d44cb2be1bfdfb20d3f733b07ca4441e7f18401 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 25 Sep 2016 12:20:52 -0700 Subject: fix translation escaping --- httemplate/view/cust_bill.cgi | 4 ++-- httemplate/view/cust_main/contacts.html | 2 +- httemplate/view/cust_main/misc.html | 2 +- httemplate/view/cust_main/notes/email.html | 16 ++++++++-------- httemplate/view/cust_main/packages/package.html | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index d9525750c..6d5277612 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -83,7 +83,7 @@ function areyousure(href, message) { % $onclick = ''; % if ( $cust_bill->promised_date ) { % my $date_format = $conf->config('date_format') || '%b %o, %Y'; - <% mt('Payment promised by [_1]', + <% emt('Payment promised by [_1]', time2str($date_format, $cust_bill->promised_date) ) %> ( <% $onclick %><% mt('change') |h %> )

@@ -144,7 +144,7 @@ function areyousure(href, message) { % $cust_bill->cust_main->agent->invoice_modes; % if ( @modes || $include_statement_template ) { <% $br ? '|' : '' %> -<% mt('View as:') %> +<% emt('View as:') %>
<& /elements/select-table.html, diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 3feff2f78..d75f114cf 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -10,7 +10,7 @@ % if ( $this eq 'ship' and % $cust_main->bill_locationnum == $cust_main->ship_locationnum ) % { - (<% mt('same as billing') %>) + (<% emt('same as billing') %>) % } % if ( diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 7e625d26c..d9bf91e17 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -165,7 +165,7 @@ % if ( $conf->exists('ticket_system-selfservice_edit_subject') ) { - <% mt('Edit ticket subjects') %> + <% emt('Edit ticket subjects') %> <% $cust_main->edit_subject ? 'yes' : 'no' %> diff --git a/httemplate/view/cust_main/notes/email.html b/httemplate/view/cust_main/notes/email.html index da2c352b6..41c5b8ad4 100644 --- a/httemplate/view/cust_main/notes/email.html +++ b/httemplate/view/cust_main/notes/email.html @@ -8,22 +8,22 @@ .row1 {background-color: #ffffff}
- <% mt('Email sent to this customer') %>
+ <% emt('Email sent to this customer') %>
% if ($maxrecords < $total) { -<% mt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %> +<% emt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %> - (<% mt('view all') %>) + (<% emt('view all') %>) % } else { -<% mt('[quant,_1,total message]', $total) %> +<% emt('[quant,_1,total message]', $total) %> % }
<& /elements/table-grid.html &> - <% mt('Date') %> - <% mt('Type') %> - <% mt('Destination') %> - <% mt('Subject') %> + <% emt('Date') %> + <% emt('Type') %> + <% emt('Destination') %> + <% emt('Subject') %> % my $i = 0; diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html index 0a5305ed5..1b397d851 100644 --- a/httemplate/view/cust_main/packages/package.html +++ b/httemplate/view/cust_main/packages/package.html @@ -265,7 +265,7 @@ % if ( @cust_pkg_usage ) { - + % foreach my $usage (@cust_pkg_usage) { % my $part = $usage->part_pkg_usage; % my $ratio = 255 * ($usage->minutes / $part->minutes); -- cgit v1.2.1
<% mt('Included usage') %>
<% emt('Included usage') %>