[freeside-commits] freeside/httemplate/view/cust_main/packages location.html, 1.10, 1.11 package.html, 1.11, 1.12 services.html, 1.10, 1.11

Erik Levinson levinse at wavetail.420.am
Tue May 17 18:06:30 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages
In directory wavetail.420.am:/tmp/cvs-serv5512/view/cust_main/packages

Modified Files:
	location.html package.html services.html 
Log Message:
internationalization/localization, RT12515

Index: services.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/services.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- services.html	17 May 2011 05:00:43 -0000	1.10
+++ services.html	18 May 2011 01:06:28 -0000	1.11
@@ -109,7 +109,7 @@
   }
 
   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 @@
     $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>

Index: package.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/package.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- package.html	17 May 2011 05:00:43 -0000	1.11
+++ package.html	18 May 2011 01:06:28 -0000	1.12
@@ -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">
                 (&nbsp;<% 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">
                 (&nbsp;<& /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 @@
   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 @@
     '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 @@
   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>';
 }
 

Index: location.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/location.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- location.html	17 May 2011 00:32:04 -0000	1.10
+++ location.html	18 May 2011 01:06:28 -0000	1.11
@@ -48,8 +48,8 @@
     '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 @@
   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'),
   );
 }
 



More information about the freeside-commits mailing list