diff --git a/messages/de.json b/messages/de.json index 1bb07258..c0d9af44 100644 --- a/messages/de.json +++ b/messages/de.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Konto aktivieren", "auth_activate_title": "Konto aktivieren", - "auth_activate_activating": "Dein Konto wird aktiviert...", - "auth_activate_success": "Dein Konto wurde aktiviert", - "auth_activate_failed": "Dieser Aktivierungslink ist ungültig oder abgelaufen", - "auth_activate_missing_token": "Aktivierungstoken fehlt", - "auth_activate_continue": "Weiter zur Anmeldung", + "auth_activate_loading": "Deine Registrierung wird geprüft...", + "auth_activate_description": "Wir haben einen Code an
{{email}}
gesendet. Gib ihn ein, um dein Konto zu erstellen.", + "auth_activate_code_label": "Aktivierungscode", + "auth_activate_code_hint": "Der Code ist eine Stunde lang gültig. Sieh im Spam-Ordner nach, falls er nicht angekommen ist.", + "auth_activate_code_invalid_one": "Dieser Code ist nicht korrekt. Noch {{count}} Versuch.", + "auth_activate_code_invalid_other": "Dieser Code ist nicht korrekt. Noch {{count}} Versuche.", + "auth_activate_code_expired": "Dieser Code ist abgelaufen oder wurde zu oft falsch eingegeben. Fordere einen neuen an.", + "auth_activate_submit": "Konto erstellen", + "auth_activate_resend": "Neuen Code senden", + "auth_activate_resend_in": "Neuen Code senden in {{time}}", + "auth_activate_resend_sent": "Ein neuer Code ist unterwegs. Früher gesendete Codes funktionieren nicht mehr.", + "auth_activate_resend_exhausted": "Heute können keine weiteren Codes gesendet werden. Versuche es morgen erneut.", + "auth_activate_none": "In diesem Browser wartet keine Registrierung auf einen Code. Melde dich mit dem Passwort oder Anbieter an, mit dem du dich registriert hast, um hier einen neuen Code zu erhalten, oder registriere dich erneut.", + "auth_activate_gone": "Die E-Mail-Adresse oder der Benutzername wurde vergeben, während deine Registrierung gewartet hat. Bitte registriere dich erneut.", + "auth_activate_load_failed": "Deine Registrierung konnte nicht geprüft werden. Bitte versuche es erneut.", + "auth_activate_retry": "Erneut versuchen", + "auth_activate_sign_in": "Anmelden", + "auth_activate_sign_up": "Registrieren", "auth_activate_toast_success": "Konto aktiviert", "auth_forgot_breadcrumb": "Passwort vergessen", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Verfügbare Anmeldemethoden werden geladen", "auth_login_choose_method": "Melde dich mit einer dieser Methoden an", "auth_login_with_account": "Melde dich mit deinem OpenShock-Konto an", - "auth_login_activation_after_signup": "Dein Konto wurde erstellt. Wir haben dir einen Aktivierungslink per E-Mail geschickt. Sieh in deinem Posteingang und im Spam-Ordner nach.", - "auth_login_activation_pending": "Dein Konto ist noch nicht aktiviert. Wir haben dir einen Aktivierungslink per E-Mail geschickt. Sieh in deinem Posteingang und im Spam-Ordner nach. Falls nichts ankommt, melde dich später erneut an, um einen neuen Link zu erhalten.", "auth_login_oauth_only": "Dieses Konto hat kein Passwort. Melde dich über den Anbieter an, mit dem du dich registriert hast.", + "auth_login_not_activated": "Dieses Konto wurde nicht aktiviert und kann nicht durch eine Anmeldung aktiviert werden. Wende dich an den Support, um es aktivieren zu lassen.", "auth_login_oauth_only_with_buttons": "Dieses Konto hat kein Passwort. Melde dich über die Schaltflächen oben mit dem Anbieter an, mit dem du dich registriert hast.", "auth_login_or_continue_with": "Oder weiter mit", "auth_login_username_label": "Benutzername oder E-Mail", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Mit {{provider}} registrieren", "auth_oauth_create_title": "Mit {{provider}} registrieren", "auth_oauth_create_description": "Vervollständige deine Kontodaten", + "auth_oauth_create_pending": "Du hast mit diesem Konto bereits mit der Registrierung begonnen. Wir haben einen neuen Code an die angegebene Adresse gesendet.", + "auth_oauth_create_pending_enter_code": "Code eingeben", + "auth_oauth_create_pending_correct": "Falsche Adresse? Korrigiere sie unten und sende das Formular ab, um den Code stattdessen dorthin zu erhalten.", "auth_oauth_create_username_label": "Benutzername", "auth_oauth_create_username_placeholder": "Benutzername", "auth_oauth_create_email_label": "E-Mail", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Passwort wurde zurückgesetzt", "auth_signup_breadcrumb": "Registrieren", - "auth_signup_toast_created_mail": "Konto erfolgreich erstellt. Bitte sieh in deinen E-Mails nach, um dein Konto zu bestätigen.", "auth_signup_toast_created_no_mail": "Konto erfolgreich erstellt. Du kannst dich jetzt anmelden.", "auth_signup_dialog_title": "Willkommen! Danke für deine Registrierung! ❤️", - "auth_signup_dialog_created_mail": "Dein Konto wurde erstellt. 🎉 Bitte sieh in deinen E-Mails nach, um dein Konto zu bestätigen.", - "auth_signup_dialog_verify_then_login": "Nachdem du deine E-Mail-Adresse bestätigt hast, kannst du dich anmelden.", "auth_signup_dialog_created_no_mail": "Dein Konto wurde erstellt und ist einsatzbereit. 🎉", "auth_signup_dialog_login_now": "Du kannst dich jetzt anmelden.", "auth_signup_title": "Konto erstellen", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Bestätigungstoken fehlt", "auth_verify_continue": "Weiter zur Anmeldung", "auth_verify_toast_success": "E-Mail-Adresse bestätigt", + "auth_verify_in_use": "Diese E-Mail-Adresse wird bereits verwendet", "common_cancel": "Abbrechen", "common_delete": "Löschen", @@ -903,10 +916,6 @@ "report_submit": "Meldung senden", "turnstile_disabled": "Turnstile deaktiviert", "common_internal_error": "Interner Fehler", - "resend_toast_sent": "Aktivierungs-E-Mail gesendet. Sieh in deinem Posteingang und Spam-Ordner nach.", - "resend_toast_throttled": "Es wurden zu viele Aktivierungs-E-Mails angefordert. Versuche es später erneut.", - "resend_toast_unavailable": "Aus diesem Browser kann keine Aktivierungs-E-Mail erneut gesendet werden. Ist dein Konto noch nicht aktiviert, sendet eine Anmeldung einen neuen Link.", - "resend_button": "Keine E-Mail erhalten? Erneut senden", "expiration_label": "Ablauf", "expiration_never": "Nie", "expiration_custom": "Benutzerdefiniert", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Anwendungsmodus konnte nicht gestartet werden: {{error}}", "problem_account_account_not_activated_title": "Konto nicht aktiviert", - "problem_account_account_not_activated_desc": "Sieh in deinem Posteingang nach der Aktivierungs-E-Mail.", - "problem_account_activation_not_found_title": "Der Aktivierungslink ist ungültig", - "problem_account_activation_not_found_desc": "Der Link ist möglicherweise abgelaufen oder wurde bereits verwendet.", + "problem_account_account_not_activated_desc": "Sieh in deinem Posteingang nach dem Aktivierungscode.", + "problem_account_activation_code_expired_title": "Der Aktivierungscode ist abgelaufen", + "problem_account_activation_code_expired_desc": "Fordere einen neuen an.", + "problem_account_activation_code_invalid_title": "Der Aktivierungscode ist nicht korrekt", + "problem_account_activation_not_found_title": "In diesem Browser wartet keine Registrierung", + "problem_account_activation_not_found_desc": "Melde dich mit deinen Registrierungsdaten an, um einen neuen Code zu erhalten, oder registriere dich erneut.", "problem_account_activation_resend_too_many_title": "Zu viele Aktivierungs-E-Mails angefordert", "problem_account_activation_resend_too_many_desc": "Warte eine Weile, bevor du es erneut versuchst.", - "problem_account_activation_resend_unavailable_title": "Aktivierungs-E-Mail kann nicht erneut gesendet werden", - "problem_account_activation_resend_unavailable_desc": "Melde dich erneut an, um einen neuen Aktivierungslink anzufordern.", + "problem_account_activation_resend_unavailable_title": "Es kann kein neuer Aktivierungscode gesendet werden", + "problem_account_activation_resend_unavailable_desc": "Melde dich mit deinen Registrierungsdaten an, um einen neuen Code zu erhalten.", "problem_account_deactivate_already_deactivated_title": "Das Konto ist bereits deaktiviert", "problem_account_deactivate_denied_privileged_title": "Privilegierte Konten können nicht deaktiviert werden", "problem_account_deactivate_unauthorized_title": "Das darfst du nicht", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Bitte melde dich erneut an.", "problem_authentication_token_invalid_title": "Ungültiges API-Token", "problem_authentication_unknown_error_title": "Authentifizierung fehlgeschlagen", + "problem_authorization_origin_not_trusted_title": "Diese Aktion ist von dieser Website aus nicht möglich", "problem_authorization_policy_not_met_title": "Dazu hast du keine Berechtigung", "problem_authorization_token_only_title": "Diese Aktion erfordert ein API-Token", "problem_authorization_token_permission_missing_title": "Diesem API-Token fehlt eine erforderliche Berechtigung", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Ungültiger Benutzername oder ungültiges Passwort", "problem_login_invalid_domain_title": "Die Anmeldung von dieser Adresse ist nicht erlaubt", "problem_o_auth_connection_already_exists_title": "Dein Konto ist bereits mit diesem Anbieter verbunden", + "problem_o_auth_connection_last_login_method_title": "Das ist deine einzige Anmeldemethode", + "problem_o_auth_connection_last_login_method_desc": "Lege ein Passwort fest, bevor du die Verbindung trennst.", "problem_o_auth_connection_already_linked_title": "Dieses externe Konto ist bereits mit einem anderen Benutzer verknüpft", "problem_o_auth_flow_anonymous_only_title": "Du bist bereits angemeldet", "problem_o_auth_flow_mismatch_title": "Der Anmeldeversuch stimmt nicht überein", diff --git a/messages/en.json b/messages/en.json index d5fa02ed..4d62658d 100644 --- a/messages/en.json +++ b/messages/en.json @@ -67,11 +67,24 @@ "auth_activate_breadcrumb": "Activate Account", "auth_activate_title": "Activate Account", - "auth_activate_activating": "Activating your account...", - "auth_activate_success": "Your account has been activated", - "auth_activate_failed": "This activation link is invalid or has expired", - "auth_activate_missing_token": "Missing activation token", - "auth_activate_continue": "Continue to login", + "auth_activate_loading": "Checking your signup...", + "auth_activate_description": "We sent a code to
{{email}}
. Enter it to create your account.", + "auth_activate_code_label": "Activation code", + "auth_activate_code_hint": "The code is valid for one hour. Check your spam folder if it hasn't arrived.", + "auth_activate_code_invalid_one": "That code is not correct. {{count}} attempt left.", + "auth_activate_code_invalid_other": "That code is not correct. {{count}} attempts left.", + "auth_activate_code_expired": "This code has expired or was entered wrong too often. Request a new one.", + "auth_activate_submit": "Create account", + "auth_activate_resend": "Send a new code", + "auth_activate_resend_in": "Send a new code in {{time}}", + "auth_activate_resend_sent": "A new code is on its way. Codes sent earlier no longer work.", + "auth_activate_resend_exhausted": "No more codes can be sent today. Try again tomorrow.", + "auth_activate_none": "This browser has no signup waiting for a code. Sign in with the password or provider you signed up with to get a new code here, or sign up again.", + "auth_activate_gone": "The email address or username was taken while your signup was waiting. Please sign up again.", + "auth_activate_load_failed": "Your signup could not be checked. Please try again.", + "auth_activate_retry": "Try again", + "auth_activate_sign_in": "Sign in", + "auth_activate_sign_up": "Sign up", "auth_activate_toast_success": "Account activated", "auth_forgot_breadcrumb": "Forgot Password", @@ -89,9 +102,8 @@ "auth_login_loading_methods": "Loading available login methods", "auth_login_choose_method": "Login with one of these methods", "auth_login_with_account": "Login with your OpenShock Account", - "auth_login_activation_after_signup": "Your account has been created. We've sent an activation link to your email address. Check your inbox and spam folder.", - "auth_login_activation_pending": "Your account isn't activated yet. We've sent an activation link to your email address. Check your inbox and spam folder. If nothing arrives, try logging in again later to get a new link.", "auth_login_oauth_only": "This account has no password. Sign in with the provider you signed up with.", + "auth_login_not_activated": "This account has not been activated and cannot be activated by signing in. Contact support to have it activated.", "auth_login_oauth_only_with_buttons": "This account has no password. Sign in with the provider you signed up with using the buttons above.", "auth_login_or_continue_with": "Or continue with", "auth_login_username_label": "Username or Email", @@ -103,6 +115,9 @@ "auth_oauth_create_breadcrumb": "Sign Up With {{provider}}", "auth_oauth_create_title": "Sign Up With {{provider}}", "auth_oauth_create_description": "Complete your account details", + "auth_oauth_create_pending": "You already started signing up with this account. We sent a new code to the address you entered.", + "auth_oauth_create_pending_enter_code": "Enter code", + "auth_oauth_create_pending_correct": "Wrong address? Correct it below and submit to get a code there instead.", "auth_oauth_create_username_label": "Username", "auth_oauth_create_username_placeholder": "Username", "auth_oauth_create_email_label": "Email", @@ -128,11 +143,8 @@ "auth_reset_toast_success": "Password has been reset", "auth_signup_breadcrumb": "Sign Up", - "auth_signup_toast_created_mail": "Account created successfully. Please check your email to verify your account.", "auth_signup_toast_created_no_mail": "Account created successfully. You can log in now.", "auth_signup_dialog_title": "Welcome! Thank you for signing up! ❤️", - "auth_signup_dialog_created_mail": "Your account has been created. 🎉 Please check your email to verify your account.", - "auth_signup_dialog_verify_then_login": "After verifying your email, you can log in to your account.", "auth_signup_dialog_created_no_mail": "Your account has been created and is ready to use. 🎉", "auth_signup_dialog_login_now": "You can log in to your account now.", "auth_signup_title": "Create your account", @@ -162,6 +174,7 @@ "auth_verify_missing_token": "Missing verification token", "auth_verify_continue": "Continue to login", "auth_verify_toast_success": "Email verified", + "auth_verify_in_use": "This email address is already in use", "common_cancel": "Cancel", "common_delete": "Delete", @@ -1009,10 +1022,6 @@ "report_submit": "Submit Report", "turnstile_disabled": "Turnstile disabled", "common_internal_error": "Internal error", - "resend_toast_sent": "Activation email sent. Check your inbox and spam folder.", - "resend_toast_throttled": "Too many activation emails have been requested. Please try again later.", - "resend_toast_unavailable": "No activation email can be resent from this browser. If your account isn't activated yet, logging in sends a new link.", - "resend_button": "Didn't get the email? Resend", "expiration_label": "Expiration", "expiration_never": "Never", "expiration_custom": "Custom", @@ -1053,13 +1062,16 @@ "terminal_toast_app_mode_failed": "Failed to enter application mode: {{error}}", "problem_account_account_not_activated_title": "Account not activated", - "problem_account_account_not_activated_desc": "Check your inbox for the activation email.", - "problem_account_activation_not_found_title": "Activation link is invalid", - "problem_account_activation_not_found_desc": "The link may have expired or already been used.", + "problem_account_account_not_activated_desc": "Check your inbox for the activation code.", + "problem_account_activation_code_expired_title": "The activation code has expired", + "problem_account_activation_code_expired_desc": "Request a new one.", + "problem_account_activation_code_invalid_title": "The activation code is not correct", + "problem_account_activation_not_found_title": "No signup is waiting in this browser", + "problem_account_activation_not_found_desc": "Sign in with what you signed up with to get a new code, or sign up again.", "problem_account_activation_resend_too_many_title": "Too many activation emails requested", "problem_account_activation_resend_too_many_desc": "Please wait a while before trying again.", - "problem_account_activation_resend_unavailable_title": "Cannot resend activation email", - "problem_account_activation_resend_unavailable_desc": "Log in again to request a new activation link.", + "problem_account_activation_resend_unavailable_title": "Cannot send a new activation code", + "problem_account_activation_resend_unavailable_desc": "Sign in with what you signed up with to get a new code.", "problem_account_deactivate_already_deactivated_title": "Account is already deactivated", "problem_account_deactivate_denied_privileged_title": "Privileged accounts cannot be deactivated", "problem_account_deactivate_unauthorized_title": "You are not allowed to do this", @@ -1099,6 +1111,7 @@ "problem_authentication_session_invalid_desc": "Please log in again.", "problem_authentication_token_invalid_title": "Invalid API token", "problem_authentication_unknown_error_title": "Authentication failed", + "problem_authorization_origin_not_trusted_title": "This action cannot be done from this website", "problem_authorization_policy_not_met_title": "You do not have permission to do this", "problem_authorization_token_only_title": "This action requires an API token", "problem_authorization_token_permission_missing_title": "This API token is missing a required permission", @@ -1123,6 +1136,8 @@ "problem_login_invalid_credentials_title": "Invalid username or password", "problem_login_invalid_domain_title": "Logging in from this address is not allowed", "problem_o_auth_connection_already_exists_title": "Your account is already connected to this provider", + "problem_o_auth_connection_last_login_method_title": "This is your only way to sign in", + "problem_o_auth_connection_last_login_method_desc": "Set a password before disconnecting it.", "problem_o_auth_connection_already_linked_title": "This external account is already linked to another user", "problem_o_auth_flow_anonymous_only_title": "You are already signed in", "problem_o_auth_flow_mismatch_title": "Sign-in attempt does not match", diff --git a/messages/es.json b/messages/es.json index 0d28d1c1..f39abfa0 100644 --- a/messages/es.json +++ b/messages/es.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Activar cuenta", "auth_activate_title": "Activar cuenta", - "auth_activate_activating": "Activando tu cuenta...", - "auth_activate_success": "Tu cuenta se ha activado", - "auth_activate_failed": "Este enlace de activación no es válido o ha caducado", - "auth_activate_missing_token": "Falta el token de activación", - "auth_activate_continue": "Continuar al inicio de sesión", + "auth_activate_loading": "Comprobando tu registro...", + "auth_activate_description": "Hemos enviado un código a
{{email}}
. Introdúcelo para crear tu cuenta.", + "auth_activate_code_label": "Código de activación", + "auth_activate_code_hint": "El código es válido durante una hora. Revisa la carpeta de spam si no te ha llegado.", + "auth_activate_code_invalid_one": "Ese código no es correcto. Te queda {{count}} intento.", + "auth_activate_code_invalid_other": "Ese código no es correcto. Te quedan {{count}} intentos.", + "auth_activate_code_expired": "Este código ha caducado o se ha introducido mal demasiadas veces. Solicita uno nuevo.", + "auth_activate_submit": "Crear cuenta", + "auth_activate_resend": "Enviar un código nuevo", + "auth_activate_resend_in": "Enviar un código nuevo en {{time}}", + "auth_activate_resend_sent": "Hay un código nuevo en camino. Los códigos enviados antes ya no funcionan.", + "auth_activate_resend_exhausted": "Hoy no se pueden enviar más códigos. Vuelve a intentarlo mañana.", + "auth_activate_none": "Este navegador no tiene ningún registro esperando un código. Inicia sesión con la contraseña o el proveedor con el que te registraste para recibir aquí un código nuevo, o regístrate de nuevo.", + "auth_activate_gone": "La dirección de correo o el nombre de usuario se ocupó mientras tu registro estaba pendiente. Regístrate de nuevo.", + "auth_activate_load_failed": "No se pudo comprobar tu registro. Inténtalo de nuevo.", + "auth_activate_retry": "Reintentar", + "auth_activate_sign_in": "Iniciar sesión", + "auth_activate_sign_up": "Registrarse", "auth_activate_toast_success": "Cuenta activada", "auth_forgot_breadcrumb": "Contraseña olvidada", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Cargando los métodos de inicio de sesión disponibles", "auth_login_choose_method": "Inicia sesión con uno de estos métodos", "auth_login_with_account": "Inicia sesión con tu cuenta de OpenShock", - "auth_login_activation_after_signup": "Tu cuenta se ha creado. Te hemos enviado un enlace de activación a tu correo electrónico. Revisa tu bandeja de entrada y la carpeta de spam.", - "auth_login_activation_pending": "Tu cuenta aún no está activada. Te hemos enviado un enlace de activación a tu correo electrónico. Revisa tu bandeja de entrada y la carpeta de spam. Si no te llega nada, vuelve a iniciar sesión más tarde para recibir un enlace nuevo.", "auth_login_oauth_only": "Esta cuenta no tiene contraseña. Inicia sesión con el proveedor con el que te registraste.", + "auth_login_not_activated": "Esta cuenta no se ha activado y no se puede activar iniciando sesión. Contacta con soporte para que la activen.", "auth_login_oauth_only_with_buttons": "Esta cuenta no tiene contraseña. Inicia sesión con el proveedor con el que te registraste usando los botones de arriba.", "auth_login_or_continue_with": "O continúa con", "auth_login_username_label": "Nombre de usuario o correo electrónico", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Registrarse con {{provider}}", "auth_oauth_create_title": "Registrarse con {{provider}}", "auth_oauth_create_description": "Completa los datos de tu cuenta", + "auth_oauth_create_pending": "Ya empezaste a registrarte con esta cuenta. Hemos enviado un código nuevo a la dirección que indicaste.", + "auth_oauth_create_pending_enter_code": "Introducir código", + "auth_oauth_create_pending_correct": "¿Dirección incorrecta? Corrígela abajo y envía el formulario para recibir el código allí.", "auth_oauth_create_username_label": "Nombre de usuario", "auth_oauth_create_username_placeholder": "Nombre de usuario", "auth_oauth_create_email_label": "Correo electrónico", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Se ha restablecido la contraseña", "auth_signup_breadcrumb": "Registrarse", - "auth_signup_toast_created_mail": "Cuenta creada correctamente. Revisa tu correo electrónico para verificar tu cuenta.", "auth_signup_toast_created_no_mail": "Cuenta creada correctamente. Ya puedes iniciar sesión.", "auth_signup_dialog_title": "¡Te damos la bienvenida! ¡Gracias por registrarte! ❤️", - "auth_signup_dialog_created_mail": "Tu cuenta se ha creado. 🎉 Revisa tu correo electrónico para verificar tu cuenta.", - "auth_signup_dialog_verify_then_login": "Cuando hayas verificado tu correo electrónico, podrás iniciar sesión en tu cuenta.", "auth_signup_dialog_created_no_mail": "Tu cuenta se ha creado y ya está lista para usarse. 🎉", "auth_signup_dialog_login_now": "Ya puedes iniciar sesión en tu cuenta.", "auth_signup_title": "Crea tu cuenta", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Falta el token de verificación", "auth_verify_continue": "Continuar al inicio de sesión", "auth_verify_toast_success": "Correo electrónico verificado", + "auth_verify_in_use": "Esta dirección de correo ya está en uso", "common_cancel": "Cancelar", "common_delete": "Eliminar", @@ -903,10 +916,6 @@ "report_submit": "Enviar denuncia", "turnstile_disabled": "Turnstile desactivado", "common_internal_error": "Error interno", - "resend_toast_sent": "Correo de activación enviado. Revisa tu bandeja de entrada y la carpeta de spam.", - "resend_toast_throttled": "Se han solicitado demasiados correos de activación. Inténtalo más tarde.", - "resend_toast_unavailable": "No se puede reenviar el correo de activación desde este navegador. Si tu cuenta aún no está activada, al iniciar sesión se envía un nuevo enlace.", - "resend_button": "¿No recibiste el correo? Reenviar", "expiration_label": "Caducidad", "expiration_never": "Nunca", "expiration_custom": "Personalizado", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "No se pudo entrar en el modo de aplicación: {{error}}", "problem_account_account_not_activated_title": "Cuenta no activada", - "problem_account_account_not_activated_desc": "Busca el correo de activación en tu bandeja de entrada.", - "problem_account_activation_not_found_title": "El enlace de activación no es válido", - "problem_account_activation_not_found_desc": "Puede que el enlace haya caducado o ya se haya usado.", + "problem_account_account_not_activated_desc": "Busca el código de activación en tu bandeja de entrada.", + "problem_account_activation_code_expired_title": "El código de activación ha caducado", + "problem_account_activation_code_expired_desc": "Solicita uno nuevo.", + "problem_account_activation_code_invalid_title": "El código de activación no es correcto", + "problem_account_activation_not_found_title": "No hay ningún registro pendiente en este navegador", + "problem_account_activation_not_found_desc": "Inicia sesión con los datos con los que te registraste para recibir un código nuevo, o regístrate de nuevo.", "problem_account_activation_resend_too_many_title": "Se han solicitado demasiados correos de activación", "problem_account_activation_resend_too_many_desc": "Espera un rato antes de volver a intentarlo.", - "problem_account_activation_resend_unavailable_title": "No se puede reenviar el correo de activación", - "problem_account_activation_resend_unavailable_desc": "Vuelve a iniciar sesión para pedir un nuevo enlace de activación.", + "problem_account_activation_resend_unavailable_title": "No se puede enviar un nuevo código de activación", + "problem_account_activation_resend_unavailable_desc": "Inicia sesión con los datos con los que te registraste para recibir un código nuevo.", "problem_account_deactivate_already_deactivated_title": "La cuenta ya está desactivada", "problem_account_deactivate_denied_privileged_title": "Las cuentas privilegiadas no se pueden desactivar", "problem_account_deactivate_unauthorized_title": "No tienes permiso para hacer esto", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Vuelve a iniciar sesión.", "problem_authentication_token_invalid_title": "Token de API no válido", "problem_authentication_unknown_error_title": "Error de autenticación", + "problem_authorization_origin_not_trusted_title": "Esta acción no se puede realizar desde este sitio web", "problem_authorization_policy_not_met_title": "No tienes permiso para hacer esto", "problem_authorization_token_only_title": "Esta acción requiere un token de API", "problem_authorization_token_permission_missing_title": "A este token de API le falta un permiso necesario", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Usuario o contraseña no válidos", "problem_login_invalid_domain_title": "No se permite iniciar sesión desde esta dirección", "problem_o_auth_connection_already_exists_title": "Tu cuenta ya está conectada a este proveedor", + "problem_o_auth_connection_last_login_method_title": "Es tu única forma de iniciar sesión", + "problem_o_auth_connection_last_login_method_desc": "Establece una contraseña antes de desconectarla.", "problem_o_auth_connection_already_linked_title": "Esta cuenta externa ya está vinculada a otro usuario", "problem_o_auth_flow_anonymous_only_title": "Ya has iniciado sesión", "problem_o_auth_flow_mismatch_title": "El intento de inicio de sesión no coincide", diff --git a/messages/et.json b/messages/et.json index 28c338f3..319632cf 100644 --- a/messages/et.json +++ b/messages/et.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Konto aktiveerimine", "auth_activate_title": "Konto aktiveerimine", - "auth_activate_activating": "Sinu kontot aktiveeritakse...", - "auth_activate_success": "Sinu konto on aktiveeritud", - "auth_activate_failed": "See aktiveerimislink on kehtetu või aegunud", - "auth_activate_missing_token": "Aktiveerimisvõti puudub", - "auth_activate_continue": "Jätka sisselogimisega", + "auth_activate_loading": "Kontrollin sinu registreerumist...", + "auth_activate_description": "Saatsime koodi aadressile
{{email}}
. Sisesta see oma konto loomiseks.", + "auth_activate_code_label": "Aktiveerimiskood", + "auth_activate_code_hint": "Kood kehtib ühe tunni. Kui see pole kohale jõudnud, vaata rämpsposti kausta.", + "auth_activate_code_invalid_one": "See kood pole õige. Jäänud on {{count}} katse.", + "auth_activate_code_invalid_other": "See kood pole õige. Jäänud on {{count}} katset.", + "auth_activate_code_expired": "See kood on aegunud või sisestati liiga palju kordi valesti. Küsi uus.", + "auth_activate_submit": "Loo konto", + "auth_activate_resend": "Saada uus kood", + "auth_activate_resend_in": "Uue koodi saad saata {{time}} pärast", + "auth_activate_resend_sent": "Uus kood on teel. Varem saadetud koodid enam ei tööta.", + "auth_activate_resend_exhausted": "Täna ei saa rohkem koode saata. Proovi homme uuesti.", + "auth_activate_none": "Selles brauseris ei oota ükski registreerumine koodi. Logi sisse parooli või teenusepakkujaga, millega registreerusid, et saada siia uus kood, või registreeru uuesti.", + "auth_activate_gone": "E-posti aadress või kasutajanimi võeti kasutusele, kuni sinu registreerumine ootas. Palun registreeru uuesti.", + "auth_activate_load_failed": "Sinu registreerumist ei õnnestunud kontrollida. Palun proovi uuesti.", + "auth_activate_retry": "Proovi uuesti", + "auth_activate_sign_in": "Logi sisse", + "auth_activate_sign_up": "Registreeru", "auth_activate_toast_success": "Konto on aktiveeritud", "auth_forgot_breadcrumb": "Unustatud parool", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Saadaolevate sisselogimisviiside laadimine", "auth_login_choose_method": "Logi sisse ühega neist viisidest", "auth_login_with_account": "Logi sisse oma OpenShocki kontoga", - "auth_login_activation_after_signup": "Sinu konto on loodud. Saatsime aktiveerimislingi sinu e-posti aadressile. Kontrolli postkasti ja rämpsposti kausta.", - "auth_login_activation_pending": "Sinu konto pole veel aktiveeritud. Saatsime aktiveerimislingi sinu e-posti aadressile. Kontrolli postkasti ja rämpsposti kausta. Kui midagi ei saabu, proovi hiljem uuesti sisse logida, et saada uus link.", "auth_login_oauth_only": "Sellel kontol pole parooli. Logi sisse teenusepakkujaga, millega registreerusid.", + "auth_login_not_activated": "See konto pole aktiveeritud ja seda ei saa sisselogimisega aktiveerida. Selle aktiveerimiseks võta ühendust toega.", "auth_login_oauth_only_with_buttons": "Sellel kontol pole parooli. Logi ülal olevate nuppude abil sisse teenusepakkujaga, millega registreerusid.", "auth_login_or_continue_with": "Või jätka teenusega", "auth_login_username_label": "Kasutajanimi või e-post", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Registreeru teenusega {{provider}}", "auth_oauth_create_title": "Registreeru teenusega {{provider}}", "auth_oauth_create_description": "Täida oma konto andmed", + "auth_oauth_create_pending": "Oled selle kontoga juba registreerumist alustanud. Saatsime sinu sisestatud aadressile uue koodi.", + "auth_oauth_create_pending_enter_code": "Sisesta kood", + "auth_oauth_create_pending_correct": "Vale aadress? Paranda see allpool ja saada vorm, et saada kood hoopis sinna.", "auth_oauth_create_username_label": "Kasutajanimi", "auth_oauth_create_username_placeholder": "Kasutajanimi", "auth_oauth_create_email_label": "E-post", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Parool on lähtestatud", "auth_signup_breadcrumb": "Registreerumine", - "auth_signup_toast_created_mail": "Konto loodi edukalt. Konto kinnitamiseks vaata oma e-posti.", "auth_signup_toast_created_no_mail": "Konto loodi edukalt. Võid nüüd sisse logida.", "auth_signup_dialog_title": "Tere tulemast! Aitäh, et registreerusid! ❤️", - "auth_signup_dialog_created_mail": "Sinu konto on loodud. 🎉 Konto kinnitamiseks vaata oma e-posti.", - "auth_signup_dialog_verify_then_login": "Pärast e-posti aadressi kinnitamist saad oma kontole sisse logida.", "auth_signup_dialog_created_no_mail": "Sinu konto on loodud ja kasutusvalmis. 🎉", "auth_signup_dialog_login_now": "Võid nüüd oma kontole sisse logida.", "auth_signup_title": "Loo konto", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Kinnitusvõti puudub", "auth_verify_continue": "Jätka sisselogimisega", "auth_verify_toast_success": "E-posti aadress on kinnitatud", + "auth_verify_in_use": "See e-posti aadress on juba kasutusel", "common_cancel": "Tühista", "common_delete": "Kustuta", @@ -903,10 +916,6 @@ "report_submit": "Saada teade", "turnstile_disabled": "Turnstile on keelatud", "common_internal_error": "Sisemine viga", - "resend_toast_sent": "Aktiveerimismeil saadeti. Vaata postkasti ja rämpsposti kausta.", - "resend_toast_throttled": "Liiga palju aktiveerimismeile on küsitud. Proovi hiljem uuesti.", - "resend_toast_unavailable": "Sellest brauserist ei saa aktiveerimismeili uuesti saata. Kui sinu konto pole veel aktiveeritud, saadab sisselogimine uue lingi.", - "resend_button": "Meili ei tulnud? Saada uuesti", "expiration_label": "Aegumine", "expiration_never": "Mitte kunagi", "expiration_custom": "Kohandatud", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Rakendusrežiimi sisenemine ebaõnnestus: {{error}}", "problem_account_account_not_activated_title": "Konto pole aktiveeritud", - "problem_account_account_not_activated_desc": "Otsi aktiveerimismeili oma postkastist.", - "problem_account_activation_not_found_title": "Aktiveerimislink on vigane", - "problem_account_activation_not_found_desc": "Link võib olla aegunud või juba kasutatud.", + "problem_account_account_not_activated_desc": "Otsi aktiveerimiskoodi oma postkastist.", + "problem_account_activation_code_expired_title": "Aktiveerimiskood on aegunud", + "problem_account_activation_code_expired_desc": "Küsi uus.", + "problem_account_activation_code_invalid_title": "Aktiveerimiskood pole õige", + "problem_account_activation_not_found_title": "Selles brauseris ei oota ükski registreerumine", + "problem_account_activation_not_found_desc": "Logi sisse andmetega, millega registreerusid, et saada uus kood, või registreeru uuesti.", "problem_account_activation_resend_too_many_title": "Liiga palju aktiveerimismeile küsitud", "problem_account_activation_resend_too_many_desc": "Oota natuke, enne kui uuesti proovid.", - "problem_account_activation_resend_unavailable_title": "Aktiveerimismeili ei saa uuesti saata", - "problem_account_activation_resend_unavailable_desc": "Uue aktiveerimislingi saamiseks logi uuesti sisse.", + "problem_account_activation_resend_unavailable_title": "Uut aktiveerimiskoodi ei saa saata", + "problem_account_activation_resend_unavailable_desc": "Logi sisse andmetega, millega registreerusid, et saada uus kood.", "problem_account_deactivate_already_deactivated_title": "Konto on juba deaktiveeritud", "problem_account_deactivate_denied_privileged_title": "Privilegeeritud kontosid ei saa deaktiveerida", "problem_account_deactivate_unauthorized_title": "Sul pole lubatud seda teha", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Palun logi uuesti sisse.", "problem_authentication_token_invalid_title": "Vigane API-tõend", "problem_authentication_unknown_error_title": "Autentimine ebaõnnestus", + "problem_authorization_origin_not_trusted_title": "Seda toimingut ei saa sellelt veebisaidilt teha", "problem_authorization_policy_not_met_title": "Sul pole selleks õigust", "problem_authorization_token_only_title": "See toiming nõuab API-tõendit", "problem_authorization_token_permission_missing_title": "Sellel API-tõendil puudub vajalik õigus", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Vale kasutajanimi või parool", "problem_login_invalid_domain_title": "Sellelt aadressilt sisselogimine pole lubatud", "problem_o_auth_connection_already_exists_title": "Sinu konto on juba selle teenusepakkujaga ühendatud", + "problem_o_auth_connection_last_login_method_title": "See on sinu ainus sisselogimisviis", + "problem_o_auth_connection_last_login_method_desc": "Määra enne lahtiühendamist parool.", "problem_o_auth_connection_already_linked_title": "See väline konto on juba seotud teise kasutajaga", "problem_o_auth_flow_anonymous_only_title": "Oled juba sisse logitud", "problem_o_auth_flow_mismatch_title": "Sisselogimiskatse ei klapi", diff --git a/messages/fi.json b/messages/fi.json index e2e7dd87..90828314 100644 --- a/messages/fi.json +++ b/messages/fi.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Aktivoi tili", "auth_activate_title": "Aktivoi tili", - "auth_activate_activating": "Tiliäsi aktivoidaan...", - "auth_activate_success": "Tilisi on aktivoitu", - "auth_activate_failed": "Tämä aktivointilinkki on virheellinen tai vanhentunut", - "auth_activate_missing_token": "Aktivointitunnus puuttuu", - "auth_activate_continue": "Jatka kirjautumiseen", + "auth_activate_loading": "Tarkistetaan rekisteröintiäsi...", + "auth_activate_description": "Lähetimme koodin osoitteeseen
{{email}}
. Syötä se luodaksesi tilisi.", + "auth_activate_code_label": "Aktivointikoodi", + "auth_activate_code_hint": "Koodi on voimassa tunnin. Tarkista roskapostikansio, jos sitä ei ole tullut.", + "auth_activate_code_invalid_one": "Koodi ei ole oikein. {{count}} yritys jäljellä.", + "auth_activate_code_invalid_other": "Koodi ei ole oikein. {{count}} yritystä jäljellä.", + "auth_activate_code_expired": "Koodi on vanhentunut tai syötetty väärin liian monta kertaa. Pyydä uusi.", + "auth_activate_submit": "Luo tili", + "auth_activate_resend": "Lähetä uusi koodi", + "auth_activate_resend_in": "Uuden koodin voi lähettää {{time}} kuluttua", + "auth_activate_resend_sent": "Uusi koodi on matkalla. Aiemmin lähetetyt koodit eivät enää toimi.", + "auth_activate_resend_exhausted": "Tänään ei voi lähettää enempää koodeja. Yritä huomenna uudelleen.", + "auth_activate_none": "Tässä selaimessa ei ole koodia odottavaa rekisteröintiä. Kirjaudu sisään salasanalla tai palvelulla, jolla rekisteröidyit, saadaksesi uuden koodin tähän, tai rekisteröidy uudelleen.", + "auth_activate_gone": "Sähköpostiosoite tai käyttäjänimi otettiin käyttöön, kun rekisteröintisi odotti. Rekisteröidy uudelleen.", + "auth_activate_load_failed": "Rekisteröintiäsi ei voitu tarkistaa. Yritä uudelleen.", + "auth_activate_retry": "Yritä uudelleen", + "auth_activate_sign_in": "Kirjaudu sisään", + "auth_activate_sign_up": "Rekisteröidy", "auth_activate_toast_success": "Tili aktivoitu", "auth_forgot_breadcrumb": "Unohtunut salasana", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Ladataan käytettävissä olevia kirjautumistapoja", "auth_login_choose_method": "Kirjaudu jollakin näistä tavoista", "auth_login_with_account": "Kirjaudu OpenShock-tililläsi", - "auth_login_activation_after_signup": "Tilisi on luotu. Lähetimme aktivointilinkin sähköpostiosoitteeseesi. Tarkista saapuneet viestit ja roskapostikansio.", - "auth_login_activation_pending": "Tiliäsi ei ole vielä aktivoitu. Lähetimme aktivointilinkin sähköpostiosoitteeseesi. Tarkista saapuneet viestit ja roskapostikansio. Jos mitään ei tule, yritä kirjautua myöhemmin uudelleen saadaksesi uuden linkin.", "auth_login_oauth_only": "Tällä tilillä ei ole salasanaa. Kirjaudu sisään palvelulla, jolla rekisteröidyit.", + "auth_login_not_activated": "Tätä tiliä ei ole aktivoitu, eikä sitä voi aktivoida kirjautumalla sisään. Ota yhteyttä tukeen tilin aktivoimiseksi.", "auth_login_oauth_only_with_buttons": "Tällä tilillä ei ole salasanaa. Kirjaudu sisään yllä olevilla painikkeilla palvelulla, jolla rekisteröidyit.", "auth_login_or_continue_with": "Tai jatka käyttäen", "auth_login_username_label": "Käyttäjänimi tai sähköposti", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Rekisteröidy palvelulla {{provider}}", "auth_oauth_create_title": "Rekisteröidy palvelulla {{provider}}", "auth_oauth_create_description": "Täydennä tilisi tiedot", + "auth_oauth_create_pending": "Olet jo aloittanut rekisteröinnin tällä tilillä. Lähetimme uuden koodin antamaasi osoitteeseen.", + "auth_oauth_create_pending_enter_code": "Syötä koodi", + "auth_oauth_create_pending_correct": "Väärä osoite? Korjaa se alla ja lähetä lomake saadaksesi koodin sinne.", "auth_oauth_create_username_label": "Käyttäjänimi", "auth_oauth_create_username_placeholder": "Käyttäjänimi", "auth_oauth_create_email_label": "Sähköposti", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Salasana on palautettu", "auth_signup_breadcrumb": "Rekisteröidy", - "auth_signup_toast_created_mail": "Tili luotiin onnistuneesti. Vahvista tilisi sähköpostiisi lähetetyllä linkillä.", "auth_signup_toast_created_no_mail": "Tili luotiin onnistuneesti. Voit nyt kirjautua sisään.", "auth_signup_dialog_title": "Tervetuloa! Kiitos rekisteröitymisestä! ❤️", - "auth_signup_dialog_created_mail": "Tilisi on luotu. 🎉 Vahvista tilisi sähköpostiisi lähetetyllä linkillä.", - "auth_signup_dialog_verify_then_login": "Kun olet vahvistanut sähköpostiosoitteesi, voit kirjautua tilillesi.", "auth_signup_dialog_created_no_mail": "Tilisi on luotu ja valmis käytettäväksi. 🎉", "auth_signup_dialog_login_now": "Voit nyt kirjautua tilillesi.", "auth_signup_title": "Luo tili", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Vahvistustunnus puuttuu", "auth_verify_continue": "Jatka kirjautumiseen", "auth_verify_toast_success": "Sähköpostiosoite vahvistettu", + "auth_verify_in_use": "Tämä sähköpostiosoite on jo käytössä", "common_cancel": "Peruuta", "common_delete": "Poista", @@ -903,10 +916,6 @@ "report_submit": "Lähetä ilmoitus", "turnstile_disabled": "Turnstile pois käytöstä", "common_internal_error": "Sisäinen virhe", - "resend_toast_sent": "Aktivointiviesti lähetetty. Tarkista saapuneet ja roskaposti.", - "resend_toast_throttled": "Aktivointiviestejä on pyydetty liian monta. Yritä myöhemmin uudelleen.", - "resend_toast_unavailable": "Aktivointiviestiä ei voi lähettää uudelleen tästä selaimesta. Jos tiliäsi ei ole vielä aktivoitu, kirjautuminen lähettää uuden linkin.", - "resend_button": "Eikö viesti tullut? Lähetä uudelleen", "expiration_label": "Vanheneminen", "expiration_never": "Ei koskaan", "expiration_custom": "Mukautettu", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Sovellustilaan siirtyminen epäonnistui: {{error}}", "problem_account_account_not_activated_title": "Tiliä ei ole aktivoitu", - "problem_account_account_not_activated_desc": "Etsi aktivointiviesti saapuneista.", - "problem_account_activation_not_found_title": "Aktivointilinkki on virheellinen", - "problem_account_activation_not_found_desc": "Linkki on ehkä vanhentunut tai jo käytetty.", + "problem_account_account_not_activated_desc": "Etsi aktivointikoodi saapuneista viesteistäsi.", + "problem_account_activation_code_expired_title": "Aktivointikoodi on vanhentunut", + "problem_account_activation_code_expired_desc": "Pyydä uusi.", + "problem_account_activation_code_invalid_title": "Aktivointikoodi ei ole oikein", + "problem_account_activation_not_found_title": "Tässä selaimessa ei odota rekisteröintiä", + "problem_account_activation_not_found_desc": "Kirjaudu sisään rekisteröitymistiedoillasi saadaksesi uuden koodin, tai rekisteröidy uudelleen.", "problem_account_activation_resend_too_many_title": "Aktivointiviestejä pyydetty liian monta", "problem_account_activation_resend_too_many_desc": "Odota hetki ennen kuin yrität uudelleen.", - "problem_account_activation_resend_unavailable_title": "Aktivointiviestiä ei voi lähettää uudelleen", - "problem_account_activation_resend_unavailable_desc": "Kirjaudu uudelleen pyytääksesi uuden aktivointilinkin.", + "problem_account_activation_resend_unavailable_title": "Uutta aktivointikoodia ei voi lähettää", + "problem_account_activation_resend_unavailable_desc": "Kirjaudu sisään rekisteröitymistiedoillasi saadaksesi uuden koodin.", "problem_account_deactivate_already_deactivated_title": "Tili on jo poistettu käytöstä", "problem_account_deactivate_denied_privileged_title": "Etuoikeutettuja tilejä ei voi poistaa käytöstä", "problem_account_deactivate_unauthorized_title": "Sinulla ei ole lupaa tehdä tätä", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Kirjaudu uudelleen.", "problem_authentication_token_invalid_title": "Virheellinen API-tunniste", "problem_authentication_unknown_error_title": "Tunnistautuminen epäonnistui", + "problem_authorization_origin_not_trusted_title": "Tätä toimintoa ei voi tehdä tältä sivustolta", "problem_authorization_policy_not_met_title": "Sinulla ei ole oikeutta tehdä tätä", "problem_authorization_token_only_title": "Tämä toiminto vaatii API-tunnisteen", "problem_authorization_token_permission_missing_title": "Tältä API-tunnisteelta puuttuu vaadittu käyttöoikeus", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Virheellinen käyttäjänimi tai salasana", "problem_login_invalid_domain_title": "Kirjautuminen tästä osoitteesta ei ole sallittua", "problem_o_auth_connection_already_exists_title": "Tilisi on jo yhdistetty tähän palveluun", + "problem_o_auth_connection_last_login_method_title": "Tämä on ainoa tapasi kirjautua sisään", + "problem_o_auth_connection_last_login_method_desc": "Aseta salasana ennen yhteyden katkaisemista.", "problem_o_auth_connection_already_linked_title": "Tämä ulkoinen tili on jo liitetty toiseen käyttäjään", "problem_o_auth_flow_anonymous_only_title": "Olet jo kirjautunut sisään", "problem_o_auth_flow_mismatch_title": "Kirjautumisyritys ei täsmää", diff --git a/messages/fr.json b/messages/fr.json index 4ffc4965..04ef2540 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Activer le compte", "auth_activate_title": "Activer le compte", - "auth_activate_activating": "Activation de votre compte...", - "auth_activate_success": "Votre compte a été activé", - "auth_activate_failed": "Ce lien d'activation est invalide ou a expiré", - "auth_activate_missing_token": "Jeton d'activation manquant", - "auth_activate_continue": "Continuer vers la connexion", + "auth_activate_loading": "Vérification de votre inscription...", + "auth_activate_description": "Nous avons envoyé un code à
{{email}}
. Saisissez-le pour créer votre compte.", + "auth_activate_code_label": "Code d'activation", + "auth_activate_code_hint": "Le code est valable une heure. Vérifiez votre dossier de spam s'il n'est pas arrivé.", + "auth_activate_code_invalid_one": "Ce code est incorrect. Il vous reste {{count}} tentative.", + "auth_activate_code_invalid_other": "Ce code est incorrect. Il vous reste {{count}} tentatives.", + "auth_activate_code_expired": "Ce code a expiré ou a été saisi incorrectement trop de fois. Demandez-en un nouveau.", + "auth_activate_submit": "Créer le compte", + "auth_activate_resend": "Envoyer un nouveau code", + "auth_activate_resend_in": "Envoyer un nouveau code dans {{time}}", + "auth_activate_resend_sent": "Un nouveau code est en route. Les codes envoyés précédemment ne fonctionnent plus.", + "auth_activate_resend_exhausted": "Plus aucun code ne peut être envoyé aujourd'hui. Réessayez demain.", + "auth_activate_none": "Aucune inscription n'attend de code dans ce navigateur. Connectez-vous avec le mot de passe ou le fournisseur utilisé lors de votre inscription pour recevoir un nouveau code ici, ou inscrivez-vous à nouveau.", + "auth_activate_gone": "L'adresse e-mail ou le nom d'utilisateur a été pris pendant que votre inscription était en attente. Veuillez vous inscrire à nouveau.", + "auth_activate_load_failed": "Impossible de vérifier votre inscription. Veuillez réessayer.", + "auth_activate_retry": "Réessayer", + "auth_activate_sign_in": "Se connecter", + "auth_activate_sign_up": "S'inscrire", "auth_activate_toast_success": "Compte activé", "auth_forgot_breadcrumb": "Mot de passe oublié", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Chargement des méthodes de connexion disponibles", "auth_login_choose_method": "Connectez-vous avec l'une de ces méthodes", "auth_login_with_account": "Connectez-vous avec votre compte OpenShock", - "auth_login_activation_after_signup": "Votre compte a été créé. Nous avons envoyé un lien d'activation à votre adresse e-mail. Vérifiez votre boîte de réception et vos courriers indésirables.", - "auth_login_activation_pending": "Votre compte n'est pas encore activé. Nous avons envoyé un lien d'activation à votre adresse e-mail. Vérifiez votre boîte de réception et vos courriers indésirables. Si vous ne recevez rien, reconnectez-vous plus tard pour obtenir un nouveau lien.", "auth_login_oauth_only": "Ce compte n'a pas de mot de passe. Connectez-vous avec le fournisseur utilisé lors de votre inscription.", + "auth_login_not_activated": "Ce compte n'a pas été activé et ne peut pas l'être en se connectant. Contactez le support pour le faire activer.", "auth_login_oauth_only_with_buttons": "Ce compte n'a pas de mot de passe. Connectez-vous avec le fournisseur utilisé lors de votre inscription à l'aide des boutons ci-dessus.", "auth_login_or_continue_with": "Ou continuer avec", "auth_login_username_label": "Nom d'utilisateur ou e-mail", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "S'inscrire avec {{provider}}", "auth_oauth_create_title": "S'inscrire avec {{provider}}", "auth_oauth_create_description": "Complétez les informations de votre compte", + "auth_oauth_create_pending": "Vous avez déjà commencé à vous inscrire avec ce compte. Nous avons envoyé un nouveau code à l'adresse que vous avez saisie.", + "auth_oauth_create_pending_enter_code": "Saisir le code", + "auth_oauth_create_pending_correct": "Mauvaise adresse ? Corrigez-la ci-dessous et validez pour y recevoir un code à la place.", "auth_oauth_create_username_label": "Nom d'utilisateur", "auth_oauth_create_username_placeholder": "Nom d'utilisateur", "auth_oauth_create_email_label": "E-mail", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Le mot de passe a été réinitialisé", "auth_signup_breadcrumb": "Inscription", - "auth_signup_toast_created_mail": "Compte créé avec succès. Consultez vos e-mails pour vérifier votre compte.", "auth_signup_toast_created_no_mail": "Compte créé avec succès. Vous pouvez vous connecter dès maintenant.", "auth_signup_dialog_title": "Bienvenue ! Merci de vous être inscrit ! ❤️", - "auth_signup_dialog_created_mail": "Votre compte a été créé. 🎉 Consultez vos e-mails pour vérifier votre compte.", - "auth_signup_dialog_verify_then_login": "Une fois votre adresse e-mail vérifiée, vous pourrez vous connecter à votre compte.", "auth_signup_dialog_created_no_mail": "Votre compte a été créé et est prêt à l'emploi. 🎉", "auth_signup_dialog_login_now": "Vous pouvez vous connecter à votre compte dès maintenant.", "auth_signup_title": "Créez votre compte", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Jeton de vérification manquant", "auth_verify_continue": "Continuer vers la connexion", "auth_verify_toast_success": "Adresse e-mail vérifiée", + "auth_verify_in_use": "Cette adresse e-mail est déjà utilisée", "common_cancel": "Annuler", "common_delete": "Supprimer", @@ -903,10 +916,6 @@ "report_submit": "Envoyer le signalement", "turnstile_disabled": "Turnstile désactivé", "common_internal_error": "Erreur interne", - "resend_toast_sent": "E-mail d'activation envoyé. Vérifiez votre boîte de réception et vos spams.", - "resend_toast_throttled": "Trop d'e-mails d'activation ont été demandés. Réessayez plus tard.", - "resend_toast_unavailable": "Aucun e-mail d'activation ne peut être renvoyé depuis ce navigateur. Si votre compte n'est pas encore activé, la connexion envoie un nouveau lien.", - "resend_button": "Pas reçu l'e-mail ? Renvoyer", "expiration_label": "Expiration", "expiration_never": "Jamais", "expiration_custom": "Personnalisé", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Impossible de passer en mode application : {{error}}", "problem_account_account_not_activated_title": "Compte non activé", - "problem_account_account_not_activated_desc": "Recherchez l'e-mail d'activation dans votre boîte de réception.", - "problem_account_activation_not_found_title": "Le lien d'activation est invalide", - "problem_account_activation_not_found_desc": "Le lien a peut-être expiré ou a déjà été utilisé.", + "problem_account_account_not_activated_desc": "Vérifiez votre boîte de réception pour trouver le code d'activation.", + "problem_account_activation_code_expired_title": "Le code d'activation a expiré", + "problem_account_activation_code_expired_desc": "Demandez-en un nouveau.", + "problem_account_activation_code_invalid_title": "Le code d'activation est incorrect", + "problem_account_activation_not_found_title": "Aucune inscription n'est en attente dans ce navigateur", + "problem_account_activation_not_found_desc": "Connectez-vous avec vos identifiants d'inscription pour recevoir un nouveau code, ou inscrivez-vous à nouveau.", "problem_account_activation_resend_too_many_title": "Trop d'e-mails d'activation demandés", "problem_account_activation_resend_too_many_desc": "Patientez un moment avant de réessayer.", - "problem_account_activation_resend_unavailable_title": "Impossible de renvoyer l'e-mail d'activation", - "problem_account_activation_resend_unavailable_desc": "Reconnectez-vous pour demander un nouveau lien d'activation.", + "problem_account_activation_resend_unavailable_title": "Impossible d'envoyer un nouveau code d'activation", + "problem_account_activation_resend_unavailable_desc": "Connectez-vous avec vos identifiants d'inscription pour recevoir un nouveau code.", "problem_account_deactivate_already_deactivated_title": "Le compte est déjà désactivé", "problem_account_deactivate_denied_privileged_title": "Les comptes privilégiés ne peuvent pas être désactivés", "problem_account_deactivate_unauthorized_title": "Vous n'êtes pas autorisé à faire cela", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Veuillez vous reconnecter.", "problem_authentication_token_invalid_title": "Jeton d'API invalide", "problem_authentication_unknown_error_title": "Échec de l'authentification", + "problem_authorization_origin_not_trusted_title": "Cette action ne peut pas être effectuée depuis ce site", "problem_authorization_policy_not_met_title": "Vous n'avez pas l'autorisation de faire cela", "problem_authorization_token_only_title": "Cette action nécessite un jeton d'API", "problem_authorization_token_permission_missing_title": "Ce jeton d'API n'a pas une autorisation requise", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Nom d'utilisateur ou mot de passe invalide", "problem_login_invalid_domain_title": "La connexion depuis cette adresse n'est pas autorisée", "problem_o_auth_connection_already_exists_title": "Votre compte est déjà connecté à ce fournisseur", + "problem_o_auth_connection_last_login_method_title": "C'est votre seul moyen de connexion", + "problem_o_auth_connection_last_login_method_desc": "Définissez un mot de passe avant de le déconnecter.", "problem_o_auth_connection_already_linked_title": "Ce compte externe est déjà associé à un autre utilisateur", "problem_o_auth_flow_anonymous_only_title": "Vous êtes déjà connecté", "problem_o_auth_flow_mismatch_title": "La tentative de connexion ne correspond pas", diff --git a/messages/ja.json b/messages/ja.json index 1f7187b5..5d367b5b 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -66,11 +66,23 @@ "auth_activate_breadcrumb": "アカウントの有効化", "auth_activate_title": "アカウントの有効化", - "auth_activate_activating": "アカウントを有効化しています...", - "auth_activate_success": "アカウントが有効化されました", - "auth_activate_failed": "この有効化リンクは無効か、期限切れです", - "auth_activate_missing_token": "有効化トークンがありません", - "auth_activate_continue": "ログインへ進む", + "auth_activate_loading": "登録情報を確認しています...", + "auth_activate_description": "
{{email}}
にコードを送信しました。入力してアカウントを作成してください。", + "auth_activate_code_label": "有効化コード", + "auth_activate_code_hint": "コードの有効期限は1時間です。届いていない場合は迷惑メールフォルダを確認してください。", + "auth_activate_code_invalid_other": "コードが正しくありません。残り {{count}} 回です。", + "auth_activate_code_expired": "このコードは有効期限が切れたか、誤った入力が多すぎました。新しいコードをリクエストしてください。", + "auth_activate_submit": "アカウントを作成", + "auth_activate_resend": "新しいコードを送信", + "auth_activate_resend_in": "{{time}} 後に新しいコードを送信できます", + "auth_activate_resend_sent": "新しいコードを送信しました。以前に送信したコードは使えなくなりました。", + "auth_activate_resend_exhausted": "本日はこれ以上コードを送信できません。明日もう一度お試しください。", + "auth_activate_none": "このブラウザにはコードを待っている登録がありません。登録時のパスワードまたはプロバイダーでログインすると、ここで新しいコードを受け取れます。または、もう一度登録してください。", + "auth_activate_gone": "登録の完了を待っている間に、メールアドレスまたはユーザー名が使用されました。もう一度登録してください。", + "auth_activate_load_failed": "登録情報を確認できませんでした。もう一度お試しください。", + "auth_activate_retry": "再試行", + "auth_activate_sign_in": "ログイン", + "auth_activate_sign_up": "新規登録", "auth_activate_toast_success": "アカウントを有効化しました", "auth_forgot_breadcrumb": "パスワードを忘れた場合", @@ -88,9 +100,8 @@ "auth_login_loading_methods": "利用可能なログイン方法を読み込んでいます", "auth_login_choose_method": "次のいずれかの方法でログイン", "auth_login_with_account": "OpenShock アカウントでログイン", - "auth_login_activation_after_signup": "アカウントが作成されました。メールアドレスに有効化リンクを送信しました。受信トレイと迷惑メールフォルダーをご確認ください。", - "auth_login_activation_pending": "アカウントはまだ有効化されていません。メールアドレスに有効化リンクを送信しました。受信トレイと迷惑メールフォルダーをご確認ください。届かない場合は、後でもう一度ログインして新しいリンクを受け取ってください。", "auth_login_oauth_only": "このアカウントにはパスワードがありません。登録時に使用したプロバイダーでログインしてください。", + "auth_login_not_activated": "このアカウントは有効化されておらず、ログインによって有効化することはできません。有効化についてはサポートにお問い合わせください。", "auth_login_oauth_only_with_buttons": "このアカウントにはパスワードがありません。上のボタンから、登録時に使用したプロバイダーでログインしてください。", "auth_login_or_continue_with": "または次の方法で続行", "auth_login_username_label": "ユーザー名またはメールアドレス", @@ -102,6 +113,9 @@ "auth_oauth_create_breadcrumb": "{{provider}} で新規登録", "auth_oauth_create_title": "{{provider}} で新規登録", "auth_oauth_create_description": "アカウント情報を入力してください", + "auth_oauth_create_pending": "このアカウントで既に登録を開始しています。入力されたアドレスに新しいコードを送信しました。", + "auth_oauth_create_pending_enter_code": "コードを入力", + "auth_oauth_create_pending_correct": "アドレスが間違っていますか?下で修正して送信すると、そのアドレスにコードが届きます。", "auth_oauth_create_username_label": "ユーザー名", "auth_oauth_create_username_placeholder": "ユーザー名", "auth_oauth_create_email_label": "メールアドレス", @@ -127,11 +141,8 @@ "auth_reset_toast_success": "パスワードをリセットしました", "auth_signup_breadcrumb": "新規登録", - "auth_signup_toast_created_mail": "アカウントを作成しました。メールを確認してアカウントを認証してください。", "auth_signup_toast_created_no_mail": "アカウントを作成しました。今すぐログインできます。", "auth_signup_dialog_title": "ようこそ!ご登録ありがとうございます!❤️", - "auth_signup_dialog_created_mail": "アカウントが作成されました。🎉 メールを確認してアカウントを認証してください。", - "auth_signup_dialog_verify_then_login": "メールアドレスの認証後、アカウントにログインできます。", "auth_signup_dialog_created_no_mail": "アカウントが作成され、すぐにご利用いただけます。🎉", "auth_signup_dialog_login_now": "今すぐアカウントにログインできます。", "auth_signup_title": "アカウントを作成", @@ -161,6 +172,7 @@ "auth_verify_missing_token": "認証トークンがありません", "auth_verify_continue": "ログインへ進む", "auth_verify_toast_success": "メールアドレスを認証しました", + "auth_verify_in_use": "このメールアドレスは既に使用されています", "common_cancel": "キャンセル", "common_delete": "削除", @@ -899,10 +911,6 @@ "report_submit": "報告を送信", "turnstile_disabled": "Turnstile は無効です", "common_internal_error": "内部エラー", - "resend_toast_sent": "有効化メールを送信しました。受信トレイと迷惑メールフォルダーをご確認ください。", - "resend_toast_throttled": "有効化メールのリクエストが多すぎます。しばらくしてからもう一度お試しください。", - "resend_toast_unavailable": "このブラウザーからは有効化メールを再送信できません。アカウントがまだ有効化されていない場合は、ログインすると新しいリンクが送信されます。", - "resend_button": "メールが届きませんか?再送信", "expiration_label": "有効期限", "expiration_never": "なし", "expiration_custom": "カスタム", @@ -942,13 +950,16 @@ "terminal_toast_app_mode_failed": "アプリケーションモードに入れませんでした: {{error}}", "problem_account_account_not_activated_title": "アカウントが有効化されていません", - "problem_account_account_not_activated_desc": "受信トレイで有効化メールをご確認ください。", - "problem_account_activation_not_found_title": "有効化リンクが無効です", - "problem_account_activation_not_found_desc": "リンクの期限が切れているか、すでに使用されている可能性があります。", + "problem_account_account_not_activated_desc": "受信トレイで有効化コードを確認してください。", + "problem_account_activation_code_expired_title": "有効化コードの有効期限が切れました", + "problem_account_activation_code_expired_desc": "新しいコードをリクエストしてください。", + "problem_account_activation_code_invalid_title": "有効化コードが正しくありません", + "problem_account_activation_not_found_title": "このブラウザには保留中の登録がありません", + "problem_account_activation_not_found_desc": "登録時の情報でログインして新しいコードを受け取るか、もう一度登録してください。", "problem_account_activation_resend_too_many_title": "有効化メールのリクエストが多すぎます", "problem_account_activation_resend_too_many_desc": "しばらく待ってからもう一度お試しください。", - "problem_account_activation_resend_unavailable_title": "有効化メールを再送信できません", - "problem_account_activation_resend_unavailable_desc": "もう一度ログインして、新しい有効化リンクをリクエストしてください。", + "problem_account_activation_resend_unavailable_title": "新しい有効化コードを送信できません", + "problem_account_activation_resend_unavailable_desc": "登録時の情報でログインして新しいコードを受け取ってください。", "problem_account_deactivate_already_deactivated_title": "アカウントはすでに無効化されています", "problem_account_deactivate_denied_privileged_title": "特権アカウントは無効化できません", "problem_account_deactivate_unauthorized_title": "この操作は許可されていません", @@ -988,6 +999,7 @@ "problem_authentication_session_invalid_desc": "もう一度ログインしてください。", "problem_authentication_token_invalid_title": "無効な API トークンです", "problem_authentication_unknown_error_title": "認証に失敗しました", + "problem_authorization_origin_not_trusted_title": "この操作はこのウェブサイトからは実行できません", "problem_authorization_policy_not_met_title": "この操作を行う権限がありません", "problem_authorization_token_only_title": "この操作には API トークンが必要です", "problem_authorization_token_permission_missing_title": "この API トークンには必要な権限がありません", @@ -1012,6 +1024,8 @@ "problem_login_invalid_credentials_title": "ユーザー名またはパスワードが正しくありません", "problem_login_invalid_domain_title": "このアドレスからのログインは許可されていません", "problem_o_auth_connection_already_exists_title": "アカウントはすでにこのプロバイダーと連携しています", + "problem_o_auth_connection_last_login_method_title": "これが唯一のログイン方法です", + "problem_o_auth_connection_last_login_method_desc": "接続を解除する前にパスワードを設定してください。", "problem_o_auth_connection_already_linked_title": "この外部アカウントはすでに別のユーザーと連携しています", "problem_o_auth_flow_anonymous_only_title": "すでにログインしています", "problem_o_auth_flow_mismatch_title": "ログイン試行が一致しません", diff --git a/messages/nb.json b/messages/nb.json index a17962fc..752bc75a 100644 --- a/messages/nb.json +++ b/messages/nb.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Aktiver konto", "auth_activate_title": "Aktiver konto", - "auth_activate_activating": "Aktiverer kontoen din...", - "auth_activate_success": "Kontoen din er aktivert", - "auth_activate_failed": "Denne aktiveringslenken er ugyldig eller utløpt", - "auth_activate_missing_token": "Aktiveringstoken mangler", - "auth_activate_continue": "Fortsett til innlogging", + "auth_activate_loading": "Sjekker registreringen din...", + "auth_activate_description": "Vi har sendt en kode til
{{email}}
. Skriv den inn for å opprette kontoen din.", + "auth_activate_code_label": "Aktiveringskode", + "auth_activate_code_hint": "Koden er gyldig i én time. Sjekk søppelpostmappen hvis den ikke har kommet.", + "auth_activate_code_invalid_one": "Koden er ikke riktig. {{count}} forsøk igjen.", + "auth_activate_code_invalid_other": "Koden er ikke riktig. {{count}} forsøk igjen.", + "auth_activate_code_expired": "Koden har utløpt eller er skrevet inn feil for mange ganger. Be om en ny.", + "auth_activate_submit": "Opprett konto", + "auth_activate_resend": "Send en ny kode", + "auth_activate_resend_in": "Send en ny kode om {{time}}", + "auth_activate_resend_sent": "En ny kode er på vei. Koder som er sendt tidligere, virker ikke lenger.", + "auth_activate_resend_exhausted": "Det kan ikke sendes flere koder i dag. Prøv igjen i morgen.", + "auth_activate_none": "Denne nettleseren har ingen registrering som venter på en kode. Logg inn med passordet eller leverandøren du registrerte deg med for å få en ny kode her, eller registrer deg på nytt.", + "auth_activate_gone": "E-postadressen eller brukernavnet ble tatt mens registreringen din ventet. Registrer deg på nytt.", + "auth_activate_load_failed": "Registreringen din kunne ikke sjekkes. Prøv igjen.", + "auth_activate_retry": "Prøv igjen", + "auth_activate_sign_in": "Logg inn", + "auth_activate_sign_up": "Registrer deg", "auth_activate_toast_success": "Kontoen er aktivert", "auth_forgot_breadcrumb": "Glemt passord", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Laster inn tilgjengelige innloggingsmetoder", "auth_login_choose_method": "Logg inn med en av disse metodene", "auth_login_with_account": "Logg inn med OpenShock-kontoen din", - "auth_login_activation_after_signup": "Kontoen din er opprettet. Vi har sendt en aktiveringslenke til e-postadressen din. Sjekk innboksen og søppelpost.", - "auth_login_activation_pending": "Kontoen din er ikke aktivert ennå. Vi har sendt en aktiveringslenke til e-postadressen din. Sjekk innboksen og søppelpost. Hvis e-posten ikke kommer, kan du prøve å logge inn igjen senere for å få en ny lenke.", "auth_login_oauth_only": "Denne kontoen har ikke noe passord. Logg inn med leverandøren du registrerte deg med.", + "auth_login_not_activated": "Denne kontoen er ikke aktivert og kan ikke aktiveres ved å logge inn. Kontakt support for å få den aktivert.", "auth_login_oauth_only_with_buttons": "Denne kontoen har ikke noe passord. Logg inn med leverandøren du registrerte deg med ved å bruke knappene over.", "auth_login_or_continue_with": "Eller fortsett med", "auth_login_username_label": "Brukernavn eller e-post", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Registrer deg med {{provider}}", "auth_oauth_create_title": "Registrer deg med {{provider}}", "auth_oauth_create_description": "Fyll ut kontoopplysningene dine", + "auth_oauth_create_pending": "Du har allerede begynt å registrere deg med denne kontoen. Vi har sendt en ny kode til adressen du oppga.", + "auth_oauth_create_pending_enter_code": "Skriv inn kode", + "auth_oauth_create_pending_correct": "Feil adresse? Rett den nedenfor og send inn for å få koden dit i stedet.", "auth_oauth_create_username_label": "Brukernavn", "auth_oauth_create_username_placeholder": "Brukernavn", "auth_oauth_create_email_label": "E-post", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Passordet er tilbakestilt", "auth_signup_breadcrumb": "Registrer deg", - "auth_signup_toast_created_mail": "Kontoen er opprettet. Sjekk e-posten din for å bekrefte kontoen.", "auth_signup_toast_created_no_mail": "Kontoen er opprettet. Du kan logge inn nå.", "auth_signup_dialog_title": "Velkommen! Takk for at du registrerte deg! ❤️", - "auth_signup_dialog_created_mail": "Kontoen din er opprettet. 🎉 Sjekk e-posten din for å bekrefte kontoen.", - "auth_signup_dialog_verify_then_login": "Når du har bekreftet e-postadressen, kan du logge inn på kontoen din.", "auth_signup_dialog_created_no_mail": "Kontoen din er opprettet og klar til bruk. 🎉", "auth_signup_dialog_login_now": "Du kan logge inn på kontoen din nå.", "auth_signup_title": "Opprett konto", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Bekreftelsestoken mangler", "auth_verify_continue": "Fortsett til innlogging", "auth_verify_toast_success": "E-postadressen er bekreftet", + "auth_verify_in_use": "Denne e-postadressen er allerede i bruk", "common_cancel": "Avbryt", "common_delete": "Slett", @@ -903,10 +916,6 @@ "report_submit": "Send rapport", "turnstile_disabled": "Turnstile er deaktivert", "common_internal_error": "Intern feil", - "resend_toast_sent": "Aktiveringslenken er sendt på e-post. Sjekk innboksen og søppelpost.", - "resend_toast_throttled": "For mange forespørsler om aktiveringslenke. Prøv igjen senere.", - "resend_toast_unavailable": "Vi kan ikke sende aktiveringslenken på nytt fra denne nettleseren. Hvis kontoen ikke er aktivert ennå, får du en ny lenke når du prøver å logge inn.", - "resend_button": "Fikk du ikke e-posten? Send på nytt", "expiration_label": "Utløp", "expiration_never": "Aldri", "expiration_custom": "Egendefinert", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Kunne ikke starte enhetens firmware: {{error}}", "problem_account_account_not_activated_title": "Kontoen er ikke aktivert", - "problem_account_account_not_activated_desc": "Sjekk innboksen din for e-posten med aktiveringslenken.", - "problem_account_activation_not_found_title": "Aktiveringslenken er ugyldig", - "problem_account_activation_not_found_desc": "Lenken kan ha utløpt eller allerede blitt brukt.", + "problem_account_account_not_activated_desc": "Se etter aktiveringskoden i innboksen din.", + "problem_account_activation_code_expired_title": "Aktiveringskoden har utløpt", + "problem_account_activation_code_expired_desc": "Be om en ny.", + "problem_account_activation_code_invalid_title": "Aktiveringskoden er ikke riktig", + "problem_account_activation_not_found_title": "Ingen registrering venter i denne nettleseren", + "problem_account_activation_not_found_desc": "Logg inn med det du registrerte deg med for å få en ny kode, eller registrer deg på nytt.", "problem_account_activation_resend_too_many_title": "For mange forespørsler om aktiveringslenke", "problem_account_activation_resend_too_many_desc": "Vent en stund før du prøver igjen.", - "problem_account_activation_resend_unavailable_title": "Kan ikke sende aktiveringse-posten på nytt", - "problem_account_activation_resend_unavailable_desc": "Logg inn på nytt for å be om en ny aktiveringslenke.", + "problem_account_activation_resend_unavailable_title": "Kan ikke sende en ny aktiveringskode", + "problem_account_activation_resend_unavailable_desc": "Logg inn med det du registrerte deg med for å få en ny kode.", "problem_account_deactivate_already_deactivated_title": "Kontoen er allerede deaktivert", "problem_account_deactivate_denied_privileged_title": "Kontoer med utvidede rettigheter kan ikke deaktiveres", "problem_account_deactivate_unauthorized_title": "Du har ikke tillatelse til å gjøre dette", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Logg inn på nytt.", "problem_authentication_token_invalid_title": "Ugyldig API-token", "problem_authentication_unknown_error_title": "Autentisering mislyktes", + "problem_authorization_origin_not_trusted_title": "Denne handlingen kan ikke utføres fra dette nettstedet", "problem_authorization_policy_not_met_title": "Du har ikke tillatelse til å gjøre dette", "problem_authorization_token_only_title": "Denne handlingen krever et API-token", "problem_authorization_token_permission_missing_title": "Dette API-tokenet mangler nødvendig tilgang", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Feil brukernavn eller passord", "problem_login_invalid_domain_title": "Innlogging fra denne adressen er ikke tillatt", "problem_o_auth_connection_already_exists_title": "Kontoen din er allerede koblet til denne tjenesten", + "problem_o_auth_connection_last_login_method_title": "Dette er din eneste måte å logge inn på", + "problem_o_auth_connection_last_login_method_desc": "Angi et passord før du kobler den fra.", "problem_o_auth_connection_already_linked_title": "Denne eksterne kontoen er allerede koblet til en annen bruker", "problem_o_auth_flow_anonymous_only_title": "Du er allerede logget inn", "problem_o_auth_flow_mismatch_title": "Opplysningene for innloggingen stemmer ikke overens", diff --git a/messages/nl.json b/messages/nl.json index b8569e76..c9d70a8b 100644 --- a/messages/nl.json +++ b/messages/nl.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Account activeren", "auth_activate_title": "Account activeren", - "auth_activate_activating": "Je account wordt geactiveerd...", - "auth_activate_success": "Je account is geactiveerd", - "auth_activate_failed": "Deze activatielink is ongeldig of verlopen", - "auth_activate_missing_token": "Activatietoken ontbreekt", - "auth_activate_continue": "Door naar inloggen", + "auth_activate_loading": "Je registratie wordt gecontroleerd...", + "auth_activate_description": "We hebben een code gestuurd naar
{{email}}
. Vul deze in om je account aan te maken.", + "auth_activate_code_label": "Activatiecode", + "auth_activate_code_hint": "De code is een uur geldig. Kijk in je spammap als hij niet is aangekomen.", + "auth_activate_code_invalid_one": "Die code klopt niet. Nog {{count}} poging over.", + "auth_activate_code_invalid_other": "Die code klopt niet. Nog {{count}} pogingen over.", + "auth_activate_code_expired": "Deze code is verlopen of te vaak verkeerd ingevuld. Vraag een nieuwe aan.", + "auth_activate_submit": "Account aanmaken", + "auth_activate_resend": "Nieuwe code sturen", + "auth_activate_resend_in": "Nieuwe code sturen over {{time}}", + "auth_activate_resend_sent": "Er is een nieuwe code onderweg. Eerder verstuurde codes werken niet meer.", + "auth_activate_resend_exhausted": "Vandaag kunnen er geen codes meer worden verstuurd. Probeer het morgen opnieuw.", + "auth_activate_none": "In deze browser wacht geen registratie op een code. Log in met het wachtwoord of de provider waarmee je je hebt geregistreerd om hier een nieuwe code te krijgen, of registreer je opnieuw.", + "auth_activate_gone": "Het e-mailadres of de gebruikersnaam is in gebruik genomen terwijl je registratie wachtte. Registreer je opnieuw.", + "auth_activate_load_failed": "Je registratie kon niet worden gecontroleerd. Probeer het opnieuw.", + "auth_activate_retry": "Opnieuw proberen", + "auth_activate_sign_in": "Inloggen", + "auth_activate_sign_up": "Registreren", "auth_activate_toast_success": "Account geactiveerd", "auth_forgot_breadcrumb": "Wachtwoord vergeten", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Beschikbare inlogmethoden laden", "auth_login_choose_method": "Log in met een van deze methoden", "auth_login_with_account": "Log in met je OpenShock-account", - "auth_login_activation_after_signup": "Je account is aangemaakt. We hebben een activatielink naar je e-mailadres gestuurd. Kijk in je inbox en spammap.", - "auth_login_activation_pending": "Je account is nog niet geactiveerd. We hebben een activatielink naar je e-mailadres gestuurd. Kijk in je inbox en spammap. Komt er niets aan, log dan later opnieuw in om een nieuwe link te krijgen.", "auth_login_oauth_only": "Dit account heeft geen wachtwoord. Log in met de provider waarmee je je hebt geregistreerd.", + "auth_login_not_activated": "Dit account is niet geactiveerd en kan niet worden geactiveerd door in te loggen. Neem contact op met support om het te laten activeren.", "auth_login_oauth_only_with_buttons": "Dit account heeft geen wachtwoord. Log via de knoppen hierboven in met de provider waarmee je je hebt geregistreerd.", "auth_login_or_continue_with": "Of ga verder met", "auth_login_username_label": "Gebruikersnaam of e-mail", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Registreren met {{provider}}", "auth_oauth_create_title": "Registreren met {{provider}}", "auth_oauth_create_description": "Vul je accountgegevens aan", + "auth_oauth_create_pending": "Je bent al begonnen met registreren met dit account. We hebben een nieuwe code gestuurd naar het adres dat je hebt ingevuld.", + "auth_oauth_create_pending_enter_code": "Code invullen", + "auth_oauth_create_pending_correct": "Verkeerd adres? Pas het hieronder aan en verstuur het formulier om de code daar te ontvangen.", "auth_oauth_create_username_label": "Gebruikersnaam", "auth_oauth_create_username_placeholder": "Gebruikersnaam", "auth_oauth_create_email_label": "E-mail", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Wachtwoord is gereset", "auth_signup_breadcrumb": "Registreren", - "auth_signup_toast_created_mail": "Account aangemaakt. Controleer je e-mail om je account te verifiëren.", "auth_signup_toast_created_no_mail": "Account aangemaakt. Je kunt nu inloggen.", "auth_signup_dialog_title": "Welkom! Bedankt voor je registratie! ❤️", - "auth_signup_dialog_created_mail": "Je account is aangemaakt. 🎉 Controleer je e-mail om je account te verifiëren.", - "auth_signup_dialog_verify_then_login": "Nadat je je e-mailadres hebt geverifieerd, kun je inloggen.", "auth_signup_dialog_created_no_mail": "Je account is aangemaakt en klaar voor gebruik. 🎉", "auth_signup_dialog_login_now": "Je kunt nu inloggen.", "auth_signup_title": "Account aanmaken", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Verificatietoken ontbreekt", "auth_verify_continue": "Door naar inloggen", "auth_verify_toast_success": "E-mailadres geverifieerd", + "auth_verify_in_use": "Dit e-mailadres is al in gebruik", "common_cancel": "Annuleren", "common_delete": "Verwijderen", @@ -903,10 +916,6 @@ "report_submit": "Melding versturen", "turnstile_disabled": "Turnstile uitgeschakeld", "common_internal_error": "Interne fout", - "resend_toast_sent": "Activatiemail verstuurd. Kijk in je inbox en spammap.", - "resend_toast_throttled": "Er zijn te veel activatiemails aangevraagd. Probeer het later opnieuw.", - "resend_toast_unavailable": "Vanuit deze browser kan geen activatiemail opnieuw worden verstuurd. Is je account nog niet geactiveerd, dan stuurt inloggen een nieuwe link.", - "resend_button": "Geen e-mail ontvangen? Opnieuw sturen", "expiration_label": "Vervaldatum", "expiration_never": "Nooit", "expiration_custom": "Aangepast", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Applicatiemodus starten mislukt: {{error}}", "problem_account_account_not_activated_title": "Account niet geactiveerd", - "problem_account_account_not_activated_desc": "Kijk in je inbox voor de activatiemail.", - "problem_account_activation_not_found_title": "Activatielink is ongeldig", - "problem_account_activation_not_found_desc": "De link is mogelijk verlopen of al gebruikt.", + "problem_account_account_not_activated_desc": "Kijk in je inbox voor de activatiecode.", + "problem_account_activation_code_expired_title": "De activatiecode is verlopen", + "problem_account_activation_code_expired_desc": "Vraag een nieuwe aan.", + "problem_account_activation_code_invalid_title": "De activatiecode klopt niet", + "problem_account_activation_not_found_title": "Er wacht geen registratie in deze browser", + "problem_account_activation_not_found_desc": "Log in met je registratiegegevens om een nieuwe code te krijgen, of registreer je opnieuw.", "problem_account_activation_resend_too_many_title": "Te veel activatiemails aangevraagd", "problem_account_activation_resend_too_many_desc": "Wacht even voordat je het opnieuw probeert.", - "problem_account_activation_resend_unavailable_title": "Activatiemail kan niet opnieuw worden verstuurd", - "problem_account_activation_resend_unavailable_desc": "Log opnieuw in om een nieuwe activatielink aan te vragen.", + "problem_account_activation_resend_unavailable_title": "Kan geen nieuwe activatiecode sturen", + "problem_account_activation_resend_unavailable_desc": "Log in met je registratiegegevens om een nieuwe code te krijgen.", "problem_account_deactivate_already_deactivated_title": "Account is al gedeactiveerd", "problem_account_deactivate_denied_privileged_title": "Bevoorrechte accounts kunnen niet worden gedeactiveerd", "problem_account_deactivate_unauthorized_title": "Je mag dit niet doen", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Log opnieuw in.", "problem_authentication_token_invalid_title": "Ongeldig API token", "problem_authentication_unknown_error_title": "Authenticatie mislukt", + "problem_authorization_origin_not_trusted_title": "Deze actie kan niet vanaf deze website worden uitgevoerd", "problem_authorization_policy_not_met_title": "Je hebt geen toestemming om dit te doen", "problem_authorization_token_only_title": "Voor deze actie is een API token nodig", "problem_authorization_token_permission_missing_title": "Dit API token mist een vereiste machtiging", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Ongeldige gebruikersnaam of wachtwoord", "problem_login_invalid_domain_title": "Inloggen vanaf dit adres is niet toegestaan", "problem_o_auth_connection_already_exists_title": "Je account is al gekoppeld aan deze provider", + "problem_o_auth_connection_last_login_method_title": "Dit is je enige manier om in te loggen", + "problem_o_auth_connection_last_login_method_desc": "Stel een wachtwoord in voordat je de koppeling verbreekt.", "problem_o_auth_connection_already_linked_title": "Dit externe account is al gekoppeld aan een andere gebruiker", "problem_o_auth_flow_anonymous_only_title": "Je bent al ingelogd", "problem_o_auth_flow_mismatch_title": "Inlogpoging komt niet overeen", diff --git a/messages/sv.json b/messages/sv.json index 5d10828c..d1514d2c 100644 --- a/messages/sv.json +++ b/messages/sv.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Aktivera konto", "auth_activate_title": "Aktivera konto", - "auth_activate_activating": "Aktiverar ditt konto...", - "auth_activate_success": "Ditt konto har aktiverats", - "auth_activate_failed": "Den här aktiveringslänken är ogiltig eller har gått ut", - "auth_activate_missing_token": "Aktiveringstoken saknas", - "auth_activate_continue": "Fortsätt till inloggningen", + "auth_activate_loading": "Kontrollerar din registrering...", + "auth_activate_description": "Vi har skickat en kod till
{{email}}
. Ange den för att skapa ditt konto.", + "auth_activate_code_label": "Aktiveringskod", + "auth_activate_code_hint": "Koden gäller i en timme. Kolla skräpposten om den inte har kommit fram.", + "auth_activate_code_invalid_one": "Koden är inte korrekt. {{count}} försök kvar.", + "auth_activate_code_invalid_other": "Koden är inte korrekt. {{count}} försök kvar.", + "auth_activate_code_expired": "Koden har gått ut eller angetts fel för många gånger. Begär en ny.", + "auth_activate_submit": "Skapa konto", + "auth_activate_resend": "Skicka en ny kod", + "auth_activate_resend_in": "Skicka en ny kod om {{time}}", + "auth_activate_resend_sent": "En ny kod är på väg. Koder som skickats tidigare fungerar inte längre.", + "auth_activate_resend_exhausted": "Inga fler koder kan skickas i dag. Försök igen i morgon.", + "auth_activate_none": "Den här webbläsaren har ingen registrering som väntar på en kod. Logga in med lösenordet eller leverantören du registrerade dig med för att få en ny kod här, eller registrera dig igen.", + "auth_activate_gone": "E-postadressen eller användarnamnet togs medan din registrering väntade. Registrera dig igen.", + "auth_activate_load_failed": "Din registrering kunde inte kontrolleras. Försök igen.", + "auth_activate_retry": "Försök igen", + "auth_activate_sign_in": "Logga in", + "auth_activate_sign_up": "Registrera dig", "auth_activate_toast_success": "Kontot har aktiverats", "auth_forgot_breadcrumb": "Glömt lösenord", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Läser in tillgängliga inloggningsmetoder", "auth_login_choose_method": "Logga in med någon av dessa metoder", "auth_login_with_account": "Logga in med ditt OpenShock-konto", - "auth_login_activation_after_signup": "Ditt konto har skapats. Vi har skickat en aktiveringslänk till din e-postadress. Kontrollera inkorgen och skräpposten.", - "auth_login_activation_pending": "Ditt konto är inte aktiverat än. Vi har skickat en aktiveringslänk till din e-postadress. Kontrollera inkorgen och skräpposten. Om inget kommer fram kan du försöka logga in igen senare för att få en ny länk.", "auth_login_oauth_only": "Det här kontot har inget lösenord. Logga in med leverantören du registrerade dig med.", + "auth_login_not_activated": "Det här kontot har inte aktiverats och kan inte aktiveras genom inloggning. Kontakta supporten för att få det aktiverat.", "auth_login_oauth_only_with_buttons": "Det här kontot har inget lösenord. Logga in med leverantören du registrerade dig med via knapparna ovan.", "auth_login_or_continue_with": "Eller fortsätt med", "auth_login_username_label": "Användarnamn eller e-post", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Registrera dig med {{provider}}", "auth_oauth_create_title": "Registrera dig med {{provider}}", "auth_oauth_create_description": "Fyll i dina kontouppgifter", + "auth_oauth_create_pending": "Du har redan börjat registrera dig med det här kontot. Vi har skickat en ny kod till adressen du angav.", + "auth_oauth_create_pending_enter_code": "Ange kod", + "auth_oauth_create_pending_correct": "Fel adress? Rätta den nedan och skicka för att få en kod dit i stället.", "auth_oauth_create_username_label": "Användarnamn", "auth_oauth_create_username_placeholder": "Användarnamn", "auth_oauth_create_email_label": "E-post", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Lösenordet har återställts", "auth_signup_breadcrumb": "Registrera dig", - "auth_signup_toast_created_mail": "Kontot har skapats. Kontrollera din e-post för att verifiera kontot.", "auth_signup_toast_created_no_mail": "Kontot har skapats. Du kan logga in nu.", "auth_signup_dialog_title": "Välkommen! Tack för att du registrerade dig! ❤️", - "auth_signup_dialog_created_mail": "Ditt konto har skapats. 🎉 Kontrollera din e-post för att verifiera kontot.", - "auth_signup_dialog_verify_then_login": "När du har verifierat din e-postadress kan du logga in på ditt konto.", "auth_signup_dialog_created_no_mail": "Ditt konto har skapats och är redo att användas. 🎉", "auth_signup_dialog_login_now": "Du kan logga in på ditt konto nu.", "auth_signup_title": "Skapa ditt konto", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "Verifieringstoken saknas", "auth_verify_continue": "Fortsätt till inloggningen", "auth_verify_toast_success": "E-postadressen har verifierats", + "auth_verify_in_use": "E-postadressen används redan", "common_cancel": "Avbryt", "common_delete": "Ta bort", @@ -903,10 +916,6 @@ "report_submit": "Skicka rapport", "turnstile_disabled": "Turnstile inaktiverat", "common_internal_error": "Internt fel", - "resend_toast_sent": "Aktiveringsmejl skickat. Kolla inkorgen och skräppostmappen.", - "resend_toast_throttled": "För många aktiveringsmejl har begärts. Försök igen senare.", - "resend_toast_unavailable": "Inget aktiveringsmejl kan skickas igen från den här webbläsaren. Om ditt konto inte är aktiverat än skickar en inloggning en ny länk.", - "resend_button": "Fick du inget mejl? Skicka igen", "expiration_label": "Utgång", "expiration_never": "Aldrig", "expiration_custom": "Anpassad", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Det gick inte att gå in i applikationsläge: {{error}}", "problem_account_account_not_activated_title": "Kontot är inte aktiverat", - "problem_account_account_not_activated_desc": "Leta efter aktiveringsmejlet i din inkorg.", - "problem_account_activation_not_found_title": "Aktiveringslänken är ogiltig", - "problem_account_activation_not_found_desc": "Länken kan ha gått ut eller redan använts.", + "problem_account_account_not_activated_desc": "Leta efter aktiveringskoden i din inkorg.", + "problem_account_activation_code_expired_title": "Aktiveringskoden har gått ut", + "problem_account_activation_code_expired_desc": "Begär en ny.", + "problem_account_activation_code_invalid_title": "Aktiveringskoden är inte korrekt", + "problem_account_activation_not_found_title": "Ingen registrering väntar i den här webbläsaren", + "problem_account_activation_not_found_desc": "Logga in med det du registrerade dig med för att få en ny kod, eller registrera dig igen.", "problem_account_activation_resend_too_many_title": "För många aktiveringsmejl har begärts", "problem_account_activation_resend_too_many_desc": "Vänta en stund innan du försöker igen.", - "problem_account_activation_resend_unavailable_title": "Det går inte att skicka aktiveringsmejlet igen", - "problem_account_activation_resend_unavailable_desc": "Logga in igen för att begära en ny aktiveringslänk.", + "problem_account_activation_resend_unavailable_title": "Det går inte att skicka en ny aktiveringskod", + "problem_account_activation_resend_unavailable_desc": "Logga in med det du registrerade dig med för att få en ny kod.", "problem_account_deactivate_already_deactivated_title": "Kontot är redan inaktiverat", "problem_account_deactivate_denied_privileged_title": "Privilegierade konton kan inte inaktiveras", "problem_account_deactivate_unauthorized_title": "Du får inte göra detta", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Logga in igen.", "problem_authentication_token_invalid_title": "Ogiltig API-token", "problem_authentication_unknown_error_title": "Autentiseringen misslyckades", + "problem_authorization_origin_not_trusted_title": "Den här åtgärden kan inte utföras från den här webbplatsen", "problem_authorization_policy_not_met_title": "Du har inte behörighet att göra detta", "problem_authorization_token_only_title": "Den här åtgärden kräver en API-token", "problem_authorization_token_permission_missing_title": "Den här API-token saknar en nödvändig behörighet", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Ogiltigt användarnamn eller lösenord", "problem_login_invalid_domain_title": "Inloggning från den här adressen är inte tillåten", "problem_o_auth_connection_already_exists_title": "Ditt konto är redan anslutet till den här leverantören", + "problem_o_auth_connection_last_login_method_title": "Det här är ditt enda sätt att logga in", + "problem_o_auth_connection_last_login_method_desc": "Ange ett lösenord innan du kopplar bort den.", "problem_o_auth_connection_already_linked_title": "Det här externa kontot är redan kopplat till en annan användare", "problem_o_auth_flow_anonymous_only_title": "Du är redan inloggad", "problem_o_auth_flow_mismatch_title": "Inloggningsförsöket stämmer inte", diff --git a/messages/uk.json b/messages/uk.json index 069df842..d4b8e1d8 100644 --- a/messages/uk.json +++ b/messages/uk.json @@ -66,11 +66,26 @@ "auth_activate_breadcrumb": "Активація облікового запису", "auth_activate_title": "Активація облікового запису", - "auth_activate_activating": "Активуємо твій обліковий запис...", - "auth_activate_success": "Твій обліковий запис активовано", - "auth_activate_failed": "Це посилання для активації недійсне або застаріло", - "auth_activate_missing_token": "Відсутній токен активації", - "auth_activate_continue": "Перейти до входу", + "auth_activate_loading": "Перевіряємо твою реєстрацію...", + "auth_activate_description": "Ми надіслали код на
{{email}}
. Введи його, щоб створити обліковий запис.", + "auth_activate_code_label": "Код активації", + "auth_activate_code_hint": "Код дійсний протягом однієї години. Якщо він не надійшов, перевір папку «Спам».", + "auth_activate_code_invalid_one": "Код неправильний. Залишилася {{count}} спроба.", + "auth_activate_code_invalid_other": "Код неправильний. Залишилося {{count}} спроби.", + "auth_activate_code_expired": "Термін дії коду минув або його забагато разів введено неправильно. Запитай новий.", + "auth_activate_submit": "Створити обліковий запис", + "auth_activate_resend": "Надіслати новий код", + "auth_activate_resend_in": "Надіслати новий код через {{time}}", + "auth_activate_resend_sent": "Новий код уже в дорозі. Раніше надіслані коди більше не діють.", + "auth_activate_resend_exhausted": "Сьогодні більше не можна надіслати коди. Спробуй завтра.", + "auth_activate_none": "У цьому браузері немає реєстрації, що очікує на код. Увійди з паролем або через провайдера, з яким реєструвався, щоб отримати тут новий код, або зареєструйся знову.", + "auth_activate_gone": "Поки твоя реєстрація очікувала, цю адресу пошти або ім'я користувача вже зайняли. Зареєструйся знову.", + "auth_activate_load_failed": "Не вдалося перевірити твою реєстрацію. Спробуй ще раз.", + "auth_activate_retry": "Спробувати ще раз", + "auth_activate_sign_in": "Увійти", + "auth_activate_sign_up": "Зареєструватися", + "auth_activate_code_invalid_few": "Код неправильний. Залишилося {{count}} спроби.", + "auth_activate_code_invalid_many": "Код неправильний. Залишилося {{count}} спроб.", "auth_activate_toast_success": "Обліковий запис активовано", "auth_forgot_breadcrumb": "Забув пароль", @@ -88,9 +103,8 @@ "auth_login_loading_methods": "Завантажуємо доступні способи входу", "auth_login_choose_method": "Увійди одним із цих способів", "auth_login_with_account": "Увійди з обліковим записом OpenShock", - "auth_login_activation_after_signup": "Твій обліковий запис створено. Ми надіслали посилання для активації на твою пошту. Перевір вхідні та папку «Спам».", - "auth_login_activation_pending": "Твій обліковий запис ще не активовано. Ми надіслали посилання для активації на твою пошту. Перевір вхідні та папку «Спам». Якщо лист не прийде, спробуй увійти пізніше, щоб отримати нове посилання.", "auth_login_oauth_only": "Цей обліковий запис не має пароля. Увійди через провайдера, з яким реєструвався.", + "auth_login_not_activated": "Цей обліковий запис не активовано, і його не можна активувати входом. Звернися до підтримки, щоб його активували.", "auth_login_oauth_only_with_buttons": "Цей обліковий запис не має пароля. Увійди через провайдера, з яким реєструвався, за допомогою кнопок вище.", "auth_login_or_continue_with": "Або продовжити через", "auth_login_username_label": "Ім'я користувача або пошта", @@ -102,6 +116,9 @@ "auth_oauth_create_breadcrumb": "Реєстрація через {{provider}}", "auth_oauth_create_title": "Реєстрація через {{provider}}", "auth_oauth_create_description": "Заповни дані облікового запису", + "auth_oauth_create_pending": "Ти вже почав реєстрацію з цим обліковим записом. Ми надіслали новий код на вказану тобою адресу.", + "auth_oauth_create_pending_enter_code": "Ввести код", + "auth_oauth_create_pending_correct": "Неправильна адреса? Виправ її нижче та надішли форму, щоб отримати код туди.", "auth_oauth_create_username_label": "Ім'я користувача", "auth_oauth_create_username_placeholder": "Ім'я користувача", "auth_oauth_create_email_label": "Пошта", @@ -127,11 +144,8 @@ "auth_reset_toast_success": "Пароль скинуто", "auth_signup_breadcrumb": "Реєстрація", - "auth_signup_toast_created_mail": "Обліковий запис створено. Перевір пошту, щоб підтвердити його.", "auth_signup_toast_created_no_mail": "Обліковий запис створено. Тепер можна увійти.", "auth_signup_dialog_title": "Вітаємо! Дякуємо за реєстрацію! ❤️", - "auth_signup_dialog_created_mail": "Твій обліковий запис створено. 🎉 Перевір пошту, щоб підтвердити його.", - "auth_signup_dialog_verify_then_login": "Після підтвердження пошти ти зможеш увійти у свій обліковий запис.", "auth_signup_dialog_created_no_mail": "Твій обліковий запис створено і він готовий до роботи. 🎉", "auth_signup_dialog_login_now": "Тепер ти можеш увійти у свій обліковий запис.", "auth_signup_title": "Створи обліковий запис", @@ -161,6 +175,7 @@ "auth_verify_missing_token": "Відсутній токен підтвердження", "auth_verify_continue": "Перейти до входу", "auth_verify_toast_success": "Пошту підтверджено", + "auth_verify_in_use": "Ця адреса пошти вже використовується", "common_cancel": "Скасувати", "common_delete": "Видалити", @@ -911,10 +926,6 @@ "report_submit": "Надіслати звіт", "turnstile_disabled": "Turnstile вимкнено", "common_internal_error": "Внутрішня помилка", - "resend_toast_sent": "Лист для активації надіслано. Перевір вхідні та папку «Спам».", - "resend_toast_throttled": "Запитано забагато листів для активації. Спробуй пізніше.", - "resend_toast_unavailable": "З цього браузера не можна повторно надіслати лист для активації. Якщо обліковий запис ще не активовано, увійди, і ми надішлемо нове посилання.", - "resend_button": "Не отримав листа? Надіслати ще", "expiration_label": "Термін дії", "expiration_never": "Ніколи", "expiration_custom": "Свій", @@ -957,13 +968,16 @@ "terminal_toast_app_mode_failed": "Не вдалося увійти в режим застосунку: {{error}}", "problem_account_account_not_activated_title": "Обліковий запис не активовано", - "problem_account_account_not_activated_desc": "Пошукай лист для активації у вхідних.", - "problem_account_activation_not_found_title": "Посилання для активації недійсне", - "problem_account_activation_not_found_desc": "Можливо, посилання застаріло або його вже використано.", + "problem_account_account_not_activated_desc": "Пошукай код активації у своїй поштовій скриньці.", + "problem_account_activation_code_expired_title": "Термін дії коду активації минув", + "problem_account_activation_code_expired_desc": "Запитай новий.", + "problem_account_activation_code_invalid_title": "Код активації неправильний", + "problem_account_activation_not_found_title": "У цьому браузері немає реєстрації, що очікує", + "problem_account_activation_not_found_desc": "Увійди з даними, з якими реєструвався, щоб отримати новий код, або зареєструйся знову.", "problem_account_activation_resend_too_many_title": "Запитано забагато листів для активації", "problem_account_activation_resend_too_many_desc": "Зачекай трохи, перш ніж пробувати знову.", - "problem_account_activation_resend_unavailable_title": "Не вдалося повторно надіслати лист для активації", - "problem_account_activation_resend_unavailable_desc": "Увійди ще раз, щоб запитати нове посилання для активації.", + "problem_account_activation_resend_unavailable_title": "Не вдається надіслати новий код активації", + "problem_account_activation_resend_unavailable_desc": "Увійди з даними, з якими реєструвався, щоб отримати новий код.", "problem_account_deactivate_already_deactivated_title": "Обліковий запис уже деактивовано", "problem_account_deactivate_denied_privileged_title": "Привілейовані облікові записи не можна деактивувати", "problem_account_deactivate_unauthorized_title": "Тобі не дозволено це робити", @@ -1003,6 +1017,7 @@ "problem_authentication_session_invalid_desc": "Увійди ще раз.", "problem_authentication_token_invalid_title": "Недійсний API-токен", "problem_authentication_unknown_error_title": "Помилка автентифікації", + "problem_authorization_origin_not_trusted_title": "Цю дію не можна виконати з цього вебсайту", "problem_authorization_policy_not_met_title": "У тебе немає дозволу на це", "problem_authorization_token_only_title": "Для цієї дії потрібен API-токен", "problem_authorization_token_permission_missing_title": "Цьому API-токену бракує потрібного дозволу", @@ -1027,6 +1042,8 @@ "problem_login_invalid_credentials_title": "Неправильне ім'я користувача або пароль", "problem_login_invalid_domain_title": "Вхід із цієї адреси не дозволено", "problem_o_auth_connection_already_exists_title": "Твій обліковий запис уже підключено до цього провайдера", + "problem_o_auth_connection_last_login_method_title": "Це твій єдиний спосіб входу", + "problem_o_auth_connection_last_login_method_desc": "Встанови пароль, перш ніж від'єднувати його.", "problem_o_auth_connection_already_linked_title": "Цей зовнішній обліковий запис уже прив'язано до іншого користувача", "problem_o_auth_flow_anonymous_only_title": "Ти вже ввійшов", "problem_o_auth_flow_mismatch_title": "Спроба входу не збігається", diff --git a/messages/uwu.json b/messages/uwu.json index 0aa728b9..542e38eb 100644 --- a/messages/uwu.json +++ b/messages/uwu.json @@ -66,11 +66,24 @@ "auth_activate_breadcrumb": "Wake up account", "auth_activate_title": "Wake up your account~", - "auth_activate_activating": "Waking up your account... *big sleepy stretch*", - "auth_activate_success": "Your account is wide awake! Yay~ ♡", - "auth_activate_failed": "This link is broken or too old... *whimpers*", - "auth_activate_missing_token": "The activation token wandered off somewhere... *pouts*", - "auth_activate_continue": "Onward to login!", + "auth_activate_loading": "Sniffing out your signup...", + "auth_activate_description": "We sent a code to
{{email}}
~ Type it in to make your account! ♡", + "auth_activate_code_label": "Activation code", + "auth_activate_code_hint": "The code works for one hour~ Peek in your spam folder if it's hiding!", + "auth_activate_code_invalid_one": "Oopsie, that code isn't right! {{count}} twy left~", + "auth_activate_code_invalid_other": "Oopsie, that code isn't right! {{count}} twies left~", + "auth_activate_code_expired": "This code got too old or was typed wrong too many times~ Ask for a new one!", + "auth_activate_submit": "Make my account! ♡", + "auth_activate_resend": "Send a new code~", + "auth_activate_resend_in": "New code in {{time}}~", + "auth_activate_resend_sent": "A new code is on its way! *zoom* Older codes don't work anymore~", + "auth_activate_resend_exhausted": "No more codes today, sowwy! Try again tomorrow~", + "auth_activate_none": "This browser has no signup waiting for a code~ Log in with the pawsword or service you signed up with to get a new code here, or sign up again!", + "auth_activate_gone": "Someone snatched the email or username while your signup was waiting! Please sign up again~", + "auth_activate_load_failed": "Couldn't sniff out your signup~ Please try again!", + "auth_activate_retry": "Try again~", + "auth_activate_sign_in": "Log in~", + "auth_activate_sign_up": "Join the pack! ♡", "auth_activate_toast_success": "Account activated! *happy tail wags*", "auth_forgot_breadcrumb": "Forgot pawsword", @@ -88,9 +101,8 @@ "auth_login_loading_methods": "Sniffing out ways to log in...", "auth_login_choose_method": "Pick your favorite way to log in~", "auth_login_with_account": "Log in with your OpenShock account", - "auth_login_activation_after_signup": "Your account is ready! I sent a wake-up link to your email. Check your inbox, and peek in the spam folder too~", - "auth_login_activation_pending": "Your account is still sleepy and not activated yet! I sent a wake-up link to your email. Check your inbox and spam folder. If nothing shows up, try logging in again later and I'll send a fresh one!", "auth_login_oauth_only": "This account doesn't have a pawsword! Log in with the service you signed up with~", + "auth_login_not_activated": "This account never woke up and can't be woken by logging in~ Ask support to wake it up for you!", "auth_login_oauth_only_with_buttons": "This account doesn't have a pawsword! Log in with the service you signed up with, using the buttons up there~", "auth_login_or_continue_with": "Or continue with", "auth_login_username_label": "Username or email", @@ -102,6 +114,9 @@ "auth_oauth_create_breadcrumb": "Join with {{provider}}", "auth_oauth_create_title": "Join the pack with {{provider}}! ✨", "auth_oauth_create_description": "Just a few more details and you're in~", + "auth_oauth_create_pending": "You already started signing up with this account! We sent a new code to the address you gave us~", + "auth_oauth_create_pending_enter_code": "Enter code~", + "auth_oauth_create_pending_correct": "Wrong address? Fix it below and send it again to get a code there instead~", "auth_oauth_create_username_label": "Username", "auth_oauth_create_username_placeholder": "Username", "auth_oauth_create_email_label": "Email", @@ -127,11 +142,8 @@ "auth_reset_toast_success": "Pawsword reset! Don't forget it this time, silly~ hehe", "auth_signup_breadcrumb": "Join the pack", - "auth_signup_toast_created_mail": "Yay, account made! Check your email to verify it~", "auth_signup_toast_created_no_mail": "Yay, account made! You can log in right away~", "auth_signup_dialog_title": "Welcome to the pack!! Thank you for joining! ❤️ *nuzzles and twirls*", - "auth_signup_dialog_created_mail": "Your account is made! 🎉 Check your email to verify it~", - "auth_signup_dialog_verify_then_login": "Once your email is verified, you can hop right in!", "auth_signup_dialog_created_no_mail": "Your account is made and ready to go! 🎉 *happy wiggle*", "auth_signup_dialog_login_now": "You can log in right now~", "auth_signup_title": "Join the pack! ♡", @@ -161,6 +173,7 @@ "auth_verify_missing_token": "The verification token wandered off somewhere... *pouts*", "auth_verify_continue": "Onward to login!", "auth_verify_toast_success": "Email verified! *wags*", + "auth_verify_in_use": "That email is already taken~", "common_cancel": "Nevermind~", "common_delete": "Delete *gulp*", @@ -903,10 +916,6 @@ "report_submit": "Send it!", "turnstile_disabled": "Turnstile is napping", "common_internal_error": "Oopsie inside", - "resend_toast_sent": "Sent another lil letter! Check your inbox and spam~", - "resend_toast_throttled": "That's a lot of letters! Wait a bit and try again~", - "resend_toast_unavailable": "Can't resend from this browser! If you're not activated yet, just log in and we'll send a fresh link~", - "resend_button": "No letter? Send another!", "expiration_label": "Goes poof", "expiration_never": "Never", "expiration_custom": "Custom", @@ -947,13 +956,16 @@ "terminal_toast_app_mode_failed": "Couldn't wake the app up: {{error}}", "problem_account_account_not_activated_title": "Account isn't awake yet", - "problem_account_account_not_activated_desc": "Check your inbox for the activation letter~", - "problem_account_activation_not_found_title": "That activation link is silly", - "problem_account_activation_not_found_desc": "It might've gone poof or been used already.", + "problem_account_account_not_activated_desc": "Check your inbox for the activation code~", + "problem_account_activation_code_expired_title": "The activation code got too old~", + "problem_account_activation_code_expired_desc": "Ask for a new one!", + "problem_account_activation_code_invalid_title": "That activation code isn't right~", + "problem_account_activation_not_found_title": "No signup is waiting in this browser~", + "problem_account_activation_not_found_desc": "Log in with what you signed up with to get a new code, or sign up again!", "problem_account_activation_resend_too_many_title": "That's a lot of activation letters!", "problem_account_activation_resend_too_many_desc": "Take a lil break before trying again~", - "problem_account_activation_resend_unavailable_title": "Can't send another activation letter", - "problem_account_activation_resend_unavailable_desc": "Log in again and we'll send a fresh link~", + "problem_account_activation_resend_unavailable_title": "Can't send a new activation code~", + "problem_account_activation_resend_unavailable_desc": "Log in with what you signed up with to get a new code!", "problem_account_deactivate_already_deactivated_title": "This account is already napping", "problem_account_deactivate_denied_privileged_title": "Special accounts can't go to sleep", "problem_account_deactivate_unauthorized_title": "You're not allowed to do that", @@ -993,6 +1005,7 @@ "problem_authentication_session_invalid_desc": "Please log in again~", "problem_authentication_token_invalid_title": "That token is silly", "problem_authentication_unknown_error_title": "Couldn't tell who you are", + "problem_authorization_origin_not_trusted_title": "This can't be done from this website~", "problem_authorization_policy_not_met_title": "You're not allowed to do that", "problem_authorization_token_only_title": "You need a token for this", "problem_authorization_token_permission_missing_title": "This token is missing a permission", @@ -1017,6 +1030,8 @@ "problem_login_invalid_credentials_title": "Wrong name or pawsword", "problem_login_invalid_domain_title": "Can't log in from here, sorry!", "problem_o_auth_connection_already_exists_title": "You're already holding paws with that buddy", + "problem_o_auth_connection_last_login_method_title": "This is your only way to log in!", + "problem_o_auth_connection_last_login_method_desc": "Set a pawsword before unlinking it~", "problem_o_auth_connection_already_linked_title": "That buddy account already belongs to someone else", "problem_o_auth_flow_anonymous_only_title": "You're already snuggled in", "problem_o_auth_flow_mismatch_title": "That login attempt got mixed up", diff --git a/messages/zh-Hans.json b/messages/zh-Hans.json index f378e6d4..01febbae 100644 --- a/messages/zh-Hans.json +++ b/messages/zh-Hans.json @@ -66,11 +66,23 @@ "auth_activate_breadcrumb": "激活账号", "auth_activate_title": "激活账号", - "auth_activate_activating": "正在激活你的账号...", - "auth_activate_success": "你的账号已激活", - "auth_activate_failed": "此激活链接无效或已过期", - "auth_activate_missing_token": "缺少激活令牌", - "auth_activate_continue": "继续登录", + "auth_activate_loading": "正在检查你的注册...", + "auth_activate_description": "我们已向
{{email}}
发送了激活码。输入后即可创建账号。", + "auth_activate_code_label": "激活码", + "auth_activate_code_hint": "激活码一小时内有效。如果没有收到,请检查垃圾邮件文件夹。", + "auth_activate_code_invalid_other": "激活码不正确。还剩 {{count}} 次机会。", + "auth_activate_code_expired": "此激活码已过期或输错次数过多。请重新获取。", + "auth_activate_submit": "创建账号", + "auth_activate_resend": "发送新的激活码", + "auth_activate_resend_in": "{{time}} 后可发送新的激活码", + "auth_activate_resend_sent": "新的激活码已发出。之前发送的激活码将失效。", + "auth_activate_resend_exhausted": "今天无法再发送激活码。请明天再试。", + "auth_activate_none": "此浏览器中没有等待激活码的注册。使用注册时的密码或服务登录即可在此获取新的激活码,或重新注册。", + "auth_activate_gone": "在你的注册等待期间,该邮箱或用户名已被占用。请重新注册。", + "auth_activate_load_failed": "无法检查你的注册。请重试。", + "auth_activate_retry": "重试", + "auth_activate_sign_in": "登录", + "auth_activate_sign_up": "注册", "auth_activate_toast_success": "账号已激活", "auth_forgot_breadcrumb": "忘记密码", @@ -88,9 +100,8 @@ "auth_login_loading_methods": "正在加载可用的登录方式", "auth_login_choose_method": "使用以下方式之一登录", "auth_login_with_account": "使用你的 OpenShock 账号登录", - "auth_login_activation_after_signup": "你的账号已创建。我们已向你的邮箱发送了激活链接,请检查收件箱和垃圾邮件文件夹。", - "auth_login_activation_pending": "你的账号尚未激活。我们已向你的邮箱发送了激活链接,请检查收件箱和垃圾邮件文件夹。如果没有收到,请稍后再次登录以获取新链接。", "auth_login_oauth_only": "此账号没有密码。请使用注册时所用的服务登录。", + "auth_login_not_activated": "此账号尚未激活,且无法通过登录激活。请联系客服为你激活。", "auth_login_oauth_only_with_buttons": "此账号没有密码。请使用上方按钮,通过注册时所用的服务登录。", "auth_login_or_continue_with": "或通过以下方式继续", "auth_login_username_label": "用户名或邮箱", @@ -102,6 +113,9 @@ "auth_oauth_create_breadcrumb": "使用 {{provider}} 注册", "auth_oauth_create_title": "使用 {{provider}} 注册", "auth_oauth_create_description": "完善你的账号信息", + "auth_oauth_create_pending": "你已经用此账号开始注册。我们已向你填写的地址发送了新的激活码。", + "auth_oauth_create_pending_enter_code": "输入激活码", + "auth_oauth_create_pending_correct": "地址填错了?在下方更正并提交,即可将激活码发送到新地址。", "auth_oauth_create_username_label": "用户名", "auth_oauth_create_username_placeholder": "用户名", "auth_oauth_create_email_label": "邮箱", @@ -127,11 +141,8 @@ "auth_reset_toast_success": "密码已重置", "auth_signup_breadcrumb": "注册", - "auth_signup_toast_created_mail": "账号创建成功。请查收邮件以验证你的账号。", "auth_signup_toast_created_no_mail": "账号创建成功。你现在可以登录了。", "auth_signup_dialog_title": "欢迎!感谢你的注册!❤️", - "auth_signup_dialog_created_mail": "你的账号已创建。🎉 请查收邮件以验证你的账号。", - "auth_signup_dialog_verify_then_login": "验证邮箱后,你就可以登录账号了。", "auth_signup_dialog_created_no_mail": "你的账号已创建,可以开始使用了。🎉", "auth_signup_dialog_login_now": "你现在可以登录账号了。", "auth_signup_title": "创建账号", @@ -161,6 +172,7 @@ "auth_verify_missing_token": "缺少验证令牌", "auth_verify_continue": "继续登录", "auth_verify_toast_success": "邮箱已验证", + "auth_verify_in_use": "此邮箱已被使用", "common_cancel": "取消", "common_delete": "删除", @@ -899,10 +911,6 @@ "report_submit": "提交举报", "turnstile_disabled": "Turnstile 已禁用", "common_internal_error": "内部错误", - "resend_toast_sent": "激活邮件已发送,请检查收件箱和垃圾邮件文件夹。", - "resend_toast_throttled": "请求的激活邮件过多,请稍后再试。", - "resend_toast_unavailable": "无法从此浏览器重新发送激活邮件。如果你的账号尚未激活,登录时会发送新链接。", - "resend_button": "没收到邮件?重新发送", "expiration_label": "有效期", "expiration_never": "永不", "expiration_custom": "自定义", @@ -942,13 +950,16 @@ "terminal_toast_app_mode_failed": "进入应用模式失败:{{error}}", "problem_account_account_not_activated_title": "账号未激活", - "problem_account_account_not_activated_desc": "请在收件箱中查找激活邮件。", - "problem_account_activation_not_found_title": "激活链接无效", - "problem_account_activation_not_found_desc": "该链接可能已过期或已被使用。", + "problem_account_account_not_activated_desc": "请在收件箱中查找激活码。", + "problem_account_activation_code_expired_title": "激活码已过期", + "problem_account_activation_code_expired_desc": "请重新获取。", + "problem_account_activation_code_invalid_title": "激活码不正确", + "problem_account_activation_not_found_title": "此浏览器中没有待完成的注册", + "problem_account_activation_not_found_desc": "使用注册信息登录以获取新的激活码,或重新注册。", "problem_account_activation_resend_too_many_title": "请求的激活邮件过多", "problem_account_activation_resend_too_many_desc": "请稍等一段时间后再试。", - "problem_account_activation_resend_unavailable_title": "无法重新发送激活邮件", - "problem_account_activation_resend_unavailable_desc": "请重新登录以获取新的激活链接。", + "problem_account_activation_resend_unavailable_title": "无法发送新的激活码", + "problem_account_activation_resend_unavailable_desc": "使用注册信息登录以获取新的激活码。", "problem_account_deactivate_already_deactivated_title": "账号已停用", "problem_account_deactivate_denied_privileged_title": "特权账号无法停用", "problem_account_deactivate_unauthorized_title": "你无权执行此操作", @@ -988,6 +999,7 @@ "problem_authentication_session_invalid_desc": "请重新登录。", "problem_authentication_token_invalid_title": "API 令牌无效", "problem_authentication_unknown_error_title": "认证失败", + "problem_authorization_origin_not_trusted_title": "无法在此网站上执行此操作", "problem_authorization_policy_not_met_title": "你无权执行此操作", "problem_authorization_token_only_title": "此操作需要 API 令牌", "problem_authorization_token_permission_missing_title": "此 API 令牌缺少必需的权限", @@ -1012,6 +1024,8 @@ "problem_login_invalid_credentials_title": "用户名或密码错误", "problem_login_invalid_domain_title": "不允许从此地址登录", "problem_o_auth_connection_already_exists_title": "你的账号已关联此服务", + "problem_o_auth_connection_last_login_method_title": "这是你唯一的登录方式", + "problem_o_auth_connection_last_login_method_desc": "断开连接前请先设置密码。", "problem_o_auth_connection_already_linked_title": "此外部账号已关联到其他用户", "problem_o_auth_flow_anonymous_only_title": "你已经登录", "problem_o_auth_flow_mismatch_title": "登录请求不匹配", diff --git a/messages/zh-Hant.json b/messages/zh-Hant.json index 60eaecfe..d342b32f 100644 --- a/messages/zh-Hant.json +++ b/messages/zh-Hant.json @@ -66,11 +66,23 @@ "auth_activate_breadcrumb": "啟用帳號", "auth_activate_title": "啟用帳號", - "auth_activate_activating": "正在啟用你的帳號...", - "auth_activate_success": "你的帳號已啟用", - "auth_activate_failed": "此啟用連結無效或已過期", - "auth_activate_missing_token": "缺少啟用權杖", - "auth_activate_continue": "繼續登入", + "auth_activate_loading": "正在檢查你的註冊...", + "auth_activate_description": "我們已將啟用碼寄到
{{email}}
。輸入後即可建立帳號。", + "auth_activate_code_label": "啟用碼", + "auth_activate_code_hint": "啟用碼一小時內有效。如果沒有收到,請檢查垃圾郵件資料夾。", + "auth_activate_code_invalid_other": "啟用碼不正確。還剩 {{count}} 次機會。", + "auth_activate_code_expired": "此啟用碼已過期或輸入錯誤次數過多。請重新索取。", + "auth_activate_submit": "建立帳號", + "auth_activate_resend": "寄送新的啟用碼", + "auth_activate_resend_in": "{{time}} 後可寄送新的啟用碼", + "auth_activate_resend_sent": "新的啟用碼已寄出。先前寄送的啟用碼將失效。", + "auth_activate_resend_exhausted": "今天無法再寄送啟用碼。請明天再試。", + "auth_activate_none": "此瀏覽器中沒有等待啟用碼的註冊。使用註冊時的密碼或服務登入即可在此取得新的啟用碼,或重新註冊。", + "auth_activate_gone": "在你的註冊等待期間,該電子郵件或使用者名稱已被使用。請重新註冊。", + "auth_activate_load_failed": "無法檢查你的註冊。請再試一次。", + "auth_activate_retry": "再試一次", + "auth_activate_sign_in": "登入", + "auth_activate_sign_up": "註冊", "auth_activate_toast_success": "帳號已啟用", "auth_forgot_breadcrumb": "忘記密碼", @@ -88,9 +100,8 @@ "auth_login_loading_methods": "正在載入可用的登入方式", "auth_login_choose_method": "使用下列其中一種方式登入", "auth_login_with_account": "使用你的 OpenShock 帳號登入", - "auth_login_activation_after_signup": "你的帳號已建立。我們已將啟用連結寄到你的電子郵件,請檢查收件匣和垃圾郵件資料夾。", - "auth_login_activation_pending": "你的帳號尚未啟用。我們已將啟用連結寄到你的電子郵件,請檢查收件匣和垃圾郵件資料夾。如果沒有收到,請稍後再登入一次以取得新的連結。", "auth_login_oauth_only": "此帳號沒有密碼。請使用註冊時的服務登入。", + "auth_login_not_activated": "此帳號尚未啟用,且無法透過登入啟用。請聯絡客服為你啟用。", "auth_login_oauth_only_with_buttons": "此帳號沒有密碼。請使用上方按鈕,以註冊時的服務登入。", "auth_login_or_continue_with": "或使用以下方式繼續", "auth_login_username_label": "使用者名稱或電子郵件", @@ -102,6 +113,9 @@ "auth_oauth_create_breadcrumb": "使用 {{provider}} 註冊", "auth_oauth_create_title": "使用 {{provider}} 註冊", "auth_oauth_create_description": "完成你的帳號資料", + "auth_oauth_create_pending": "你已經用此帳號開始註冊。我們已將新的啟用碼寄到你填寫的地址。", + "auth_oauth_create_pending_enter_code": "輸入啟用碼", + "auth_oauth_create_pending_correct": "地址填錯了嗎?請在下方更正並送出,啟用碼就會改寄到新地址。", "auth_oauth_create_username_label": "使用者名稱", "auth_oauth_create_username_placeholder": "使用者名稱", "auth_oauth_create_email_label": "電子郵件", @@ -127,11 +141,8 @@ "auth_reset_toast_success": "密碼已重設", "auth_signup_breadcrumb": "註冊", - "auth_signup_toast_created_mail": "帳號建立成功。請檢查你的電子郵件以驗證帳號。", "auth_signup_toast_created_no_mail": "帳號建立成功。你現在可以登入了。", "auth_signup_dialog_title": "歡迎!感謝你的註冊!❤️", - "auth_signup_dialog_created_mail": "你的帳號已建立。🎉 請檢查你的電子郵件以驗證帳號。", - "auth_signup_dialog_verify_then_login": "驗證電子郵件後,即可登入你的帳號。", "auth_signup_dialog_created_no_mail": "你的帳號已建立,可以開始使用了。🎉", "auth_signup_dialog_login_now": "你現在可以登入你的帳號了。", "auth_signup_title": "建立你的帳號", @@ -161,6 +172,7 @@ "auth_verify_missing_token": "缺少驗證權杖", "auth_verify_continue": "繼續登入", "auth_verify_toast_success": "電子郵件已驗證", + "auth_verify_in_use": "此電子郵件已被使用", "common_cancel": "取消", "common_delete": "刪除", @@ -899,10 +911,6 @@ "report_submit": "送出回報", "turnstile_disabled": "Turnstile 已停用", "common_internal_error": "內部錯誤", - "resend_toast_sent": "已寄出啟用信,請檢查收件匣和垃圾郵件資料夾。", - "resend_toast_throttled": "要求的啟用信次數過多,請稍後再試。", - "resend_toast_unavailable": "無法從此瀏覽器重新寄送啟用信。如果你的帳號尚未啟用,登入時會寄送新的連結。", - "resend_button": "沒收到信嗎?重新寄送", "expiration_label": "到期時間", "expiration_never": "永不", "expiration_custom": "自訂", @@ -942,13 +950,16 @@ "terminal_toast_app_mode_failed": "無法進入應用程式模式:{{error}}", "problem_account_account_not_activated_title": "帳號尚未啟用", - "problem_account_account_not_activated_desc": "請檢查收件匣中的啟用信。", - "problem_account_activation_not_found_title": "啟用連結無效", - "problem_account_activation_not_found_desc": "連結可能已過期或已被使用。", + "problem_account_account_not_activated_desc": "請在收件匣中查看啟用碼。", + "problem_account_activation_code_expired_title": "啟用碼已過期", + "problem_account_activation_code_expired_desc": "請重新索取。", + "problem_account_activation_code_invalid_title": "啟用碼不正確", + "problem_account_activation_not_found_title": "此瀏覽器中沒有待完成的註冊", + "problem_account_activation_not_found_desc": "使用註冊資訊登入以取得新的啟用碼,或重新註冊。", "problem_account_activation_resend_too_many_title": "要求的啟用信次數過多", "problem_account_activation_resend_too_many_desc": "請稍候一段時間再試。", - "problem_account_activation_resend_unavailable_title": "無法重新寄送啟用信", - "problem_account_activation_resend_unavailable_desc": "請重新登入以要求新的啟用連結。", + "problem_account_activation_resend_unavailable_title": "無法寄送新的啟用碼", + "problem_account_activation_resend_unavailable_desc": "使用註冊資訊登入以取得新的啟用碼。", "problem_account_deactivate_already_deactivated_title": "帳號已停用", "problem_account_deactivate_denied_privileged_title": "無法停用特權帳號", "problem_account_deactivate_unauthorized_title": "你沒有權限執行此操作", @@ -988,6 +999,7 @@ "problem_authentication_session_invalid_desc": "請重新登入。", "problem_authentication_token_invalid_title": "API 權杖無效", "problem_authentication_unknown_error_title": "驗證失敗", + "problem_authorization_origin_not_trusted_title": "無法在此網站上執行此操作", "problem_authorization_policy_not_met_title": "你沒有權限執行此操作", "problem_authorization_token_only_title": "此操作需要 API 權杖", "problem_authorization_token_permission_missing_title": "此 API 權杖缺少必要的權限", @@ -1012,6 +1024,8 @@ "problem_login_invalid_credentials_title": "使用者名稱或密碼錯誤", "problem_login_invalid_domain_title": "不允許從此位址登入", "problem_o_auth_connection_already_exists_title": "你的帳號已連結到此服務", + "problem_o_auth_connection_last_login_method_title": "這是你唯一的登入方式", + "problem_o_auth_connection_last_login_method_desc": "中斷連結前請先設定密碼。", "problem_o_auth_connection_already_linked_title": "此外部帳號已連結到其他使用者", "problem_o_auth_flow_anonymous_only_title": "你已經登入了", "problem_o_auth_flow_mismatch_title": "登入嘗試不符", diff --git a/src/lib/api/internal/generated/index.ts b/src/lib/api/internal/generated/index.ts index 958c5b3d..e593520d 100644 --- a/src/lib/api/internal/generated/index.ts +++ b/src/lib/api/internal/generated/index.ts @@ -3,8 +3,7 @@ export { accountActivate, accountCheckUsername, - accountEmailVerify, - accountEmailVerifyLegacy, + accountGetPendingActivation, accountLoginV2, accountLogout, accountPasswordResetCheckValid, @@ -56,6 +55,8 @@ export { authenticatedAccountChangePassword, authenticatedAccountChangeUsername, authenticatedAccountDeactivate, + authenticatedAccountEmailVerify, + authenticatedAccountEmailVerifyLegacy, authenticatedAccountGetAuditLog, authenticatedAccountGetProfile, authenticatedAccountGetSelf, @@ -161,14 +162,11 @@ export { type AccountCheckUsernameData, type AccountCheckUsernameResponse, type AccountCheckUsernameResponses, - type AccountEmailVerifyData, - type AccountEmailVerifyError, - type AccountEmailVerifyErrors, - type AccountEmailVerifyLegacyData, - type AccountEmailVerifyLegacyError, - type AccountEmailVerifyLegacyErrors, - type AccountEmailVerifyLegacyResponses, - type AccountEmailVerifyResponses, + type AccountGetPendingActivationData, + type AccountGetPendingActivationError, + type AccountGetPendingActivationErrors, + type AccountGetPendingActivationResponse, + type AccountGetPendingActivationResponses, type AccountLoginV2Data, type AccountLoginV2Error, type AccountLoginV2Errors, @@ -198,6 +196,7 @@ export { type AccountSignUpV2Error, type AccountSignUpV2Errors, type AccountSignUpV2Responses, + type ActivateRequest, type AddEmailProviderBlacklistDto, type AddEmailProviderBlacklistResultDto, type AddUsernameBlacklistDto, @@ -364,7 +363,6 @@ export { type AdminUserViewNameChange, type AdminUserViewPasswordReset, type AdminUserViewShocker, - type AdminUserViewUserActivationRequest, type AdminUserViewUserDeactivation, type AdminUserViewUserRef, type AdminUsersView, @@ -401,6 +399,14 @@ export { type AuthenticatedAccountDeactivateErrors, type AuthenticatedAccountDeactivateResponse, type AuthenticatedAccountDeactivateResponses, + type AuthenticatedAccountEmailVerifyData, + type AuthenticatedAccountEmailVerifyError, + type AuthenticatedAccountEmailVerifyErrors, + type AuthenticatedAccountEmailVerifyLegacyData, + type AuthenticatedAccountEmailVerifyLegacyError, + type AuthenticatedAccountEmailVerifyLegacyErrors, + type AuthenticatedAccountEmailVerifyLegacyResponses, + type AuthenticatedAccountEmailVerifyResponses, type AuthenticatedAccountGetAuditLogData, type AuthenticatedAccountGetAuditLogResponse, type AuthenticatedAccountGetAuditLogResponses, @@ -573,6 +579,7 @@ export { type PauseRequest, type PauseUserShareShockersRequest, type PauseUserShareShockersResponse, + type PendingActivationResponse, type ProblemDetails, type PublicGetOnlineDevicesStatisticsData, type PublicGetOnlineDevicesStatisticsResponse, diff --git a/src/lib/api/internal/generated/sdk.gen.ts b/src/lib/api/internal/generated/sdk.gen.ts index 209ed050..9307942f 100644 --- a/src/lib/api/internal/generated/sdk.gen.ts +++ b/src/lib/api/internal/generated/sdk.gen.ts @@ -3,6 +3,7 @@ import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client'; import { client } from './client.gen'; import { + accountGetPendingActivationResponseTransformer, adminConfigurationListResponseTransformer, adminCreateAutomationTokenResponseTransformer, adminGetAdminAuditLogResponseTransformer, @@ -57,12 +58,9 @@ import type { AccountActivateResponses, AccountCheckUsernameData, AccountCheckUsernameResponses, - AccountEmailVerifyData, - AccountEmailVerifyErrors, - AccountEmailVerifyLegacyData, - AccountEmailVerifyLegacyErrors, - AccountEmailVerifyLegacyResponses, - AccountEmailVerifyResponses, + AccountGetPendingActivationData, + AccountGetPendingActivationErrors, + AccountGetPendingActivationResponses, AccountLoginV2Data, AccountLoginV2Errors, AccountLoginV2Responses, @@ -209,6 +207,12 @@ import type { AuthenticatedAccountDeactivateData, AuthenticatedAccountDeactivateErrors, AuthenticatedAccountDeactivateResponses, + AuthenticatedAccountEmailVerifyData, + AuthenticatedAccountEmailVerifyErrors, + AuthenticatedAccountEmailVerifyLegacyData, + AuthenticatedAccountEmailVerifyLegacyErrors, + AuthenticatedAccountEmailVerifyLegacyResponses, + AuthenticatedAccountEmailVerifyResponses, AuthenticatedAccountGetAuditLogData, AuthenticatedAccountGetAuditLogResponses, AuthenticatedAccountGetProfileData, @@ -1627,52 +1631,6 @@ export const integrationsGetControlStatChanges = ( - options?: Options -): RequestResult< - DeviceGetLiveControlGatewayV2Responses, - DeviceGetLiveControlGatewayV2Errors, - ThrowOnError, - 'data' -> => - (options?.client ?? client).get< - DeviceGetLiveControlGatewayV2Responses, - DeviceGetLiveControlGatewayV2Errors, - ThrowOnError, - 'data' - >({ - responseStyle: 'data', - url: '/2/device/assignLCG', - ...options, - }); - -/** - * Gets information about the authenticated device. - */ -export const deviceGetSelf = ( - options?: Options -): RequestResult => - (options?.client ?? client).get({ - responseStyle: 'data', - url: '/1/device/self', - ...options, - }); - -/** - * Pair a device with a pair code. - */ -export const devicePair = ( - options: Options -): RequestResult => - (options.client ?? client).get({ - responseStyle: 'data', - url: '/1/device/pair/{pairCode}', - ...options, - }); - /** * Gets the OTA update history for a device */ @@ -1861,6 +1819,52 @@ export const devicesGetShockers = ( ...options, }); +/** + * Gets the best suited LCG node for the client + */ +export const deviceGetLiveControlGatewayV2 = ( + options?: Options +): RequestResult< + DeviceGetLiveControlGatewayV2Responses, + DeviceGetLiveControlGatewayV2Errors, + ThrowOnError, + 'data' +> => + (options?.client ?? client).get< + DeviceGetLiveControlGatewayV2Responses, + DeviceGetLiveControlGatewayV2Errors, + ThrowOnError, + 'data' + >({ + responseStyle: 'data', + url: '/2/device/assignLCG', + ...options, + }); + +/** + * Gets information about the authenticated device. + */ +export const deviceGetSelf = ( + options?: Options +): RequestResult => + (options?.client ?? client).get({ + responseStyle: 'data', + url: '/1/device/self', + ...options, + }); + +/** + * Pair a device with a pair code. + */ +export const devicePair = ( + options: Options +): RequestResult => + (options.client ?? client).get({ + responseStyle: 'data', + url: '/1/device/pair/{pairCode}', + ...options, + }); + /** * Lists all automation tokens */ @@ -2711,12 +2715,44 @@ export const adminRemoveWebhook = ( }); /** - * Activate account + * The signup this browser holds and can complete, if any + * + * The cookie that marks a browser as holding a signup is not readable by script, so this is how a + * frontend finds out whether to offer the code form, which address the code went to, and whether a + * new code can be requested yet. + */ +export const accountGetPendingActivation = ( + options?: Options +): RequestResult< + AccountGetPendingActivationResponses, + AccountGetPendingActivationErrors, + ThrowOnError, + 'data' +> => + (options?.client ?? client).get< + AccountGetPendingActivationResponses, + AccountGetPendingActivationErrors, + ThrowOnError, + 'data' + >({ + responseTransformer: accountGetPendingActivationResponseTransformer, + responseStyle: 'data', + url: '/1/account/activate', + ...options, + }); + +/** + * Complete the signup this browser holds with the code mailed to its address + * + * The signup is identified by a cookie, set when the signup was started and again when its password or + * linked provider is used to sign in. The code only works together with it: anyone can sign up with + * somebody else's address, so the mail alone proves nothing about who chose the account's credential. + * The account is created by this call. It does not sign in. */ export const accountActivate = ( - options?: Options + options: Options ): RequestResult => - (options?.client ?? client).post< + (options.client ?? client).post< AccountActivateResponses, AccountActivateErrors, ThrowOnError, @@ -2725,6 +2761,10 @@ export const accountActivate = ( responseStyle: 'data', url: '/1/account/activate', ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers, + }, }); /** @@ -2848,10 +2888,11 @@ export const accountPasswordResetInitiateV2 = ( options?: Options @@ -2874,6 +2915,9 @@ export const accountResendActivation = ( /** * Signs up a new user + * + * Mails an activation code to the address. The account is created once that code is entered in this + * browser, see POST /1/account/activate. */ export const accountSignUpV2 = ( options: Options @@ -2893,47 +2937,6 @@ export const accountSignUpV2 = ( }, }); -/** - * Verify a pending email change using the token from the verification email. - */ -export const accountEmailVerify = ( - options?: Options -): RequestResult => - (options?.client ?? client).post< - AccountEmailVerifyResponses, - AccountEmailVerifyErrors, - ThrowOnError, - 'data' - >({ - responseStyle: 'data', - url: '/1/account/email-change/verify', - ...options, - }); - -/** - * Verify a pending email change. Deprecated: use POST /email-change/verify instead. - * - * @deprecated - */ -export const accountEmailVerifyLegacy = ( - options?: Options -): RequestResult< - AccountEmailVerifyLegacyResponses, - AccountEmailVerifyLegacyErrors, - ThrowOnError, - 'data' -> => - (options?.client ?? client).post< - AccountEmailVerifyLegacyResponses, - AccountEmailVerifyLegacyErrors, - ThrowOnError, - 'data' - >({ - responseStyle: 'data', - url: '/1/account/verify-email', - ...options, - }); - /** * Initiate an email change for the current user. A verification link is sent to the new * address; the change is not applied until that link is opened. @@ -3157,3 +3160,53 @@ export const authenticatedAccountUpdateProfile = ( + options?: Options +): RequestResult< + AuthenticatedAccountEmailVerifyResponses, + AuthenticatedAccountEmailVerifyErrors, + ThrowOnError, + 'data' +> => + (options?.client ?? client).post< + AuthenticatedAccountEmailVerifyResponses, + AuthenticatedAccountEmailVerifyErrors, + ThrowOnError, + 'data' + >({ + responseStyle: 'data', + url: '/1/account/email-change/verify', + ...options, + }); + +/** + * Verify a pending email change of the current user. Deprecated: use POST /email-change/verify instead. + * + * @deprecated + */ +export const authenticatedAccountEmailVerifyLegacy = ( + options?: Options +): RequestResult< + AuthenticatedAccountEmailVerifyLegacyResponses, + AuthenticatedAccountEmailVerifyLegacyErrors, + ThrowOnError, + 'data' +> => + (options?.client ?? client).post< + AuthenticatedAccountEmailVerifyLegacyResponses, + AuthenticatedAccountEmailVerifyLegacyErrors, + ThrowOnError, + 'data' + >({ + responseStyle: 'data', + url: '/1/account/verify-email', + ...options, + }); diff --git a/src/lib/api/internal/generated/transformers.gen.ts b/src/lib/api/internal/generated/transformers.gen.ts index fcb7927e..83a13013 100644 --- a/src/lib/api/internal/generated/transformers.gen.ts +++ b/src/lib/api/internal/generated/transformers.gen.ts @@ -3,6 +3,7 @@ import { Temporal } from 'temporal-polyfill'; import type { + AccountGetPendingActivationResponse, AdminConfigurationListResponse, AdminCreateAutomationTokenResponse, AdminGetAdminAuditLogResponse, @@ -597,11 +598,6 @@ export const adminConfigurationListResponseTransformer = async ( return data; }; -const adminUserViewUserActivationRequestSchemaResponseTransformer = (data: any) => { - data.createdAt = Temporal.Instant.from(data.createdAt); - return data; -}; - const adminUserViewUserDeactivationSchemaResponseTransformer = (data: any) => { if (data.scheduledDeletionTime) { data.scheduledDeletionTime = Temporal.Instant.from(data.scheduledDeletionTime); @@ -660,11 +656,6 @@ const adminUserViewSchemaResponseTransformer = (data: any) => { if (data.activatedAt) { data.activatedAt = Temporal.Instant.from(data.activatedAt); } - if (data.activationRequest) { - data.activationRequest = adminUserViewUserActivationRequestSchemaResponseTransformer( - data.activationRequest - ); - } if (data.deactivation) { data.deactivation = adminUserViewUserDeactivationSchemaResponseTransformer(data.deactivation); } @@ -842,6 +833,18 @@ export const adminListWebhooksResponseTransformer = async ( return data; }; +const pendingActivationResponseSchemaResponseTransformer = (data: any) => { + data.resendAvailableAt = Temporal.Instant.from(data.resendAvailableAt); + return data; +}; + +export const accountGetPendingActivationResponseTransformer = async ( + data: any +): Promise => { + data = pendingActivationResponseSchemaResponseTransformer(data); + return data; +}; + export const authenticatedAccountGetAuditLogResponseTransformer = async ( data: any ): Promise => { diff --git a/src/lib/api/internal/generated/types.gen.ts b/src/lib/api/internal/generated/types.gen.ts index a7e7a4c8..b249ea03 100644 --- a/src/lib/api/internal/generated/types.gen.ts +++ b/src/lib/api/internal/generated/types.gen.ts @@ -7,6 +7,13 @@ export type ClientOptions = { 'https://api.openshock.app' | 'https://api.openshock.dev' | 'https://localhost' | (string & {}); }; +export type ActivateRequest = { + /** + * The code from the activation email. Case and the dash do not matter. + */ + code: string; +}; + export type AddEmailProviderBlacklistDto = { /** * Domains to blacklist. Full email addresses are accepted too and contribute their domain; blank entries are @@ -84,28 +91,6 @@ export type AdminOnlineGatewayResponse = { connectedHubs: number; }; -export type AdminUsersView = { - id: string; - name: string; - email: string; - passwordHashType: null | PasswordHashingAlgorithm; - roles: Array; - createdAt: Temporal.Instant; - activatedAt: null | Temporal.Instant; - createdByAutomationTokenId: null | string; - deactivatedAt: null | Temporal.Instant; - deactivatedByUserId: null | string; - apiTokenCount: number; - passwordResetCount: number; - shockerUserShareCount: number; - shockerPublicShareCount: number; - emailChangeRequestCount: number; - nameChangeRequestCount: number; - deviceCount: number; - shockerCount: number; - shockerControlLogCount: number; -}; - export type AdminUserView = { id: string; name: string; @@ -115,7 +100,6 @@ export type AdminUserView = { createdAt: Temporal.Instant; activatedAt: null | Temporal.Instant; createdByAutomationTokenId: null | string; - activationRequest: null | AdminUserViewUserActivationRequest; deactivation: null | AdminUserViewUserDeactivation; hubs: Array; apiTokens: Array; @@ -172,11 +156,6 @@ export type AdminUserViewShocker = { createdAt: Temporal.Instant; }; -export type AdminUserViewUserActivationRequest = { - emailSendAttempts: number; - createdAt: Temporal.Instant; -}; - export type AdminUserViewUserDeactivation = { deactivatedBy: AdminUserViewUserRef; scheduledDeletionTime: null | Temporal.Instant; @@ -188,6 +167,28 @@ export type AdminUserViewUserRef = { name: string; }; +export type AdminUsersView = { + id: string; + name: string; + email: string; + passwordHashType: null | PasswordHashingAlgorithm; + roles: Array; + createdAt: Temporal.Instant; + activatedAt: null | Temporal.Instant; + createdByAutomationTokenId: null | string; + deactivatedAt: null | Temporal.Instant; + deactivatedByUserId: null | string; + apiTokenCount: number; + passwordResetCount: number; + shockerUserShareCount: number; + shockerPublicShareCount: number; + emailChangeRequestCount: number; + nameChangeRequestCount: number; + deviceCount: number; + shockerCount: number; + shockerControlLogCount: number; +}; + export const AuditAction = { Login: 'Login', Logout: 'Logout', @@ -337,17 +338,17 @@ export type AuditMetadataAutomationTokenUsedMetadata = { flow: string; }; +export type AuditMetadataEmailChangeRequestedMetadata = { + t?: 'emailChangeRequested'; + newEmail: string; +}; + export type AuditMetadataEmailChangedMetadata = { t?: 'emailChanged'; old: string; new: string; }; -export type AuditMetadataEmailChangeRequestedMetadata = { - t?: 'emailChangeRequested'; - newEmail: string; -}; - export type AuditMetadataLoginMetadata = { t?: 'login'; sessionId: string; @@ -577,17 +578,6 @@ export type ControlStatChangesResponse = { users: Array; }; -export type ControlStatsResponse = { - /** - * Activity on shockers you own. - */ - received: ReceivedControlStats; - /** - * Activity you sent to shockers, your own included. - */ - given: GivenControlStats; -}; - /** * Aggregated activity of one control type, split by whether it was live control. */ @@ -606,6 +596,17 @@ export type ControlStatTotals = { maxIntensity: number; }; +export type ControlStatsResponse = { + /** + * Activity on shockers you own. + */ + received: ReceivedControlStats; + /** + * Activity you sent to shockers, your own included. + */ + given: GivenControlStats; +}; + export const ControlType = { Stop: 'Stop', Shock: 'Shock', @@ -626,17 +627,6 @@ export type CreateAutomationTokenDto = { autoCleanupAfter?: null | string; }; -export type CreatedAutomationTokenDto = { - id: string; - name: string; - secret: string; - types: Array; - createdAt: Temporal.Instant; - lastRotatedAt?: null | Temporal.Instant; - autoCleanupUsers?: boolean; - autoCleanupAfter?: null | string; -}; - export type CreateShareRequest = { shockers: Array; user?: null | string; @@ -647,11 +637,22 @@ export type CreateTokenRequestV2 = { name: string; permissions: Array; /** - * Per-token shocker control configuration. When omitted, the permissive default is used. + * Per-token shocker control configuration. Required: a request without it is rejected. */ shockerControl: ShockerControlSettings; }; +export type CreatedAutomationTokenDto = { + id: string; + name: string; + secret: string; + types: Array; + createdAt: Temporal.Instant; + lastRotatedAt?: null | Temporal.Instant; + autoCleanupUsers?: boolean; + autoCleanupAfter?: null | string; +}; + export type DailyControlStats = { /** * Day in the requested time zone. @@ -696,7 +697,7 @@ export type EditTokenRequestV2 = { name: string; permissions: Array; /** - * Per-token shocker control configuration. When omitted, the permissive default is used. + * Per-token shocker control configuration. Required: a request without it is rejected. */ shockerControl: ShockerControlSettings; }; @@ -876,14 +877,14 @@ export type LegacyDataResponseOfArrayOfLogEntry = { data: Array; }; -export type LegacyDataResponseOfArrayOfOwnerShockerResponse = { +export type LegacyDataResponseOfArrayOfOwnPublicShareResponse = { message: string; - data: Array; + data: Array; }; -export type LegacyDataResponseOfArrayOfOwnPublicShareResponse = { +export type LegacyDataResponseOfArrayOfOwnerShockerResponse = { message: string; - data: Array; + data: Array; }; export type LegacyDataResponseOfArrayOfShareCodeInfo = { @@ -906,11 +907,6 @@ export type LegacyDataResponseOfBackendInfoResponse = { data: BackendInfoResponse; }; -export type LegacyDataResponseOfboolean = { - message: string; - data: boolean; -}; - export type LegacyDataResponseOfDeviceSelfResponse = { message: string; data: DeviceSelfResponse; @@ -973,6 +969,11 @@ export type LegacyDataResponseOfStatsResponse = { data: StatsResponse; }; +export type LegacyDataResponseOfboolean = { + message: string; + data: boolean; +}; + export type LegacyDataResponseOfstring = { message: string; data: string; @@ -1115,13 +1116,6 @@ export const OtaUpdateStatus = { export type OtaUpdateStatus = (typeof OtaUpdateStatus)[keyof typeof OtaUpdateStatus]; -export type OwnerShockerResponse = { - id: string; - name: string; - image: string; - devices: Array; -}; - export type OwnPublicShareResponse = { id: string; name: string; @@ -1139,6 +1133,13 @@ export type OwnUserProfileResponse = { defaultPublicShareId: null | string; }; +export type OwnerShockerResponse = { + id: string; + name: string; + image: string; + devices: Array; +}; + /** * Page of results for a paginated list endpoint. */ @@ -1246,6 +1247,22 @@ export type PauseUserShareShockersResponse = { }; }; +export type PendingActivationResponse = { + /** + * The address the code was mailed to. + */ + email: string; + username: string; + /** + * When a new code can be requested. In the past when one can be requested now. + */ + resendAvailableAt: Temporal.Instant; + /** + * How many more codes can be requested today. At zero a resend is refused whatever the time. + */ + resendsRemaining: number; +}; + export const PermissionType = { ShockersUse: 'shockers.use', ShockersEdit: 'shockers.edit', @@ -1454,20 +1471,6 @@ export type ShareCodeInfo = { createdOn: Temporal.Instant; }; -export type SharedDevice = { - id: string; - name: string; - shockers: Array; -}; - -export type SharedShocker = { - id: string; - name: string; - isPaused: boolean; - permissions: ShockerPermissions; - limits: ShockerLimits; -}; - export type ShareInfo = { sharedWith: BasicUserInfo; createdOn: Temporal.Instant; @@ -1484,6 +1487,20 @@ export type ShareInviteBaseDetails = { sharedWith: null | BasicUserInfo; }; +export type SharedDevice = { + id: string; + name: string; + shockers: Array; +}; + +export type SharedShocker = { + id: string; + name: string; + isPaused: boolean; + permissions: ShockerPermissions; + limits: ShockerLimits; +}; + /** * Per-token shocker control configuration: a toggle plus min/max limits for intensity and duration. */ @@ -1522,13 +1539,6 @@ export const ShockerModelType = { export type ShockerModelType = (typeof ShockerModelType)[keyof typeof ShockerModelType]; -export type ShockerPermissions = { - vibrate: boolean; - sound: boolean; - shock: boolean; - live?: boolean; -}; - export type ShockerPermLimitPair = { permissions: ShockerPermissions; limits: ShockerLimits; @@ -1547,6 +1557,13 @@ export type ShockerPermLimitPairWithIdAndName = { limits: ShockerLimits; }; +export type ShockerPermissions = { + vibrate: boolean; + sound: boolean; + shock: boolean; + live?: boolean; +}; + export type ShockerResponse = { name: string; isPaused: boolean; @@ -1638,15 +1655,6 @@ export type TokenResponseV2 = { shockerControl: ShockerControlSettings; }; -export type UserControlStats = { - /** - * Null for guests (public shares). - */ - userId: null | string; - user: null | BasicUserInfo; - stats: Array; -}; - /** * Lifetime totals of one user, the same views as ControlStatsResponse without breakdowns. */ @@ -1662,13 +1670,14 @@ export type UserControlStatTotals = { given: Array; }; -export const UsernameAvailability = { - Available: 'Available', - Taken: 'Taken', - Invalid: 'Invalid', -} as const; - -export type UsernameAvailability = (typeof UsernameAvailability)[keyof typeof UsernameAvailability]; +export type UserControlStats = { + /** + * Null for guests (public shares). + */ + userId: null | string; + user: null | BasicUserInfo; + stats: Array; +}; export type UserNameBlacklistDto = { id: string; @@ -1677,27 +1686,6 @@ export type UserNameBlacklistDto = { createdAt: Temporal.Instant; }; -export type UsernameCheckResponse = { - availability: UsernameAvailability; - error?: null | UsernameError; -}; - -export type UsernameError = { - message: string; - type: UsernameErrorType; -}; - -export const UsernameErrorType = { - TooShort: 'TooShort', - TooLong: 'TooLong', - StartOrEndWithWhitespace: 'StartOrEndWithWhitespace', - ResembleEmail: 'ResembleEmail', - ObnoxiousCharacters: 'ObnoxiousCharacters', - Blacklisted: 'Blacklisted', -} as const; - -export type UsernameErrorType = (typeof UsernameErrorType)[keyof typeof UsernameErrorType]; - export type UserPatchDto = { name?: null | string; email?: null | string; @@ -1752,6 +1740,35 @@ export type UserShareInfo = { paused: number; }; +export const UsernameAvailability = { + Available: 'Available', + Taken: 'Taken', + Invalid: 'Invalid', +} as const; + +export type UsernameAvailability = (typeof UsernameAvailability)[keyof typeof UsernameAvailability]; + +export type UsernameCheckResponse = { + availability: UsernameAvailability; + error?: null | UsernameError; +}; + +export type UsernameError = { + message: string; + type: UsernameErrorType; +}; + +export const UsernameErrorType = { + TooShort: 'TooShort', + TooLong: 'TooLong', + StartOrEndWithWhitespace: 'StartOrEndWithWhitespace', + ResembleEmail: 'ResembleEmail', + ObnoxiousCharacters: 'ObnoxiousCharacters', + Blacklisted: 'Blacklisted', +} as const; + +export type UsernameErrorType = (typeof UsernameErrorType)[keyof typeof UsernameErrorType]; + export type V2UserShares = { outgoing: Array; incoming: Array; @@ -3318,131 +3335,52 @@ export type PublicUnlockPublicShareErrors = { /** * The public share does not exist. */ - 404: OpenShockProblem; - /** - * Too many incorrect passwords were entered for this public share. - */ - 429: OpenShockProblem; -}; - -export type PublicUnlockPublicShareError = - PublicUnlockPublicShareErrors[keyof PublicUnlockPublicShareErrors]; - -export type PublicUnlockPublicShareResponses = { - /** - * The password was correct. - */ - 200: PublicShareUnlockResponse; -}; - -export type PublicUnlockPublicShareResponse = - PublicUnlockPublicShareResponses[keyof PublicUnlockPublicShareResponses]; - -export type IntegrationsGetControlStatChangesData = { - body: ControlStatChangesRequest; - path?: never; - query?: never; - url: '/1/integrations/control-stats/changes'; -}; - -export type IntegrationsGetControlStatChangesErrors = { - /** - * No automation token granting ControlStatsRead was presented. - */ - 403: OpenShockProblem; -}; - -export type IntegrationsGetControlStatChangesError = - IntegrationsGetControlStatChangesErrors[keyof IntegrationsGetControlStatChangesErrors]; - -export type IntegrationsGetControlStatChangesResponses = { - /** - * The changed users' totals and the cursor to pass next time. - */ - 200: ControlStatChangesResponse; -}; - -export type IntegrationsGetControlStatChangesResponse = - IntegrationsGetControlStatChangesResponses[keyof IntegrationsGetControlStatChangesResponses]; - -export type DeviceGetLiveControlGatewayV2Data = { - body?: never; - path?: never; - query?: { - version?: number; - }; - url: '/2/device/assignLCG'; -}; - -export type DeviceGetLiveControlGatewayV2Errors = { - /** - * Bad Request - */ - 400: OpenShockProblem; - /** - * Unable to find suitable LCG node - */ - 503: OpenShockProblem; -}; - -export type DeviceGetLiveControlGatewayV2Error = - DeviceGetLiveControlGatewayV2Errors[keyof DeviceGetLiveControlGatewayV2Errors]; - -export type DeviceGetLiveControlGatewayV2Responses = { - /** - * Successfully assigned LCG node - */ - 200: LcgNodeResponseV2; -}; - -export type DeviceGetLiveControlGatewayV2Response = - DeviceGetLiveControlGatewayV2Responses[keyof DeviceGetLiveControlGatewayV2Responses]; - -export type DeviceGetSelfData = { - body?: never; - path?: never; - query?: never; - url: '/1/device/self'; + 404: OpenShockProblem; + /** + * Too many incorrect passwords were entered for this public share. + */ + 429: OpenShockProblem; }; -export type DeviceGetSelfResponses = { +export type PublicUnlockPublicShareError = + PublicUnlockPublicShareErrors[keyof PublicUnlockPublicShareErrors]; + +export type PublicUnlockPublicShareResponses = { /** - * The device information was successfully retrieved. + * The password was correct. */ - 200: LegacyDataResponseOfDeviceSelfResponse; + 200: PublicShareUnlockResponse; }; -export type DeviceGetSelfResponse = DeviceGetSelfResponses[keyof DeviceGetSelfResponses]; +export type PublicUnlockPublicShareResponse = + PublicUnlockPublicShareResponses[keyof PublicUnlockPublicShareResponses]; -export type DevicePairData = { - body?: never; - path: { - /** - * The pair code to pair with. - */ - pairCode: string; - }; +export type IntegrationsGetControlStatChangesData = { + body: ControlStatChangesRequest; + path?: never; query?: never; - url: '/1/device/pair/{pairCode}'; + url: '/1/integrations/control-stats/changes'; }; -export type DevicePairErrors = { +export type IntegrationsGetControlStatChangesErrors = { /** - * No such pair code exists + * No automation token granting ControlStatsRead was presented. */ - 404: OpenShockProblem; + 403: OpenShockProblem; }; -export type DevicePairError = DevicePairErrors[keyof DevicePairErrors]; +export type IntegrationsGetControlStatChangesError = + IntegrationsGetControlStatChangesErrors[keyof IntegrationsGetControlStatChangesErrors]; -export type DevicePairResponses = { +export type IntegrationsGetControlStatChangesResponses = { /** - * Successfully assigned LCG node + * The changed users' totals and the cursor to pass next time. */ - 200: LegacyDataResponseOfstring; + 200: ControlStatChangesResponse; }; -export type DevicePairResponse = DevicePairResponses[keyof DevicePairResponses]; +export type IntegrationsGetControlStatChangesResponse = + IntegrationsGetControlStatChangesResponses[keyof IntegrationsGetControlStatChangesResponses]; export type DevicesOtaGetOtaUpdateHistoryData = { body?: never; @@ -3716,6 +3654,85 @@ export type DevicesGetShockersResponses = { export type DevicesGetShockersResponse = DevicesGetShockersResponses[keyof DevicesGetShockersResponses]; +export type DeviceGetLiveControlGatewayV2Data = { + body?: never; + path?: never; + query?: { + version?: number; + }; + url: '/2/device/assignLCG'; +}; + +export type DeviceGetLiveControlGatewayV2Errors = { + /** + * Bad Request + */ + 400: OpenShockProblem; + /** + * Unable to find suitable LCG node + */ + 503: OpenShockProblem; +}; + +export type DeviceGetLiveControlGatewayV2Error = + DeviceGetLiveControlGatewayV2Errors[keyof DeviceGetLiveControlGatewayV2Errors]; + +export type DeviceGetLiveControlGatewayV2Responses = { + /** + * Successfully assigned LCG node + */ + 200: LcgNodeResponseV2; +}; + +export type DeviceGetLiveControlGatewayV2Response = + DeviceGetLiveControlGatewayV2Responses[keyof DeviceGetLiveControlGatewayV2Responses]; + +export type DeviceGetSelfData = { + body?: never; + path?: never; + query?: never; + url: '/1/device/self'; +}; + +export type DeviceGetSelfResponses = { + /** + * The device information was successfully retrieved. + */ + 200: LegacyDataResponseOfDeviceSelfResponse; +}; + +export type DeviceGetSelfResponse = DeviceGetSelfResponses[keyof DeviceGetSelfResponses]; + +export type DevicePairData = { + body?: never; + path: { + /** + * The pair code to pair with. + */ + pairCode: string; + }; + query?: never; + url: '/1/device/pair/{pairCode}'; +}; + +export type DevicePairErrors = { + /** + * No such pair code exists + */ + 404: OpenShockProblem; +}; + +export type DevicePairError = DevicePairErrors[keyof DevicePairErrors]; + +export type DevicePairResponses = { + /** + * Successfully assigned LCG node + */ + 200: LegacyDataResponseOfstring; +}; + +export type DevicePairResponse = DevicePairResponses[keyof DevicePairResponses]; + export type AdminListAutomationTokensData = { body?: never; path?: never; @@ -4806,27 +4823,56 @@ export type AdminRemoveWebhookResponses = { 200: unknown; }; -export type AccountActivateData = { +export type AccountGetPendingActivationData = { body?: never; path?: never; - query?: { - token?: string; - }; + query?: never; + url: '/1/account/activate'; +}; + +export type AccountGetPendingActivationErrors = { + /** + * This browser holds no pending signup + */ + 400: OpenShockProblem; +}; + +export type AccountGetPendingActivationError = + AccountGetPendingActivationErrors[keyof AccountGetPendingActivationErrors]; + +export type AccountGetPendingActivationResponses = { + /** + * This browser holds a pending signup + */ + 200: PendingActivationResponse; +}; + +export type AccountGetPendingActivationResponse = + AccountGetPendingActivationResponses[keyof AccountGetPendingActivationResponses]; + +export type AccountActivateData = { + body: ActivateRequest; + path?: never; + query?: never; url: '/1/account/activate'; }; export type AccountActivateErrors = { /** - * Bad Request + * This browser holds no pending signup, the code is wrong, or it has expired */ 400: OpenShockProblem; + /** + * The email or username was taken while the signup was pending. The signup is gone: sign up again + */ + 409: OpenShockProblem; }; export type AccountActivateError = AccountActivateErrors[keyof AccountActivateErrors]; export type AccountActivateResponses = { /** - * OK + * Account created */ 200: unknown; }; @@ -4996,7 +5042,7 @@ export type AccountResendActivationData = { export type AccountResendActivationErrors = { /** - * No pending activation for this browser (missing/expired cookie, or already activated) + * No pending signup for this browser (missing/expired cookie, or already completed) */ 400: OpenShockProblem; /** @@ -5035,72 +5081,17 @@ export type AccountSignUpV2Errors = { * Conflict */ 409: OpenShockProblem; -}; - -export type AccountSignUpV2Error = AccountSignUpV2Errors[keyof AccountSignUpV2Errors]; - -export type AccountSignUpV2Responses = { - /** - * User successfully signed up - */ - 200: unknown; -}; - -export type AccountEmailVerifyData = { - body?: never; - path?: never; - query?: { - token?: string; - }; - url: '/1/account/email-change/verify'; -}; - -export type AccountEmailVerifyErrors = { - /** - * Token is invalid, already used, or the request has expired - */ - 400: OpenShockProblem; - /** - * The new email address was claimed by another account before verification completed - */ - 409: OpenShockProblem; -}; - -export type AccountEmailVerifyError = AccountEmailVerifyErrors[keyof AccountEmailVerifyErrors]; - -export type AccountEmailVerifyResponses = { - /** - * Email change verified and applied - */ - 200: unknown; -}; - -export type AccountEmailVerifyLegacyData = { - body?: never; - path?: never; - query?: { - token?: string; - }; - url: '/1/account/verify-email'; -}; - -export type AccountEmailVerifyLegacyErrors = { /** - * Token is invalid, already used, or the request has expired - */ - 400: OpenShockProblem; - /** - * The new email address was claimed by another account before verification completed + * The address was mailed too many activation codes already */ - 409: OpenShockProblem; + 429: OpenShockProblem; }; -export type AccountEmailVerifyLegacyError = - AccountEmailVerifyLegacyErrors[keyof AccountEmailVerifyLegacyErrors]; +export type AccountSignUpV2Error = AccountSignUpV2Errors[keyof AccountSignUpV2Errors]; -export type AccountEmailVerifyLegacyResponses = { +export type AccountSignUpV2Responses = { /** - * Email change verified and applied + * Signup started, activation code mailed */ 200: unknown; }; @@ -5307,6 +5298,10 @@ export type AuthenticatedAccountRemoveOAuthConnectionErrors = { * No connection found for this provider. */ 404: ProblemDetails; + /** + * The connection is the account's only way to sign in. + */ + 409: OpenShockProblem; }; export type AuthenticatedAccountRemoveOAuthConnectionError = @@ -5382,3 +5377,63 @@ export type AuthenticatedAccountUpdateProfileResponses = { export type AuthenticatedAccountUpdateProfileResponse = AuthenticatedAccountUpdateProfileResponses[keyof AuthenticatedAccountUpdateProfileResponses]; + +export type AuthenticatedAccountEmailVerifyData = { + body?: never; + path?: never; + query?: { + token?: string; + }; + url: '/1/account/email-change/verify'; +}; + +export type AuthenticatedAccountEmailVerifyErrors = { + /** + * Token is invalid, already used, expired, or belongs to another account + */ + 400: OpenShockProblem; + /** + * The new email address was claimed by another account before verification completed + */ + 409: OpenShockProblem; +}; + +export type AuthenticatedAccountEmailVerifyError = + AuthenticatedAccountEmailVerifyErrors[keyof AuthenticatedAccountEmailVerifyErrors]; + +export type AuthenticatedAccountEmailVerifyResponses = { + /** + * Email change verified and applied + */ + 200: unknown; +}; + +export type AuthenticatedAccountEmailVerifyLegacyData = { + body?: never; + path?: never; + query?: { + token?: string; + }; + url: '/1/account/verify-email'; +}; + +export type AuthenticatedAccountEmailVerifyLegacyErrors = { + /** + * Token is invalid, already used, expired, or belongs to another account + */ + 400: OpenShockProblem; + /** + * The new email address was claimed by another account before verification completed + */ + 409: OpenShockProblem; +}; + +export type AuthenticatedAccountEmailVerifyLegacyError = + AuthenticatedAccountEmailVerifyLegacyErrors[keyof AuthenticatedAccountEmailVerifyLegacyErrors]; + +export type AuthenticatedAccountEmailVerifyLegacyResponses = { + /** + * Email change verified and applied + */ + 200: unknown; +}; diff --git a/src/lib/api/next/account.ts b/src/lib/api/next/account.ts deleted file mode 100644 index bc47e717..00000000 --- a/src/lib/api/next/account.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { getBackendURL } from '#lib/utils/url.js'; -import { ResponseError } from './ResponseError'; - -/** Set by the API on signup while the account awaits activation; removed on login or once activated. */ -export const ACTIVATION_RESEND_COOKIE = 'openShockActivationResend'; - -/** - * Whether this browser can ask for the activation email again. Presence only: the API still decides whether - * the cookie is valid (it may have expired, or the account may have been activated elsewhere). - */ -export function hasActivationResendCookie(): boolean { - if (typeof document === 'undefined') return false; - return document.cookie - .split(';') - .some((c) => c.trimStart().startsWith(`${ACTIVATION_RESEND_COOKIE}=`)); -} - -export type ResendActivationResult = 'sent' | 'throttled' | 'unavailable'; - -/** - * Asks the API to resend the activation email for the account this browser just signed up. The account is - * identified by the cookie the API set on signup, so there is no body. - * - * - `sent`: a new activation email was enqueued. - * - `throttled`: one was sent too recently (one per 10 minutes, five per day). - * - `unavailable`: no pending activation for this browser (cookie missing/expired, or already activated). - */ -export async function ResendActivationEmail(): Promise { - const url = getBackendURL('1/account/activate/resend'); - - const res = await fetch(url, { - method: 'POST', - headers: { accept: 'application/json' }, - credentials: 'include', - redirect: 'error', - }); - - if (res.ok) return 'sent'; - if (res.status === 429) return 'throttled'; - if (res.status === 400) return 'unavailable'; - - // handleApiError reads problem details from `body`, so parse it here. - // A non-JSON body leaves it undefined. - const body: unknown = await res.json().catch(() => undefined); - throw new ResponseError(res, `Unexpected status ${res.status} for POST ${url}`, body); -} diff --git a/src/lib/auth/oauth-errors.ts b/src/lib/auth/oauth-errors.ts index c59927a7..a4c799aa 100644 --- a/src/lib/auth/oauth-errors.ts +++ b/src/lib/auth/oauth-errors.ts @@ -8,7 +8,7 @@ export const OAUTH_ERROR_MESSAGES: Record = { emailAlreadyRegistered: 'An account with this email already exists. Sign in to that account to link this provider.', accountNotActivated: - 'Your account has not been activated yet. Check your inbox for the activation email, then try again.', + 'This account has not been activated and cannot be activated by signing in. Contact support to have it activated.', accountDeactivated: 'This account has been deactivated.', internalError: 'Something went wrong on our end. Please try again in a moment.', unknown: 'Unknown error occurred.', diff --git a/src/lib/components/auth/resend-activation-button.svelte b/src/lib/components/auth/resend-activation-button.svelte deleted file mode 100644 index eb9c6614..00000000 --- a/src/lib/components/auth/resend-activation-button.svelte +++ /dev/null @@ -1,45 +0,0 @@ - - -{#if available} - -{/if} diff --git a/src/lib/errorhandling/apiErrorHandling.ts b/src/lib/errorhandling/apiErrorHandling.ts index 06f1681b..289eaf29 100644 --- a/src/lib/errorhandling/apiErrorHandling.ts +++ b/src/lib/errorhandling/apiErrorHandling.ts @@ -131,15 +131,21 @@ async function handleResponseError(error: ResponseError, handlers: ProblemHandle _onUnauthorized?.(); } - if (error instanceof RateLimitError) { - toast.error(m.error_too_many_requests(), { description: formatRetryAfter(error.retryAfterMs) }); - return; - } - // The HTTP client already consumed and parsed the response body before this // error was constructed, so we read it from `error.body` rather than calling // `response.json()` (which would throw "Body has already been consumed"). const problem = error.body; + + // The API's rate limiter answers in plain text. + // A 429 carrying a known problem type is a domain limit, such as too many activation emails, and is handled like any other problem. + if ( + error instanceof RateLimitError && + !(isProblemDetails(problem) && isKnownProblemType(problem.type)) + ) { + toast.error(m.error_too_many_requests(), { description: formatRetryAfter(error.retryAfterMs) }); + return; + } + if (!isProblemDetails(problem)) { console.error('Content json is not a valid problemdetails object', problem); toast.error(m.error_unexpected_response(), { description: `HTTP ${response.status}` }); diff --git a/src/lib/errorhandling/problemMessages.ts b/src/lib/errorhandling/problemMessages.ts index 46926bbb..d5f0e984 100644 --- a/src/lib/errorhandling/problemMessages.ts +++ b/src/lib/errorhandling/problemMessages.ts @@ -17,6 +17,11 @@ export const ProblemMessages: { title: m.problem_account_account_not_activated_title, description: m.problem_account_account_not_activated_desc, }, + 'Account.Activation.CodeExpired': { + title: m.problem_account_activation_code_expired_title, + description: m.problem_account_activation_code_expired_desc, + }, + 'Account.Activation.CodeInvalid': { title: m.problem_account_activation_code_invalid_title }, 'Account.Activation.NotFound': { title: m.problem_account_activation_not_found_title, description: m.problem_account_activation_not_found_desc, @@ -101,6 +106,7 @@ export const ProblemMessages: { }, 'Authentication.TokenInvalid': { title: m.problem_authentication_token_invalid_title }, 'Authentication.UnknownError': { title: m.problem_authentication_unknown_error_title }, + 'Authorization.Origin.NotTrusted': { title: m.problem_authorization_origin_not_trusted_title }, 'Authorization.Policy.NotMet': { title: m.problem_authorization_policy_not_met_title }, 'Authorization.Token.Only': { title: m.problem_authorization_token_only_title }, 'Authorization.Token.PermissionMissing': { @@ -134,6 +140,10 @@ export const ProblemMessages: { 'Login.InvalidDomain': { title: m.problem_login_invalid_domain_title }, 'OAuth.Connection.AlreadyExists': { title: m.problem_o_auth_connection_already_exists_title }, 'OAuth.Connection.AlreadyLinked': { title: m.problem_o_auth_connection_already_linked_title }, + 'OAuth.Connection.LastLoginMethod': { + title: m.problem_o_auth_connection_last_login_method_title, + description: m.problem_o_auth_connection_last_login_method_desc, + }, 'OAuth.Flow.AnonymousOnly': { title: m.problem_o_auth_flow_anonymous_only_title }, 'OAuth.Flow.Mismatch': { title: m.problem_o_auth_flow_mismatch_title, diff --git a/src/lib/errorhandling/problemTypes.ts b/src/lib/errorhandling/problemTypes.ts index d6ba0ef4..d6af5d77 100644 --- a/src/lib/errorhandling/problemTypes.ts +++ b/src/lib/errorhandling/problemTypes.ts @@ -13,19 +13,24 @@ export const ProblemTypes = { // Account 'Account.AccountNotActivated': { title: 'Account not activated', - description: 'Check your inbox for the activation email.', + description: 'Check your inbox for the activation code.', }, + 'Account.Activation.CodeExpired': { + title: 'The activation code has expired', + description: 'Request a new one.', + }, + 'Account.Activation.CodeInvalid': { title: 'The activation code is not correct' }, 'Account.Activation.NotFound': { - title: 'Activation link is invalid', - description: 'The link may have expired or already been used.', + title: 'No signup is waiting in this browser', + description: 'Sign in with what you signed up with to get a new code, or sign up again.', }, 'Account.Activation.ResendTooMany': { title: 'Too many activation emails requested', description: 'Please wait a while before trying again.', }, 'Account.Activation.ResendUnavailable': { - title: 'Cannot resend activation email', - description: 'Log in again to request a new activation link.', + title: 'Cannot send a new activation code', + description: 'Sign in with what you signed up with to get a new code.', }, 'Account.Deactivate.AlreadyDeactivated': { title: 'Account is already deactivated' }, 'Account.Deactivate.DeniedPrivileged': { title: 'Privileged accounts cannot be deactivated' }, @@ -97,6 +102,7 @@ export const ProblemTypes = { 'Authentication.UnknownError': { title: 'Authentication failed' }, // Authorization layer, any authenticated endpoint + 'Authorization.Origin.NotTrusted': { title: 'This action cannot be done from this website' }, 'Authorization.Policy.NotMet': { title: 'You do not have permission to do this' }, 'Authorization.Token.Only': { title: 'This action requires an API token' }, 'Authorization.Token.PermissionMissing': { @@ -147,6 +153,10 @@ export const ProblemTypes = { 'OAuth.Connection.AlreadyLinked': { title: 'This external account is already linked to another user', }, + 'OAuth.Connection.LastLoginMethod': { + title: 'This is your only way to sign in', + description: 'Set a password before disconnecting it.', + }, 'OAuth.Flow.AnonymousOnly': { title: 'You are already signed in' }, 'OAuth.Flow.Mismatch': { title: 'Sign-in attempt does not match', diff --git a/src/routes/(app)/admin/users/[userId=guid]/+page.svelte b/src/routes/(app)/admin/users/[userId=guid]/+page.svelte index 99626c4d..1ecf71ec 100644 --- a/src/routes/(app)/admin/users/[userId=guid]/+page.svelte +++ b/src/routes/(app)/admin/users/[userId=guid]/+page.svelte @@ -248,18 +248,16 @@ - {:else if user.activationRequest} - {@const request = user.activationRequest} + {:else if user.activatedAt === null}
- Awaiting activation + Not activated - Requested {formatRelativeInstant(request.createdAt, clock.current)}; the activation - mail has been attempted {request.emailSendAttempts} - {request.emailSendAttempts === 1 ? 'time' : 'times'}. + Left unactivated when signups moved to activation codes. This user cannot sign in + until an admin activates the account.
diff --git a/src/routes/(app)/verify-email/+page.svelte b/src/routes/(app)/verify-email/+page.svelte new file mode 100644 index 00000000..852945b9 --- /dev/null +++ b/src/routes/(app)/verify-email/+page.svelte @@ -0,0 +1,60 @@ + + + + + +

{m.auth_verify_title()}

+ + {#if status === 'verifying'} + {m.auth_verify_verifying()} + {:else if status === 'success'} + {m.auth_verify_success()} + {:else if status === 'in-use'} + {m.auth_verify_in_use()} + {:else if status === 'failed'} + {m.auth_verify_failed()} + {:else} + {m.auth_verify_missing_token()} + {/if} + +
+
+
diff --git a/src/routes/(auth)/activate/+page.svelte b/src/routes/(auth)/activate/+page.svelte index 3cce74d3..3b41399c 100644 --- a/src/routes/(auth)/activate/+page.svelte +++ b/src/routes/(auth)/activate/+page.svelte @@ -1,35 +1,137 @@ @@ -37,20 +139,99 @@

{m.auth_activate_title()}

- {#if status === 'activating'} - {m.auth_activate_activating()} - {:else if status === 'success'} - {m.auth_activate_success()} - {:else if status === 'failed'} - {m.auth_activate_failed()} + {#if status === 'loading'} + {m.auth_activate_loading()} + {:else if status === 'ready' && pending} + + {#snippet address({ children })} + {@render children?.()} + {/snippet} + + {:else if status === 'gone'} + {m.auth_activate_gone()} + {:else if status === 'error'} + {m.auth_activate_load_failed()} {:else} - {m.auth_activate_missing_token()} + {m.auth_activate_none()} {/if}
- {#if status === 'success'} + {#if status === 'ready' && pending} + +
{ + e.preventDefault(); + void submit(); + }} + > + text.replace(/[^a-z0-9]/gi, '')} + bind:value={() => code, (v) => (code = v.toUpperCase())} + onComplete={() => void submit()} + disabled={submitting} + autocomplete="one-time-code" + aria-label={m.auth_activate_code_label()} + aria-invalid={codeError !== null} + autofocus + > + {#snippet children({ cells })} + + {#each cells.slice(0, GROUP_LENGTH) as cell, i (i)} + + {/each} + + + + {#each cells.slice(GROUP_LENGTH) as cell, i (i)} + + {/each} + + {/snippet} + + + {#if codeError} + + {:else} +

{m.auth_activate_code_hint()}

+ {/if} + + + + {#if pending.resendsRemaining <= 0} +

+ {m.auth_activate_resend_exhausted()} +

+ {:else} + + {/if} +
+
+ {:else if status === 'none' || status === 'gone'} + + + {#if status === 'none'} + + {/if} + + {:else if status === 'error'} - + {/if} diff --git a/src/routes/(auth)/login/+page.svelte b/src/routes/(auth)/login/+page.svelte index 7190fe45..428cca86 100644 --- a/src/routes/(auth)/login/+page.svelte +++ b/src/routes/(auth)/login/+page.svelte @@ -1,5 +1,6 @@ - - - -

{m.auth_verify_title()}

- - {#if status === 'verifying'} - {m.auth_verify_verifying()} - {:else if status === 'success'} - {m.auth_verify_success()} - {:else if status === 'failed'} - {m.auth_verify_failed()} - {:else} - {m.auth_verify_missing_token()} - {/if} - -
- {#if status === 'success'} - - - - {/if} -