From 4dc075fc38008d1c6cbe9b88b2bdb32bdc92adbf Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 25 Sep 2016 12:20:40 -0700 Subject: fix translation escaping --- httemplate/misc/batch-cust_pay.html | 2 +- httemplate/misc/change_pkg_contact.html | 2 +- httemplate/misc/detach_pkg.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index 197ade14f..d4d4afa6e 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -288,7 +288,7 @@ function create_application_row(rownum, appnum) { td_invnum.setAttribute('colspan', 4); td_invnum.style.textAlign = 'right'; td_invnum.appendChild( - document.createTextNode('<% mt('Apply to Invoice ') %>') + document.createTextNode(<% mt('Apply to Invoice ') |js_string %>) ); var select_invnum = document.createElement('SELECT'); select_invnum.setAttribute('rownum', rownum); diff --git a/httemplate/misc/change_pkg_contact.html b/httemplate/misc/change_pkg_contact.html index c88140ebf..26eacb905 100755 --- a/httemplate/misc/change_pkg_contact.html +++ b/httemplate/misc/change_pkg_contact.html @@ -16,7 +16,7 @@ % if ( $cust_pkg->contactnum ) { - <% mt('Current Contact') %> + <% emt('Current Contact') %> <% $cust_pkg->contact_obj->line |h %> diff --git a/httemplate/misc/detach_pkg.html b/httemplate/misc/detach_pkg.html index b2dfa389d..dc2329150 100755 --- a/httemplate/misc/detach_pkg.html +++ b/httemplate/misc/detach_pkg.html @@ -28,7 +28,7 @@ - <% mt('Name') %> + <% emt('Name') %> <% $cust_pkg->contact_obj->line |h %> @@ -36,7 +36,7 @@ % #} - <% mt('Address') %> + <% emt('Address') %> <% $loc->location_label( 'join_string' => '
', -- cgit v1.2.1