mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Get "Group" and "Account" message correct and translated
This commit is contained in:
parent
029adcca5e
commit
8605c025ec
@ -74,7 +74,11 @@ class admin_cmd_delete_account extends admin_cmd
|
||||
}
|
||||
if (!$this->is_user) $GLOBALS['egw']->accounts->delete($account_id); // groups get not deleted via the admin hook, as users
|
||||
|
||||
return lang("'%1' '%2' deleted.",($account_id < 0 ? "Group": "Account"),$this->account)."\n\n";
|
||||
if ($account_id < 0)
|
||||
{
|
||||
return lang("Group '%1' deleted.",$this->account)."\n\n";
|
||||
}
|
||||
return lang("Account '%1' deleted.",$this->account)."\n\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user