[freeside-commits] freeside/httemplate/view/cust_main locations.html, 1.2, 1.3

Erik Levinson levinse at wavetail.420.am
Mon May 16 09:31:10 PDT 2011


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

Modified Files:
	locations.html 
Log Message:
internationalization/localization, RT12515

Index: locations.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/locations.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- locations.html	14 Dec 2010 08:21:17 -0000	1.2
+++ locations.html	16 May 2011 16:31:08 -0000	1.3
@@ -10,7 +10,7 @@
 %   my $packages = $packages_in{$locationnum};
 %   my $loc = $locations{$locationnum};
 %   next if $loc->disabled and scalar(@$packages) == 0;
-<% include('/elements/table-grid.html') %>
+<& /elements/table-grid.html &>
 <TR><TH COLSPAN=3 ALIGN="left" VALIGN="bottom" 
 STYLE="padding-bottom: 0px; 
   padding-left: 0px; 
@@ -34,7 +34,7 @@
 % }
 </SPAN></TH></TR>
 %   if (@$packages) {
-<% include('packages/section.html', 'packages' => $packages ) %>
+<& packages/section.html, 'packages' => $packages &>
 %   }
 </TABLE><BR>
 % } #foreach $locationnum
@@ -69,8 +69,8 @@
   my $locationnum = shift;
   include( '/elements/popup_link.html',
     'action'      => $p. "edit/cust_location.cgi?locationnum=$locationnum",
-    'label'       => '(Edit location)',
-    'actionlabel' => 'Edit',
+    'label'       => '('.mt('Edit location').')',
+    'actionlabel' => mt('Edit'),
   );
 }
 
@@ -78,10 +78,9 @@
   my $locationnum = shift;
   include( '/elements/popup_link.html',
     'action'      => $p. "misc/disable-cust_location.cgi?locationnum=$locationnum",
-    'label'       => '(Disable location)',
-    'actionlabel' => 'Disable',
+    'label'       => '('.mt('Disable location').')',
+    'actionlabel' => mt('Disable'),
   );
 }
 
-
 </%init>



More information about the freeside-commits mailing list