Fix missing translation
This commit is contained in:
parent
56b0279ed7
commit
df5768c176
@ -225,6 +225,8 @@ IfAmountHigherThan=If amount higher than <strong>%s</strong>
|
|||||||
SourcesRepository=Repository for sources
|
SourcesRepository=Repository for sources
|
||||||
Chart=Chart
|
Chart=Chart
|
||||||
PassEncoding=Password encoding
|
PassEncoding=Password encoding
|
||||||
|
PermissionsAdd=Permissions added
|
||||||
|
PermissionsDelete=Permissions revomed
|
||||||
|
|
||||||
##### Export #####
|
##### Export #####
|
||||||
ExportsArea=Exports area
|
ExportsArea=Exports area
|
||||||
|
|||||||
@ -521,7 +521,8 @@ class User extends CommonObject
|
|||||||
|
|
||||||
if (! $error && ! $notrigger)
|
if (! $error && ! $notrigger)
|
||||||
{
|
{
|
||||||
$this->context = array('audit'=>$langs->trans("PermissionsAdd"));
|
$langs->load("other");
|
||||||
|
$this->context = array('audit'=>$langs->trans("PermissionsAdd").($rid?' (id='.$rid.')':''));
|
||||||
|
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result=$this->call_trigger('USER_MODIFY',$user);
|
$result=$this->call_trigger('USER_MODIFY',$user);
|
||||||
@ -632,7 +633,8 @@ class User extends CommonObject
|
|||||||
|
|
||||||
if (! $error && ! $notrigger)
|
if (! $error && ! $notrigger)
|
||||||
{
|
{
|
||||||
$this->context = array('audit'=>$langs->trans("PermissionsDelete"));
|
$langs->load("other");
|
||||||
|
$this->context = array('audit'=>$langs->trans("PermissionsDelete").($rid?' (id='.$rid.')':''));
|
||||||
|
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result=$this->call_trigger('USER_MODIFY',$user);
|
$result=$this->call_trigger('USER_MODIFY',$user);
|
||||||
|
|||||||
@ -345,7 +345,8 @@ class UserGroup extends CommonObject
|
|||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$this->context = array('audit'=>$langs->trans("PermissionsAdd"));
|
$langs->load("other");
|
||||||
|
$this->context = array('audit'=>$langs->trans("PermissionsAdd").($rid?' (id='.$rid.')':''));
|
||||||
|
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result=$this->call_trigger('GROUP_MODIFY',$user);
|
$result=$this->call_trigger('GROUP_MODIFY',$user);
|
||||||
@ -458,7 +459,8 @@ class UserGroup extends CommonObject
|
|||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$this->context = array('audit'=>$langs->trans("PermissionsDelete"));
|
$langs->load("other");
|
||||||
|
$this->context = array('audit'=>$langs->trans("PermissionsDelete").($rid?' (id='.$rid.')':''));
|
||||||
|
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result=$this->call_trigger('GROUP_MODIFY',$user);
|
$result=$this->call_trigger('GROUP_MODIFY',$user);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user