feat(admin): add the admin users page and view as
Build, Test & Push Frontend / quality-check (push) Successful in 17s
Build, Test & Push Frontend / docker (push) Successful in 28s

This commit is contained in:
lobo committed 2026-09-27 12:18:10 +02:00
1 parent 46587dfb5c
commit afe00ceae9
14 files changed
+649 -8

No files matched your search

+46 -2
View File
@@ -15,7 +15,8 @@
"ERROR_INVALID_CREDENTIALS": "Email or password is wrong.",
"ERROR_TOO_MANY_ATTEMPTS": "Too many failed attempts. Please try again in {{minutes}} minutes.",
"ERROR_GENERIC": "Login failed. Please try again later.",
"SESSION_EXPIRED": "Your session has expired. Please log in again."
"SESSION_EXPIRED": "Your session has expired. Please log in again.",
"ERROR_ACCOUNT_BLOCKED": "This account is blocked. Please contact the admin."
},
"REGISTRATION": {
"TITLE": "Register",
@@ -277,7 +278,13 @@
"DARK_MODE": "Dark mode",
"LIGHT_MODE": "Light mode",
"PLAY_NEXT": "Play next",
"STATS": "Stats"
"STATS": "Stats",
"ADMIN": "Admin",
"VIEW_AS": {
"MENU": "View as",
"BADGE": "Viewing as {{role}}",
"ERROR": "The role could not be switched."
}
},
"BACKLOG": {
"TITLE": "My backlog",
@@ -474,5 +481,42 @@
"TURN_BASED_STRATEGY_TBS": "Turn-based strategy",
"VISUAL_NOVEL": "Visual novel"
}
},
"ROLES": {
"USER": "User",
"AUDITOR": "Auditor",
"PLATFORM_ADMIN": "Admin"
},
"ADMIN": {
"TITLE": "Users",
"SEARCH": "Search email or name",
"EMPTY": "No users found.",
"NO_ACCESS": "Only admins can open this page.",
"LOAD_ERROR": "The users could not be loaded.",
"REGISTERED": "Registered {{date}}",
"LAST_LOGIN": "Last login {{date}}",
"NEVER": "never",
"STEAM": "Steam",
"BLOCKED": "Blocked",
"DELETED": "Deleted",
"BLOCK": "Block",
"UNBLOCK": "Unblock",
"DELETE": "Delete",
"CANCEL": "Cancel",
"BLOCK_TITLE": "Block {{email}}?",
"BLOCK_TEXT": "The user cannot log in any more; open sessions end within 15 minutes. You can unblock later.",
"DELETE_TITLE": "Delete {{email}}?",
"DELETE_TEXT": "The account is blocked at once and removed for good after 30 days, with all its data.",
"TYPE_EMAIL": "Type the email to confirm",
"DONE_BLOCK": "User blocked.",
"DONE_UNBLOCK": "User unblocked.",
"DONE_DELETE": "User deleted.",
"ERROR_SELF_ACTION": "You cannot do this to your own account.",
"ERROR_TARGET_IS_ADMIN": "You cannot do this to another admin.",
"ERROR_ALREADY_DELETED": "The account is already deleted.",
"ERROR": "The action failed.",
"PAGE_OF": "Page {{current}} of {{total}}",
"PREVIOUS": "Previous",
"NEXT": "Next"
}
}