summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_bill.cgi2
-rwxr-xr-xhttemplate/view/cust_main.cgi4
-rw-r--r--httemplate/view/cust_main/billing.html2
-rw-r--r--httemplate/view/cust_pay.html10
-rw-r--r--httemplate/view/cust_refund.html6
-rw-r--r--httemplate/view/elements/svc_Common.html4
-rwxr-xr-xhttemplate/view/svc_acct.cgi4
7 files changed, 16 insertions, 16 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index 4dc03adc3..2ce294e9a 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -1,4 +1,4 @@
-<& /elements/header.html, emt('Invoice View'), menubar(
+<& /elements/header.html, mt('Invoice View'), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
) &>
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index fb3bfc314..a6c917f20 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -43,7 +43,7 @@ function areyousure(href, message) {
% if ( $view eq 'basics' || $view eq 'jumbo' ) {
% if ( $curuser->access_right('Edit customer') ) {
- <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>">Edit this customer</A> |
+ <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>"><% mt('Edit this customer') |h %></A> |
% }
% if ( $curuser->access_right('Cancel customer')
@@ -295,7 +295,7 @@ die "Customer not found!" unless $cust_main;
my $title = $cust_main->name;
$title = '('. $cust_main->display_custnum. ") $title"
if $conf->exists('cust_main-title-display_custnum');
-$title = "Customer: $title";
+$title = mt("Customer:")." ".$title;
#false laziness w/pref/pref.html and Conf.pm (cust_main-default_view)
tie my %views, 'Tie::IxHash',
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index 26bd5814e..40ab3afbf 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -220,7 +220,7 @@
<TD BGCOLOR="#ffffff">
<% length($cust_main->credit_limit) ?
$money_char.sprintf("%.2f", $cust_main->credit_limit) :
- 'Unlimited' %>
+ emt('Unlimited') %>
</TD>
</TR>
diff --git a/httemplate/view/cust_pay.html b/httemplate/view/cust_pay.html
index 9871ff91c..c9b2d51b5 100644
--- a/httemplate/view/cust_pay.html
+++ b/httemplate/view/cust_pay.html
@@ -1,6 +1,6 @@
% if ( $link eq 'popup' ) {
- <& /elements/header-popup.html, emt("$thing Receipt") &>
+ <& /elements/header-popup.html, mt("$thing Receipt") &>
<div align="center">
<A HREF="javascript:self.parent.location = '<% $pr_link %>'"><% mt('Print') |h %></A> |
@@ -9,7 +9,7 @@
% } elsif ( $link eq 'print' ) {
- <& /elements/header-popup.html, emt("$thing Receipt") &>
+ <& /elements/header-popup.html, mt("$thing Receipt") &>
% #it would be nice if the menubar could be hidden for print, but better to
% # have it available than not, otherwise the user winds up at a dead end
@@ -20,13 +20,13 @@
<BR><BR>
% } elsif ( $link eq 'email' ) {
% if ( $email_error ) {
- <& /elements/header-popup.html, emt("Error re-emailing receipt: [_1]", $email_error) &>
+ <& /elements/header-popup.html, mt("Error re-emailing receipt: [_1]", $email_error) &>
% } else {
- <& /elements/header-popup.html, emt("Re-emailed receipt") &>
+ <& /elements/header-popup.html, mt("Re-emailed receipt") &>
% }
% } else {
- <& /elements/header.html, emt("$thing Receipt"), menubar(
+ <& /elements/header.html, mt("$thing Receipt"), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
emt('Print receipt') => $pr_link,
)
diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html
index 898402e06..f19c61b1f 100644
--- a/httemplate/view/cust_refund.html
+++ b/httemplate/view/cust_refund.html
@@ -1,12 +1,12 @@
% if ( $link eq 'popup' ) {
- <& /elements/header-popup.html, emt('Refund Receipt') &>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
<CENTER><A HREF="javascript:self.parent.location = '<% $pr_link %>'"><% mt('Print') |h %></A></CENTER><BR>
% } elsif ( $link eq 'print' ) {
- <& /elements/header-popup.html, emt('Refund Receipt') &>
+ <& /elements/header-popup.html, mt('Refund Receipt') &>
% #it would be nice if the menubar could be hidden for print, but better to
% # have it available than not, otherwise the user winds up at a dead end
@@ -18,7 +18,7 @@
% } else {
- <& /elements/header.html, emt('Refund Receipt'), menubar(
+ <& /elements/header.html, mt('Refund Receipt'), menubar(
emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum",
emt('Print receipt') => $pr_link,
)
diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html
index 8f915a10e..38fa90eb9 100644
--- a/httemplate/view/elements/svc_Common.html
+++ b/httemplate/view/elements/svc_Common.html
@@ -35,7 +35,7 @@ function areyousure(href) {
% if ( $custnum ) {
- <& /elements/header.html,emt("View [_1]: [_2]",$label,$value) &>
+ <& /elements/header.html, mt("View [_1]: [_2]",$label,$value) &>
<& /elements/small_custview.html, $custnum, '', 1,
"${p}view/cust_main.cgi" &>
@@ -43,7 +43,7 @@ function areyousure(href) {
% } else {
- <& /elements/header.html,emt("View [_1]: [_2]",$label,$value), menubar(
+ <& /elements/header.html, mt("View [_1]: [_2]",$label,$value), menubar(
emt("Cancel this (unaudited) [_1]",$label) =>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')"
) &>
diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi
index f8a4c1f61..6f79a01a4 100755
--- a/httemplate/view/svc_acct.cgi
+++ b/httemplate/view/svc_acct.cgi
@@ -1,6 +1,6 @@
% if ( $custnum ) {
- <& /elements/header.html, emt("View [_1] account",$svc) &>
+ <& /elements/header.html, mt("View [_1] account",$svc) &>
<& /elements/small_custview.html, $custnum, '', 1,
"${p}view/cust_main.cgi" &>
<BR>
@@ -15,7 +15,7 @@
}
</SCRIPT>
- <& /elements/header.html, emt('View account'), menubar(
+ <& /elements/header.html, mt('View account'), menubar(
emt("Cancel this (unaudited) account") =>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
) &>