mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
translating text
This commit is contained in:
parent
e8d9701a26
commit
01c24ab4cd
|
@ -583,10 +583,13 @@ class UsersController extends Controller
|
|||
|
||||
$permissionstring = "";
|
||||
if(array_key_exists("superuser", json_decode($user->permissions, true))) {
|
||||
$permissionstring = "Superuser";
|
||||
$permissionstring = trans('general.superuser');
|
||||
}
|
||||
if(array_key_exists("admin", json_decode($user->permissions, true))) {
|
||||
$permissionstring = "Admin";
|
||||
elseif(array_key_exists("admin", json_decode($user->permissions, true))) {
|
||||
$permissionstring = trans('general.admin');
|
||||
}
|
||||
else {
|
||||
$permissionstring = trans('general.user');
|
||||
}
|
||||
|
||||
// Add a new row with data
|
||||
|
|
|
@ -268,6 +268,7 @@ return [
|
|||
'status_labels' => 'Status Labels',
|
||||
'status' => 'Status',
|
||||
'accept_eula' => 'Acceptance Agreement',
|
||||
'superuser' => 'Superuser',
|
||||
'supplier' => 'Supplier',
|
||||
'suppliers' => 'Suppliers',
|
||||
'sure_to_delete' => 'Are you sure you wish to delete',
|
||||
|
|
Loading…
Reference in a new issue