aboutsummaryrefslogtreecommitdiff
path: root/languages/en.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-17 12:38:14 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-17 12:38:14 +0000
commitfc7f4e880ddfed812438fabc791c5f5056f541e6 (patch)
tree41e6146d1dc35e149b75047c9deef3f937765051 /languages/en.php
parent66b0b9fe69ed698249b35ccfa8b601110fa99964 (diff)
downloadelgg-fc7f4e880ddfed812438fabc791c5f5056f541e6.tar.gz
elgg-fc7f4e880ddfed812438fabc791c5f5056f541e6.tar.bz2
Closes #1422 admin user actions now check for self before banning, deleting, or removing admin privileges
git-svn-id: http://code.elgg.org/elgg/trunk@7332 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'languages/en.php')
-rw-r--r--languages/en.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php
index 118ad8883..ad6461fd0 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -519,10 +519,12 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
'admin:user:ban:no' => "Can not ban user",
'admin:user:ban:yes' => "User banned.",
+ 'admin:user:self:ban:no' => "You cannot ban yourself",
'admin:user:unban:no' => "Can not unban user",
'admin:user:unban:yes' => "User un-banned.",
'admin:user:delete:no' => "Can not delete user",
'admin:user:delete:yes' => "The user %s has been deleted",
+ 'admin:user:self:delete:no' => "You cannot delete yourself",
'admin:user:resetpassword:yes' => "Password reset, user notified.",
'admin:user:resetpassword:no' => "Password could not be reset.",
@@ -532,6 +534,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
'admin:user:removeadmin:yes' => "User is no longer an admin.",
'admin:user:removeadmin:no' => "We could not remove administrator privileges from this user.",
+ 'admin:user:self:removeadmin:no' => "You cannot remove your own administrator privileges.",
'admin:menu_items' => 'Menu Items',
'admin:menu_items:configure' => 'Configure main menu items',