2022-04-05 15:45:54 +00:00
< ? php
declare ( strict_types = 1 );
/**
* @ copyright 2020 Ad Aures
* @ license https :// www . gnu . org / licenses / agpl - 3.0 . en . html AGPL3
* @ link https :// castopod . org /
*/
return [
2022-10-15 11:22:08 +00:00
'edit_role' => " Edit { username}'s role " ,
2022-04-05 15:45:54 +00:00
'ban' => 'Ban' ,
'unban' => 'Unban' ,
'delete' => 'Delete' ,
'create' => 'New user' ,
'view' => " { username}'s info " ,
'all_users' => 'All users' ,
'list' => [
'user' => 'User' ,
2022-10-15 11:22:08 +00:00
'role' => 'Role' ,
2022-04-05 15:45:54 +00:00
'banned' => 'Banned?' ,
],
'form' => [
'email' => 'Email' ,
'username' => 'Username' ,
'password' => 'Password' ,
'new_password' => 'New Password' ,
2022-10-15 11:22:08 +00:00
'role' => 'Role' ,
2022-04-05 15:45:54 +00:00
'roles' => 'Roles' ,
'permissions' => 'Permissions' ,
'submit_create' => 'Create user' ,
'submit_edit' => 'Save' ,
'submit_password_change' => 'Change!' ,
],
2022-10-15 11:22:08 +00:00
'delete_form' => [
'title' => 'Delete {user}' ,
'disclaimer' =>
" You are about to delete { user} permanently. They will not be able to access the admin area anymore. " ,
'understand' => 'I understand, I want to delete {user} permanently' ,
'submit' => 'Delete' ,
2022-04-05 15:45:54 +00:00
],
'messages' => [
'createSuccess' =>
2022-10-15 11:22:08 +00:00
'User created successfully! A welcome email was sent to {username} with a login link, they will be prompted with a password reset upon first authentication.' ,
'roleEditSuccess' =>
2022-04-05 15:45:54 +00:00
" { username}'s roles have been successfully updated. " ,
'banSuccess' => '{username} has been banned.' ,
'unbanSuccess' => '{username} has been unbanned.' ,
2022-09-23 15:51:26 +00:00
'editOwnerError' =>
2022-10-15 11:22:08 +00:00
'{username} is the instance owner, one does not simply touch the owner…' ,
2022-04-05 15:45:54 +00:00
'banSuperAdminError' =>
'{username} is a superadmin, one does not simply ban a superadmin…' ,
2022-10-15 11:22:08 +00:00
'deleteOwnerError' =>
'{username} is the instance owner, one does not simply delete the owner…' ,
2022-04-05 15:45:54 +00:00
'deleteSuperAdminError' =>
'{username} is a superadmin, one does not simply delete a superadmin…' ,
'deleteSuccess' => '{username} has been deleted.' ,
],
];