summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-27 05:57:19 +0000
committerlevinse <levinse>2011-05-27 05:57:19 +0000
commitd0c5ddbd31af8b1747d447f31623e1af05961eb4 (patch)
tree8fdb8e3bb059eb0d2b96648cf7933271ba8509ae /httemplate/elements
parent8ef00c68688492b2afa3dde8d3d467f89f238c40 (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/location.html10
-rw-r--r--httemplate/elements/popup_link-cust_main.html2
-rw-r--r--httemplate/elements/popup_link-cust_pkg.html2
-rw-r--r--httemplate/elements/tr-select-cust_location.html2
-rw-r--r--httemplate/elements/tr-select-discount.html2
5 files changed, 9 insertions, 9 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html
index 0ff119009..48c6159bb 100644
--- a/httemplate/elements/location.html
+++ b/httemplate/elements/location.html
@@ -40,7 +40,7 @@ Example:
% }
<TR>
- <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || 'Address' %></<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || emt('Address') %></<%$th%>>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>address1"
@@ -148,15 +148,15 @@ Example:
<TR>
- <<%$th%> ALIGN="right"><%$r%>City</<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %></<%$th%>>
<TD WIDTH="1"><% include('/elements/city.html', %select_hash) %></TD>
<<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</<%$th%>>
<TD WIDTH="1"><% include('/elements/select-county.html', %select_hash ) %></TD>
- <<%$th%> ALIGN="right" WIDTH="1"><%$r%>State</<%$th%>>
+ <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %></<%$th%>>
<TD WIDTH="1">
<% include('/elements/select-state.html', %select_hash ) %>
</TD>
- <<%$th%> ALIGN="right" WIDTH="1"><%$r%>Zip</<%$th%>>
+ <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('Zip') |h %></<%$th%>>
<TD>
<INPUT TYPE = "text"
NAME = "<%$pre%>zip"
@@ -171,7 +171,7 @@ Example:
</TR>
<TR>
- <<%$th%> ALIGN="right"><%$r%>Country</<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% mt('Country') |h %></<%$th%>>
<TD COLSPAN=6><% include('/elements/select-country.html', %select_hash ) %></TD>
</TR>
diff --git a/httemplate/elements/popup_link-cust_main.html b/httemplate/elements/popup_link-cust_main.html
index db53ad480..14137859f 100644
--- a/httemplate/elements/popup_link-cust_main.html
+++ b/httemplate/elements/popup_link-cust_main.html
@@ -27,7 +27,7 @@ Example:
% }
<%init>
-my $params = { 'closetext' => 'Close' };
+my $params = { 'closetext' => emt('Close') };
if (ref($_[0]) eq 'HASH') {
$params = { %$params, %{ $_[0] } };
diff --git a/httemplate/elements/popup_link-cust_pkg.html b/httemplate/elements/popup_link-cust_pkg.html
index cd8d5c069..39146c35a 100644
--- a/httemplate/elements/popup_link-cust_pkg.html
+++ b/httemplate/elements/popup_link-cust_pkg.html
@@ -27,7 +27,7 @@ Example:
% }
<%init>
-my $params = { 'closetext' => 'Close',
+my $params = { 'closetext' => emt('Close'),
'width' => 768,
};
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 8b1895fae..a876f6225 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -197,7 +197,7 @@ Example:
</SCRIPT>
<TR>
- <<%$th%> ALIGN="right"><% $opt{'label'} || 'Service&nbsp;location' %></<%$th%>>
+ <<%$th%> ALIGN="right"><% $opt{'label'} || emt('Service location') %></<%$th%>>
<TD COLSPAN=7>
<SELECT NAME = "locationnum"
ID = "locationnum"
diff --git a/httemplate/elements/tr-select-discount.html b/httemplate/elements/tr-select-discount.html
index e8be3938c..6bfc48530 100644
--- a/httemplate/elements/tr-select-discount.html
+++ b/httemplate/elements/tr-select-discount.html
@@ -6,7 +6,7 @@
% } else {
<TR>
- <TD ALIGN="right" WIDTH="176"><% $opt{'label'} || '<B>Discount</B>' %></TD>
+ <TD ALIGN="right" WIDTH="176"><% $opt{'label'} || '<B>'.emt('Discount').'</B>' %></TD>
<TD <% $colspan %>>
<% include( '/elements/select-discount.html',
'curr_value' => $discountnum,