Rework the entire authentication UI to match the Vojo brand: - Add mascot video with purple gradient halo behind the auth form - Glassmorphism card (backdrop-blur, semi-transparent bg) with JS-driven layout ported from element-web (ResizeObserver + requestAnimationFrame) - Custom folds theme overrides via color token references (not hardcoded CSS variable hashes) for transparent inputs and white primary button - Server edit modal dialog replacing browser prompt, with proper role="dialog", aria-modal, and Escape key support - Footer: "Powered by Matrix · Hosted on Yandex Cloud" Localization: - Add ru.json, update en.json and de.json with all auth page keys - Wire up react-i18next t() across all auth components - Set fallbackLng to 'ru' while preserving LanguageDetector for en/de Cleanup: - Remove SSO login flow (SSOLogin, getSSOFlow, SSO rendering) - Remove token login flow (TokenLogin.tsx, getTokenFlow, loginToken param) - Strip unused imports (useState, usePathWithOrigin, useClientConfig) - Fix ESLint: nested ternary → if-return, consistent-return, a11y Config: vojo.chat as default and only homeserver. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
55 lines
2.8 KiB
JSON
55 lines
2.8 KiB
JSON
{
|
|
"Organisms": {
|
|
"RoomCommon": {
|
|
"changed_room_name": " changed room name"
|
|
}
|
|
},
|
|
"Auth": {
|
|
"title_login": "Log In",
|
|
"title_register": "Register",
|
|
"title_reset_password": "Reset Password",
|
|
"homeserver": "Homeserver",
|
|
"homeserver_edit": "Edit",
|
|
"homeserver_dialog_title": "Homeserver",
|
|
"homeserver_dialog_desc": "Enter the address of the Matrix homeserver you want to connect to.",
|
|
"homeserver_dialog_placeholder": "example.com",
|
|
"homeserver_dialog_cancel": "Cancel",
|
|
"homeserver_dialog_confirm": "Continue",
|
|
"username_placeholder": "Username",
|
|
"password_placeholder": "Password",
|
|
"forgot_password": "Forgot password?",
|
|
"login_button": "Log In",
|
|
"new_here": "New here?",
|
|
"create_account": "Create account",
|
|
"already_have_account": "Already have an account?",
|
|
"remember_password": "Remember your password?",
|
|
"loading_server": "Looking for server...",
|
|
"loading_connecting": "Connecting to {{url}}...",
|
|
"loading_auth_flows": "Loading...",
|
|
"error_server_not_found": "Failed to find server.",
|
|
"error_server_config_invalid": "Failed to connect. Server configuration for {{host}} is invalid.",
|
|
"error_server_base_url_invalid": "Failed to connect. Invalid server base_url.",
|
|
"error_server_unavailable": "Failed to connect to the server.",
|
|
"error_auth_flows": "Failed to load authorization flows.",
|
|
"error_client_unsupported": "This client does not support authorization on server \"{{server}}\".",
|
|
"error_custom_server_not_allowed": "Login with a custom server is not allowed.",
|
|
"error_matrix_id_server": "Failed to find Matrix ID server.",
|
|
"error_invalid_credentials": "Invalid username or password.",
|
|
"error_account_deactivated": "This account has been deactivated.",
|
|
"error_invalid_request": "Failed to log in. Part of the request data is invalid.",
|
|
"error_rate_limited": "Too many attempts. Please try again later.",
|
|
"error_unknown": "Failed to log in. Unknown error.",
|
|
"register_disabled": "Registration is disabled on this server.",
|
|
"register_rate_limited": "Too many attempts. Please try again later.",
|
|
"register_invalid_request": "Invalid request. Failed to get registration parameters.",
|
|
"register_unsupported": "This application does not support registration on this server.",
|
|
"reset_description": "Homeserver <strong>{{server}}</strong> will send you an email to let you reset your password.",
|
|
"reset_email_label": "Email",
|
|
"reset_new_password": "New Password",
|
|
"reset_confirm_password": "Confirm Password",
|
|
"reset_button": "Reset Password",
|
|
"reset_error_fallback": "Failed to reset password.",
|
|
"reset_success_message": "Password has been reset successfully. Please login with your new password.",
|
|
"reset_success_login": "Login"
|
|
}
|
|
}
|