Clean language files

This commit is contained in:
Laurent Destailleur
2022-04-01 13:09:11 +02:00
parent 9be7bae765
commit a3dbcd0c27
7 changed files with 10 additions and 13 deletions

View File

@@ -112,15 +112,15 @@ class modVariants extends DolibarrModules
$r = 0;
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
$this->rights[$r][1] = 'Read objects of ProductAttribute'; // Permission label
$this->rights[$r][1] = 'Read attributes of variants'; // Permission label
$this->rights[$r][4] = 'read'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
$r++;
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
$this->rights[$r][1] = 'Create/Update objects of ProductAttribute'; // Permission label
$this->rights[$r][1] = 'Create/Update attributes of variants'; // Permission label
$this->rights[$r][4] = 'write'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
$r++;
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
$this->rights[$r][1] = 'Delete objects of ProductAttribute'; // Permission label
$this->rights[$r][1] = 'Delete attributes of variants'; // Permission label
$this->rights[$r][4] = 'delete'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
$r++;
}