[interchange-cvs] interchange - racke modified dist/lib/UI/pages/admin/access_permissions.html

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Fri Feb 22 11:45:00 2002


User:      racke
Date:      2002-02-22 16:44:07 GMT
Modified:  dist/lib/UI/pages/admin Tag: STABLE_4_8-branch
Modified:           access_permissions.html
Log:
use [L] instead of the loc tag from embedded Perl so
localize can see the strings to be translated

Revision  Changes    Path
No                   revision



No                   revision



2.1.2.2   +17 -17    interchange/dist/lib/UI/pages/admin/access_permissions.html


rev 2.1.2.2, prev_rev 2.1.2.1
Index: access_permissions.html
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/pages/admin/access_permissions.html,v
retrieving revision 2.1.2.1
retrieving revision 2.1.2.2
diff -u -r2.1.2.1 -r2.1.2.2
--- access_permissions.html	24 Aug 2001 01:50:53 -0000	2.1.2.1
+++ access_permissions.html	22 Feb 2002 16:44:07 -0000	2.1.2.2
@@ -108,22 +108,22 @@
 [perl tables="__UI_META_TABLE__ __UI_ACCESS_TABLE__"]
 
 	my @permissions = (
-        item		=> 'Item editor',
-        page		=> 'Page editor',
-        cat			=> 'Category editor',
-        tax			=> 'Tax editor',
-        shipping	=> 'Shipping editor',
-        payment		=> 'Payment editor',
-        affiliate	=> 'Affiliates editor',
-        itemtype	=> 'Item type editor',
-        pagetype	=> 'Page type editor',
-        grouptype	=> 'Group type editor',
-        matrix		=> 'Matrix editor',
-        knar		=> 'Knar editor',
-        access		=> 'Administrator Permissions',
-        group		=> 'Access Group editor',
-        perm		=> 'Permission editor',
-        layout		=> 'Layout editor',
+        item		=> '[L]Item editor[/L]',
+        page		=> '[L]Page editor[/L]',
+        cat			=> '[L]Category editor[/L]',
+        tax			=> '[L]Tax editor[/L]',
+        shipping	=> '[L]Shipping editor[/L]',
+        payment		=> '[L]Payment editor[/L]',
+        affiliate	=> '[L]Affiliates editor[/L]',
+        itemtype	=> '[L]Item type editor[/L]',
+        pagetype	=> '[L]Page type editor[/L]',
+        grouptype	=> '[L]Group type editor[/L]',
+        matrix		=> '[L]Matrix editor[/L]',
+        knar		=> '[L]Knar editor[/L]',
+        access		=> '[L]Administrator Permissions[/L]',
+        group		=> '[L]Access Group editor[/L]',
+        perm		=> '[L]Permission editor[/L]',
+        layout		=> '[L]Layout editor[/L]',
 	);
 	my %extra = qw/userdb 1 order 1/;
 	my $current = tag_data('__UI_ACCESS_TABLE__', 'yes_functions', $CGI->{user_id});
@@ -163,7 +163,7 @@
 	my $perm;
 	my $title;
 	while( $perm = shift @permissions) {
-		$title = $Tag->loc('',shift @permissions);
+		$title = shift @permissions;
 		my $ref = $permref->{$perm} || {};
 		$out .= <<EOF;
 <tr>