From d95edbc1d7a2009137e7e727a67b7c93eb5e8bc0 Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 2 Aug 2011 08:04:45 +0000 Subject: - Improve simple acl handling (rename Full to Other) git-svn-id: https://svn.roundcube.net/trunk@5001 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/acl/acl.php | 4 ++-- plugins/acl/localization/en_US.inc | 3 ++- plugins/acl/localization/pl_PL.inc | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index f512a1e00..33f84dbc3 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -251,7 +251,7 @@ class acl extends rcube_plugin 'read' => 'lrs', 'write' => 'wi', 'delete' => $deleteright, - 'full' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), + 'other' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), ); foreach ($items as $key => $val) { @@ -369,7 +369,7 @@ class acl extends rcube_plugin 'read' => 'lrs', 'write' => 'wi', 'delete' => $deleteright, - 'full' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), + 'other' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), ); } diff --git a/plugins/acl/localization/en_US.inc b/plugins/acl/localization/en_US.inc index 1666377b5..f5b1ae64d 100644 --- a/plugins/acl/localization/en_US.inc +++ b/plugins/acl/localization/en_US.inc @@ -25,6 +25,7 @@ $labels['aclx'] = 'Delete folder'; $labels['acla'] = 'Administer'; $labels['aclfull'] = 'Full control'; +$labels['aclother'] = 'Other'; $labels['aclread'] = 'Read'; $labels['aclwrite'] = 'Write'; $labels['acldelete'] = 'Delete'; @@ -43,7 +44,7 @@ $labels['shortacle'] = 'Expunge'; $labels['shortaclx'] = 'Folder delete'; $labels['shortacla'] = 'Administer'; -$labels['shortaclfull'] = 'Full'; +$labels['shortaclother'] = 'Other'; $labels['shortaclread'] = 'Read'; $labels['shortaclwrite'] = 'Write'; $labels['shortacldelete'] = 'Delete'; diff --git a/plugins/acl/localization/pl_PL.inc b/plugins/acl/localization/pl_PL.inc index 4d048adac..0b3689927 100644 --- a/plugins/acl/localization/pl_PL.inc +++ b/plugins/acl/localization/pl_PL.inc @@ -25,6 +25,7 @@ $labels['aclx'] = 'Usuwanie folderu (Delete)'; $labels['acla'] = 'Administracja (Administer)'; $labels['aclfull'] = 'Wszystkie'; +$labels['aclother'] = 'Inne'; $labels['aclread'] = 'Odczyt'; $labels['aclwrite'] = 'Zapis'; $labels['acldelete'] = 'Usuwanie'; @@ -43,7 +44,7 @@ $labels['shortacle'] = 'Porządkowanie'; $labels['shortaclx'] = 'Usuwanie folderu'; $labels['shortacla'] = 'Administracja'; -$labels['shortaclfull'] = 'Wszystkie'; +$labels['shortaclother'] = 'Pozostałe'; $labels['shortaclread'] = 'Odczyt'; $labels['shortaclwrite'] = 'Zapis'; $labels['shortacldelete'] = 'Usuwanie'; -- cgit v1.2.3