fix(auth): i18n и react-hook-form на странице логина

Добавлены i18next, схема zod и react-hook-form для формы входа.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-13 17:54:00 +03:00
parent 755d22cf48
commit fd825ddfd7
8 changed files with 2865 additions and 66 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"menu": {
"dashboard": "Dashboard",
"users": "Users",
"calendars": "Calendars",
"events": "Events",
"reports": "Reports",
"reviews": "Reviews",
"bannedWords": "Banned words",
"tickets": "Tickets",
"subscriptions": "Subscriptions",
"admins": "Admins",
"audit": "Audit",
"monitoring": "Monitoring"
},
"profile": {
"title": "My profile",
"edit": "Edit",
"saved": "Profile updated"
},
"login": {
"title": "Sign in",
"email": "Email",
"password": "Password",
"submit": "Sign in",
"invalid_credentials": "Invalid email or password",
"insufficient_permissions": "Insufficient permissions",
"error": "Sign-in error"
},
"ws": {
"newReport": "New report",
"newTicket": "New ticket"
}
}