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/edit/REAL_cust_pkg.cgi | 2 +- httemplate/edit/cust_main.cgi | 6 +++--- httemplate/edit/cust_main/billing.html | 4 ++-- httemplate/edit/cust_main/top_misc.html | 2 +- httemplate/edit/cust_main_attach.cgi | 2 +- httemplate/edit/cust_main_note.cgi | 2 +- httemplate/edit/cust_pay.cgi | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 859baa1b1..170281ba0 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -129,7 +129,7 @@
- + <% include('/elements/footer.html') %> diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 1c188dc14..17ce91dd2 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -58,7 +58,7 @@ % }
-Billing address +<% mt('Billing address') |h %> <& cust_main/contact.html, 'cust_main' => $cust_main, @@ -209,7 +209,7 @@ function samechanged(what) { " + VALUE = "<% $custnum ? emt("Apply changes") : emt("Add Customer") %>" onClick = "this.disabled=true; bottomfixup(this.form);" > @@ -366,7 +366,7 @@ my %keep = map { $_=>1 } qw( error tagnum lock_agentnum lock_pkgpart ); $cgi->delete( grep !$keep{$_}, $cgi->param ); my $title = $custnum ? 'Edit Customer' : 'Add Customer'; -$title = emt($title); +$title = mt($title); $title .= ": ". $cust_main->name if $custnum; my $r = qq!* !; diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 07266b9a6..39a0b70ed 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -190,7 +190,7 @@ % qq!${r}!.emt('Exact name on card').qq! !. % qq!!. % -% qq! !.emt('Charge future payments to this card automatically').qq!!. +% qq! !.emt('Charge future payments to this [_1] automatically','credit card').qq!!. % % ( $conf->exists('cust_main-select-billday') ? % qq! @@ -235,7 +235,7 @@ % ). % % -% qq! !.emt('Charge future payments to this electronic check automatically').qq!!. +% qq! !.emt('Charge future payments to this [_1] automatically','electronic check').qq!!. % % ( $conf->exists('cust_main-select-billday') ? % qq! diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html index 229b84ba4..575b73727 100644 --- a/httemplate/edit/cust_main/top_misc.html +++ b/httemplate/edit/cust_main/top_misc.html @@ -84,7 +84,7 @@ % } elsif ( ! $conf->exists('disable_customer_referrals') ) { - Referring customer + <% mt('Referring customer') |h %> <& /elements/search-cust_main.html, 'field_name' => 'referral_custnum', diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index ebbaf3cf3..4d9688fe9 100755 --- a/httemplate/edit/cust_main_attach.cgi +++ b/httemplate/edit/cust_main_attach.cgi @@ -29,7 +29,7 @@
% if(! $disabled) { "> + VALUE="<% $attachnum ? emt("Apply changes") : emt("Upload File") %>"> % } % if(defined $attach and $curuser->access_right('Delete attachment')) {
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi index c4ec071b8..61590566c 100755 --- a/httemplate/edit/cust_main_note.cgi +++ b/httemplate/edit/cust_main_note.cgi @@ -29,7 +29,7 @@ % }

-"> +"> diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 353a04106..0bb86e352 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -43,7 +43,7 @@ <% mt('Amount') |h %> <% $money_char %> - by <% FS::payby->payname($payby) %> + <% mt('by') |h %> <% mt(FS::payby->payname($payby)) |h %> <& /elements/tr-select-discount_term.html, @@ -142,8 +142,8 @@ die "access denied" my $paybatch = "webui-$_date-$$-". rand() * 2**32; -my $title = emt('Post '. FS::payby->payname($payby). ' payment'); -$title .= emt(" against Invoice #[_1]",$linknum) if $link eq 'invnum'; +my $title = mt('Post '. FS::payby->payname($payby). ' payment'); +$title .= mt(" against Invoice #[_1]",$linknum) if $link eq 'invnum'; my $custnum; if ( $link eq 'invnum' ) { -- cgit v1.2.1