diff options
author | levinse <levinse> | 2011-05-18 01:08:08 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-18 01:08:08 +0000 |
commit | 998f029ef805c73e90543b34192e16d38a23c69c (patch) | |
tree | 16ff1b8368368e0b19de9ff517ea0643e6d75a24 /httemplate/view/cust_main/packages | |
parent | a9916ce48023939ab1d2506704f5545eb183a2ea (diff) |
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/view/cust_main/packages')
-rw-r--r-- | httemplate/view/cust_main/packages/location.html | 8 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/package.html | 34 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/services.html | 16 |
3 files changed, 29 insertions, 29 deletions
diff --git a/httemplate/view/cust_main/packages/location.html b/httemplate/view/cust_main/packages/location.html index 5f36055d1..6658415b5 100644 --- a/httemplate/view/cust_main/packages/location.html +++ b/httemplate/view/cust_main/packages/location.html @@ -48,8 +48,8 @@ sub pkg_change_location_link { 'action' => $p. "misc/change_pkg.cgi?locationnum=-1;pkgpart=$pkgpart;". "address1=;address2=;city=;county=;state=$statedefault;". "zip=;country=$countrydefault", - 'label' => mt('Change location'), - 'actionlabel' => mt('Change'), + 'label' => emt('Change location'), + 'actionlabel' => emt('Change'), 'cust_pkg' => $cust_pkg, ); } @@ -58,8 +58,8 @@ sub edit_location_link { my $locationnum = shift; include( '/elements/popup_link.html', 'action' => $p. "edit/cust_location.cgi?locationnum=$locationnum", - 'label' => mt('Edit location'), - 'actionlabel' => mt('Edit'), + 'label' => emt('Edit location'), + 'actionlabel' => emt('Edit'), ); } diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html index c79742b8b..494344586 100644 --- a/httemplate/view/cust_main/packages/package.html +++ b/httemplate/view/cust_main/packages/package.html @@ -89,8 +89,8 @@ % if ( $editi && ! $cust_pkg->get('cancel') ) { (<& /elements/popup_link.html, { 'action' => $editlink. 'I', - 'label' => mt('edit'), - 'actionlabel' => mt('Edit invoice details'), + 'label' => emt('edit'), + 'actionlabel' => emt('Edit invoice details'), 'color' => '#333399', 'width' => 763, } @@ -112,8 +112,8 @@ <FONT SIZE="-1"> ( <% include('/elements/popup_link.html', { 'action' => $editlink. 'I', - 'label' => mt('Add invoice details'), - 'actionlabel' => mt('Add invoice details'), + 'label' => emt('Add invoice details'), + 'actionlabel' => emt('Add invoice details'), 'color' => '#333399', 'width' => 763, }) @@ -133,8 +133,8 @@ % if ( $editc ) { (<& /elements/popup_link.html, { 'action' => $editlink. 'C', - 'label' => mt('edit'), - 'actionlabel' => mt('Edit comments'), + 'label' => emt('edit'), + 'actionlabel' => emt('Edit comments'), 'color' => '#333399', 'width' => 763, } @@ -156,8 +156,8 @@ <FONT SIZE="-1"> ( <& /elements/popup_link.html, { 'action' => $editlink. 'C', - 'label' => mt('Add comments'), - 'actionlabel' => mt('Add comments'), + 'label' => emt('Add comments'), + 'actionlabel' => emt('Add comments'), 'color' => '#333399', 'width' => 763, } @@ -210,8 +210,8 @@ sub pkg_change_link { my $locationnum = $cust_pkg->locationnum; include( '/elements/popup_link-cust_pkg.html', 'action' => $p. "misc/change_pkg.cgi?locationnum=$locationnum", - 'label' => mt('Change package'), - 'actionlabel' => mt('Change'), + 'label' => emt('Change package'), + 'actionlabel' => emt('Change'), 'cust_pkg' => $cust_pkg, ); } @@ -223,20 +223,20 @@ sub pkg_change_location_link { 'action' => $p. "misc/change_pkg.cgi?locationnum=-1;pkgpart=$pkgpart;". "address1=;address2=;city=;county=;state=$statedefault;". "zip=;country=$countrydefault", - 'label' => mt('Change location'), - 'actionlabel' => mt('Change'), + 'label' => emt('Change location'), + 'actionlabel' => emt('Change'), 'cust_pkg' => $cust_pkg, ); } -sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', mt('Edit dates'), @_ ); } +sub pkg_dates_link { pkg_link('edit/REAL_cust_pkg', emt('Edit dates'), @_ ); } sub pkg_discount_link { my $cust_pkg = shift or return ''; include( '/elements/popup_link-cust_pkg.html', 'action' => $p.'edit/cust_pkg_discount.html', - 'label' => mt('Discount'), - 'actionlabel' => mt('Discount'), + 'label' => emt('Discount'), + 'actionlabel' => emt('Discount'), 'cust_pkg' => $cust_pkg, 'width' => 616, ); @@ -249,13 +249,13 @@ sub pkg_customize_link { qq!<A HREF="${p}edit/part_pkg.cgi?!. "clone=". $part_pkg->pkgpart. ';'. "pkgnum=". $cust_pkg->pkgnum. - qq!">!.mt('Customize').'</A>'; + qq!">!.emt('Customize').'</A>'; } sub pkg_event_link { my($cust_pkg) = @_; qq!<a href="${p}search/cust_event.html?pkgnum=!. $cust_pkg->pkgnum. qq!">!. - mt('View package events'). + emt('View package events'). '</a>'; } diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html index de8946248..d84d3297a 100644 --- a/httemplate/view/cust_main/packages/services.html +++ b/httemplate/view/cust_main/packages/services.html @@ -109,7 +109,7 @@ sub svc_provision_link { } my $link = qq!<A CLASS="provision" HREF="$url">!. - mt("Provision [_1] ([_2])",$svc_nbsp,$num_avail).'</A>'; + emt("Provision [_1] ([_2])",$svc_nbsp,$num_avail).'</A>'; if ( $opt->{'legacy_link'} && $curuser->access_right('View/link unlinked services') ) @@ -117,18 +117,18 @@ sub svc_provision_link { $link .= '<BR>'. qq!<A CLASS="provision" HREF="${p}misc/link.cgi?!. qq!$pkgnum_svcpart">!. - mt("Link to legacy [_1] ([_2])",$svc_nbsp,$num_avail).'</A>'; + emt("Link to legacy [_1] ([_2])",$svc_nbsp,$num_avail).'</A>'; } $link; } my %hints = ( -svc_acct => mt('(user or email)'), -svc_domain => mt('(domain)'), -svc_broadband => mt('(ip or mac)'), -svc_forward => mt('(email)'), -svc_phone => mt('(phone)'), -svc_pbx => mt('(phone)'), +svc_acct => emt('(user or email)'), +svc_domain => emt('(domain)'), +svc_broadband => emt('(ip or mac)'), +svc_forward => emt('(email)'), +svc_phone => emt('(phone)'), +svc_pbx => emt('(phone)'), ); </%init> |