diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 12:20:52 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 12:20:52 -0700 |
commit | 9d44cb2be1bfdfb20d3f733b07ca4441e7f18401 (patch) | |
tree | 43cb1862d1c282e4bfa50a952fa2b43f3e2b595f /httemplate/view | |
parent | 6f234776ee49a5991d6a8a0f360ad32f536c6668 (diff) |
fix translation escaping
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_bill.cgi | 4 | ||||
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/misc.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/notes/email.html | 16 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/package.html | 2 |
5 files changed, 13 insertions, 13 deletions
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 = '<A HREF="#" onclick="'.$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 %></A> ) <BR><BR> @@ -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:') %> <FORM STYLE="display:inline" ACTION="<% $cgi->url %>" METHOD="GET"> <INPUT NAME="invnum" VALUE="<% $invnum %>" TYPE="hidden"> <& /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') %>) % } </FONT> % 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') ) { <TR> - <TH ALIGN="right"><% mt('Edit ticket subjects') %></TH> + <TH ALIGN="right"><% emt('Edit ticket subjects') %></TH> <TD><% $cust_main->edit_subject ? 'yes' : 'no' %></TD> </TR> 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} </STYLE> <DIV id="cust_msg"> -<FONT SIZE="+1"> <% mt('Email sent to this customer') %> </FONT><BR> +<FONT SIZE="+1"> <% emt('Email sent to this customer') %> </FONT><BR> % 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) %> <A HREF="<%$p%>search/cust_msg.html?custnum=<%$custnum%>"> - <i>(<% mt('view all') %>)</i> + <i>(<% emt('view all') %>)</i> </A> % } else { -<% mt('[quant,_1,total message]', $total) %> +<% emt('[quant,_1,total message]', $total) %> % } <BR> <& /elements/table-grid.html &> <TR> - <TH CLASS="grid"><% mt('Date') %></TH> - <TH CLASS="grid"><% mt('Type') %></TH> - <TH CLASS="grid"><% mt('Destination') %></TH> - <TH CLASS="grid"><% mt('Subject') %></TH> + <TH CLASS="grid"><% emt('Date') %></TH> + <TH CLASS="grid"><% emt('Type') %></TH> + <TH CLASS="grid"><% emt('Destination') %></TH> + <TH CLASS="grid"><% emt('Subject') %></TH> <TH CLASS="grid"></TH> </TR> % 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 ) { <TABLE CLASS="usage inv"> - <TR><TH COLSPAN=4><% mt('Included usage') %></TH></TR> + <TR><TH COLSPAN=4><% emt('Included usage') %></TH></TR> % foreach my $usage (@cust_pkg_usage) { % my $part = $usage->part_pkg_usage; % my $ratio = 255 * ($usage->minutes / $part->minutes); |