[Rt-commit] r15764 - rt/3.8/trunk/share/html/User/Elements

ruz at bestpractical.com ruz at bestpractical.com
Thu Sep 4 14:24:27 EDT 2008


Author: ruz
Date: Thu Sep  4 14:24:27 2008
New Revision: 15764

Modified:
   rt/3.8/trunk/share/html/User/Elements/DelegateRights

Log:
* localize whole string, not parts

Modified: rt/3.8/trunk/share/html/User/Elements/DelegateRights
==============================================================================
--- rt/3.8/trunk/share/html/User/Elements/DelegateRights	(original)
+++ rt/3.8/trunk/share/html/User/Elements/DelegateRights	Thu Sep  4 14:24:27 2008
@@ -96,10 +96,11 @@
 % }
 <%init>
 
-my $sectionheading = loc("[_1] rights", loc($ObjectType =~ /^RT::(.*)$/));
-# 'System' # loc
-# 'Group'  # loc
-# 'Queue'  # loc
+my ($frendly_type) = ($ObjectType =~ /^RT::(.*)$/);
+my $sectionheading = loc("$frendly_type rights");
+# 'System rights' # loc
+# 'Group rights'  # loc
+# 'Queue rights'  # loc
 
 </%init>
 <%args>


More information about the Rt-commit mailing list