From d0c5ddbd31af8b1747d447f31623e1af05961eb4 Mon Sep 17 00:00:00 2001 From: levinse Date: Fri, 27 May 2011 05:57:19 +0000 Subject: internationalization/localization, RT12515 --- httemplate/elements/location.html | 10 +++++----- httemplate/elements/popup_link-cust_main.html | 2 +- httemplate/elements/popup_link-cust_pkg.html | 2 +- httemplate/elements/tr-select-cust_location.html | 2 +- httemplate/elements/tr-select-discount.html | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'httemplate/elements') 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: % } - <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || 'Address' %>> + <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || emt('Address') %>> - <<%$th%> ALIGN="right"><%$r%>City> + <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %>> <% include('/elements/city.html', %select_hash) %> <<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County> <% include('/elements/select-county.html', %select_hash ) %> - <<%$th%> ALIGN="right" WIDTH="1"><%$r%>State> + <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %>> <% include('/elements/select-state.html', %select_hash ) %> - <<%$th%> ALIGN="right" WIDTH="1"><%$r%>Zip> + <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('Zip') |h %>> - <<%$th%> ALIGN="right"><%$r%>Country> + <<%$th%> ALIGN="right"><%$r%><% mt('Country') |h %>> <% include('/elements/select-country.html', %select_hash ) %> 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: - <<%$th%> ALIGN="right"><% $opt{'label'} || 'Service location' %>> + <<%$th%> ALIGN="right"><% $opt{'label'} || emt('Service location') %>>