Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

feat(errors): add pass, sign-in, dispute, visit codes, drop old

Hampuscd0b12030556
diff --git a/packages/constants/src/ApiErrorCodes.ts b/packages/constants/src/ApiErrorCodes.ts
index 1fbffd014..9e6f4c909 100644
--- a/packages/constants/src/ApiErrorCodes.ts
+++ b/packages/constants/src/ApiErrorCodes.ts
@@ -63,6 +63,7 @@ export const APIErrorCodes = {
DISCOVERY_INSUFFICIENT_MEMBERS: 'DISCOVERY_INSUFFICIENT_MEMBERS',
DISCOVERY_NOT_DISCOVERABLE: 'DISCOVERY_NOT_DISCOVERABLE',
DISCRIMINATOR_REQUIRED: 'DISCRIMINATOR_REQUIRED',
+ EMAIL_DELIVERY_OFF: 'EMAIL_DELIVERY_OFF',
EMAIL_SERVICE_NOT_TESTABLE: 'EMAIL_SERVICE_NOT_TESTABLE',
EMAIL_UNAVAILABLE_ON_INSTANCE: 'EMAIL_UNAVAILABLE_ON_INSTANCE',
EMAIL_VERIFICATION_REQUIRED: 'EMAIL_VERIFICATION_REQUIRED',
@@ -86,9 +87,11 @@ export const APIErrorCodes = {
PROFILE_EMAIL_VERIFICATION_REQUIRED: 'PROFILE_EMAIL_VERIFICATION_REQUIRED',
PUBLISHED_MESSAGE_EDIT_RATE_LIMITED: 'PUBLISHED_MESSAGE_EDIT_RATE_LIMITED',
PURCHASE_EMAIL_VERIFICATION_REQUIRED: 'PURCHASE_EMAIL_VERIFICATION_REQUIRED',
+ PURCHASE_RECEIPT_EMAIL_REQUIRED: 'PURCHASE_RECEIPT_EMAIL_REQUIRED',
REACTION_EMAIL_VERIFICATION_REQUIRED: 'REACTION_EMAIL_VERIFICATION_REQUIRED',
REPORT_EMAIL_VERIFICATION_REQUIRED: 'REPORT_EMAIL_VERIFICATION_REQUIRED',
REGISTRATION_CLOSED: 'REGISTRATION_CLOSED',
+ REGISTRATION_CREDENTIAL_REQUIRED: 'REGISTRATION_CREDENTIAL_REQUIRED',
REGISTRATION_CREDENTIALS_REQUIRED: 'REGISTRATION_CREDENTIALS_REQUIRED',
REGISTRATION_PENDING_APPROVAL: 'REGISTRATION_PENDING_APPROVAL',
REGISTRATION_REJECTED: 'REGISTRATION_REJECTED',
@@ -234,11 +237,45 @@ export const APIErrorCodes = {
STRIPE_WEBHOOK_SIGNATURE_INVALID: 'STRIPE_WEBHOOK_SIGNATURE_INVALID',
STRIPE_WEBHOOK_SIGNATURE_MISSING: 'STRIPE_WEBHOOK_SIGNATURE_MISSING',
DIRECT_MESSAGES_DISABLED: 'DIRECT_MESSAGES_DISABLED',
+ FRIENDS_DISABLED: 'FRIENDS_DISABLED',
NEW_CONVERSATIONS_LIMITED: 'NEW_CONVERSATIONS_LIMITED',
DONATION_AMOUNT_INVALID: 'DONATION_AMOUNT_INVALID',
DONATION_MAGIC_LINK_EXPIRED: 'DONATION_MAGIC_LINK_EXPIRED',
DONATION_MAGIC_LINK_INVALID: 'DONATION_MAGIC_LINK_INVALID',
DONATION_MAGIC_LINK_USED: 'DONATION_MAGIC_LINK_USED',
+ OPERATOR_PASS_WAIVER_REQUIRED: 'OPERATOR_PASS_WAIVER_REQUIRED',
+ OPERATOR_PASS_AGE_CONFIRMATION_REQUIRED: 'OPERATOR_PASS_AGE_CONFIRMATION_REQUIRED',
+ OPERATOR_PASS_OFFER_UNAVAILABLE: 'OPERATOR_PASS_OFFER_UNAVAILABLE',
+ OPERATOR_PASS_OFFER_BUSY: 'OPERATOR_PASS_OFFER_BUSY',
+ OPERATOR_PASS_RECIPIENT_NOT_FRIEND: 'OPERATOR_PASS_RECIPIENT_NOT_FRIEND',
+ OPERATOR_PASS_NOT_TRANSFERABLE: 'OPERATOR_PASS_NOT_TRANSFERABLE',
+ OPERATOR_PASS_LAST_PASS_CONFIRMATION_REQUIRED: 'OPERATOR_PASS_LAST_PASS_CONFIRMATION_REQUIRED',
+ UNKNOWN_OPERATOR_PASS_OFFER: 'UNKNOWN_OPERATOR_PASS_OFFER',
+ UNKNOWN_OPERATOR_PASS_UNIT: 'UNKNOWN_OPERATOR_PASS_UNIT',
+ OPERATOR_PASS_COUNTRY_UNAVAILABLE: 'OPERATOR_PASS_COUNTRY_UNAVAILABLE',
+ OPERATOR_PASS_WALL_NAME_REQUIRED: 'OPERATOR_PASS_WALL_NAME_REQUIRED',
+ OPERATOR_PASS_NOT_HELD: 'OPERATOR_PASS_NOT_HELD',
+ UNKNOWN_OPERATOR_PASS_WALL_ENTRY: 'UNKNOWN_OPERATOR_PASS_WALL_ENTRY',
+ OPERATOR_PASS_RELEASE_ALREADY_PUBLISHED: 'OPERATOR_PASS_RELEASE_ALREADY_PUBLISHED',
+ OPERATOR_PASS_RELEASE_NOT_READY: 'OPERATOR_PASS_RELEASE_NOT_READY',
+ UNKNOWN_OPERATOR_PASS_RELEASE_ENTRY: 'UNKNOWN_OPERATOR_PASS_RELEASE_ENTRY',
+ OPERATOR_PASS_NOT_ON_SALE: 'OPERATOR_PASS_NOT_ON_SALE',
+ OPERATOR_PASS_PRICE_CHANGED: 'OPERATOR_PASS_PRICE_CHANGED',
+ OPERATOR_PASS_WAITLIST_CLOSED: 'OPERATOR_PASS_WAITLIST_CLOSED',
+ OPERATOR_PASS_WAITLIST_FOLLOWUP_INVALID: 'OPERATOR_PASS_WAITLIST_FOLLOWUP_INVALID',
+ OPERATOR_PASS_WAITLIST_FOLLOWUP_TOKEN_INVALID: 'OPERATOR_PASS_WAITLIST_FOLLOWUP_TOKEN_INVALID',
+ OPERATOR_PASS_WAITLIST_TOKEN_EXPIRED: 'OPERATOR_PASS_WAITLIST_TOKEN_EXPIRED',
+ OPERATOR_PASS_WAITLIST_TOKEN_INVALID: 'OPERATOR_PASS_WAITLIST_TOKEN_INVALID',
+ OPERATOR_PASS_REMOVAL_LIMITED_FIRST: 'OPERATOR_PASS_REMOVAL_LIMITED_FIRST',
+ OPERATOR_PASS_REMOVAL_NOTICE_REQUIRED: 'OPERATOR_PASS_REMOVAL_NOTICE_REQUIRED',
+ OPERATOR_PASS_REMOVED: 'OPERATOR_PASS_REMOVED',
+ OPERATOR_PASS_TERMS_NOT_ACCEPTED: 'OPERATOR_PASS_TERMS_NOT_ACCEPTED',
+ OPERATOR_PASS_WITHDRAWAL_UNAVAILABLE: 'OPERATOR_PASS_WITHDRAWAL_UNAVAILABLE',
+ PAYMENT_DISPUTE_EXEMPT: 'PAYMENT_DISPUTE_EXEMPT',
+ PAYMENT_DISPUTE_REVIEW_CLOSED: 'PAYMENT_DISPUTE_REVIEW_CLOSED',
+ PAYMENT_DISPUTE_WARNING_TOO_LATE: 'PAYMENT_DISPUTE_WARNING_TOO_LATE',
+ UNKNOWN_PAYMENT_DISPUTE_REVIEW: 'UNKNOWN_PAYMENT_DISPUTE_REVIEW',
+ UNKNOWN_OPERATOR_PASS_PURCHASE: 'UNKNOWN_OPERATOR_PASS_PURCHASE',
SUDO_MODE_REQUIRED: 'SUDO_MODE_REQUIRED',
SYNCED_PREFERENCES_CONFLICT: 'SYNCED_PREFERENCES_CONFLICT',
TAG_ALREADY_TAKEN: 'TAG_ALREADY_TAKEN',
@@ -303,7 +340,26 @@ export const APIErrorCodes = {
VALIDATION_ERROR: 'VALIDATION_ERROR',
VOICE_CHANNEL_FULL: 'VOICE_CHANNEL_FULL',
WEBAUTHN_CREDENTIAL_LIMIT_REACHED: 'WEBAUTHN_CREDENTIAL_LIMIT_REACHED',
- AGE_VERIFICATION_ALREADY_VERIFIED: 'AGE_VERIFICATION_ALREADY_VERIFIED',
+ ACCOUNT_VERIFICATION_REQUIRED: 'ACCOUNT_VERIFICATION_REQUIRED',
+ DATE_OF_BIRTH_REQUIRED: 'DATE_OF_BIRTH_REQUIRED',
+ DATE_OF_BIRTH_ALREADY_SET: 'DATE_OF_BIRTH_ALREADY_SET',
+ ACCOUNT_BELOW_MINIMUM_AGE: 'ACCOUNT_BELOW_MINIMUM_AGE',
+ UNKNOWN_SIGN_IN_TICKET: 'UNKNOWN_SIGN_IN_TICKET',
+ INVALID_SIGN_IN_CODE: 'INVALID_SIGN_IN_CODE',
+ SIGN_IN_CODE_EXPIRED: 'SIGN_IN_CODE_EXPIRED',
+ EMAIL_CODE_RESEND_COOLDOWN: 'EMAIL_CODE_RESEND_COOLDOWN',
+ EMAIL_CODES_UNAVAILABLE: 'EMAIL_CODES_UNAVAILABLE',
+ PASSWORD_SIGN_IN_REQUIRED: 'PASSWORD_SIGN_IN_REQUIRED',
+ SUDO_SECOND_FACTOR_REQUIRED: 'SUDO_SECOND_FACTOR_REQUIRED',
+ INSTANT_ACCOUNTS_DISABLED: 'INSTANT_ACCOUNTS_DISABLED',
+ UNKNOWN_ACCOUNT_HANDOFF: 'UNKNOWN_ACCOUNT_HANDOFF',
+ INVALID_ACCOUNT_HANDOFF_NONCE: 'INVALID_ACCOUNT_HANDOFF_NONCE',
+ ACCOUNT_ALREADY_CLAIMED: 'ACCOUNT_ALREADY_CLAIMED',
+ USE_CLAIM_ROUTE: 'USE_CLAIM_ROUTE',
+ PASSWORD_REQUIRED_TO_CLAIM: 'PASSWORD_REQUIRED_TO_CLAIM',
+ GUILD_VISITS_DISABLED: 'GUILD_VISITS_DISABLED',
+ GUILD_VISIT_AGE_RESTRICTED: 'GUILD_VISIT_AGE_RESTRICTED',
+ GUILD_VISIT_NOT_FOUND: 'GUILD_VISIT_NOT_FOUND',
} as const;
export type APIErrorCode = ValueOf<typeof APIErrorCodes>;
diff --git a/packages/constants/src/ValidationErrorCodes.ts b/packages/constants/src/ValidationErrorCodes.ts
index ac62f2d10..9199fa77f 100644
--- a/packages/constants/src/ValidationErrorCodes.ts
+++ b/packages/constants/src/ValidationErrorCodes.ts
@@ -10,7 +10,6 @@ export const ValidationErrorCodes = {
ALL_CHANNELS_MUST_BELONG_TO_GUILD: 'ALL_CHANNELS_MUST_BELONG_TO_GUILD',
ANIMATED_AVATARS_REQUIRE_PREMIUM: 'ANIMATED_AVATARS_REQUIRE_PREMIUM',
ANIMATED_GUILD_BANNER_REQUIRES_FEATURE: 'ANIMATED_GUILD_BANNER_REQUIRES_FEATURE',
- AT_LEAST_ONE_RECIPIENT_REQUIRED: 'AT_LEAST_ONE_RECIPIENT_REQUIRED',
ATTACHMENT_ID_NOT_FOUND_IN_MESSAGE: 'ATTACHMENT_ID_NOT_FOUND_IN_MESSAGE',
ATTACHMENT_MUST_BE_IMAGE: 'ATTACHMENT_MUST_BE_IMAGE',
ATTACHMENTS_NOT_ALLOWED_FOR_MESSAGE: 'ATTACHMENTS_NOT_ALLOWED_FOR_MESSAGE',
@@ -68,8 +67,14 @@ export const ValidationErrorCodes = {
EMAIL_LENGTH_INVALID: 'EMAIL_LENGTH_INVALID',
EMAIL_MUST_BE_CHANGED_VIA_TOKEN: 'EMAIL_MUST_BE_CHANGED_VIA_TOKEN',
TAG_STYLE_REQUIRES_EMAIL_SIGN_IN: 'TAG_STYLE_REQUIRES_EMAIL_SIGN_IN',
+ INSTANT_ACCOUNTS_REQUIRE_CAPTCHA: 'INSTANT_ACCOUNTS_REQUIRE_CAPTCHA',
+ CAPTCHA_REQUIRED_BY_INSTANT_ACCOUNTS: 'CAPTCHA_REQUIRED_BY_INSTANT_ACCOUNTS',
+ IDENTIFIER_FIRST_REQUIRES_EMAIL_IDENTITY: 'IDENTIFIER_FIRST_REQUIRES_EMAIL_IDENTITY',
+ EMAIL_DELIVERY_REQUIRES_EMAIL_IDENTITY: 'EMAIL_DELIVERY_REQUIRES_EMAIL_IDENTITY',
+ VERIFICATION_BASIS_REQUIRES_EMAIL_DELIVERY: 'VERIFICATION_BASIS_REQUIRES_EMAIL_DELIVERY',
EMAIL_TOKEN_EXPIRED: 'EMAIL_TOKEN_EXPIRED',
EMAIL_DOMAIN_CANNOT_RECEIVE_MAIL: 'EMAIL_DOMAIN_CANNOT_RECEIVE_MAIL',
+ EMAIL_DOMAIN_NOT_ALLOWED: 'EMAIL_DOMAIN_NOT_ALLOWED',
EMAIL_DOMAIN_NOT_ALLOWED_FOR_SSO: 'EMAIL_DOMAIN_NOT_ALLOWED_FOR_SSO',
ENFORCEMENT_CONFIRMATIONS_REQUIRED: 'ENFORCEMENT_CONFIRMATIONS_REQUIRED',
ENFORCEMENT_EVIDENCE_DM_UNREPORTED: 'ENFORCEMENT_EVIDENCE_DM_UNREPORTED',
@@ -118,6 +123,7 @@ export const ValidationErrorCodes = {
IMAGE_SIZE_EXCEEDS_LIMIT: 'IMAGE_SIZE_EXCEEDS_LIMIT',
INTEGER_OUT_OF_INT64_RANGE: 'INTEGER_OUT_OF_INT64_RANGE',
SNOWFLAKE_OUT_OF_RANGE: 'SNOWFLAKE_OUT_OF_RANGE',
+ INVALID_ALLOWED_DOMAIN: 'INVALID_ALLOWED_DOMAIN',
INVALID_AUDIT_LOG_REASON: 'INVALID_AUDIT_LOG_REASON',
INVALID_BASE64_FORMAT: 'INVALID_BASE64_FORMAT',
INVALID_CHANNEL_ID: 'INVALID_CHANNEL_ID',
@@ -172,6 +178,7 @@ export const ValidationErrorCodes = {
MESSAGES_WITH_SNAPSHOTS_CANNOT_BE_EDITED: 'MESSAGES_WITH_SNAPSHOTS_CANNOT_BE_EDITED',
MODERATION_BASIS_REQUIRED: 'MODERATION_BASIS_REQUIRED',
MULTIPLE_FILES_FOR_INDEX_NOT_ALLOWED: 'MULTIPLE_FILES_FOR_INDEX_NOT_ALLOWED',
+ SEARCH_FILTER_NEEDS_MEMBERSHIP: 'SEARCH_FILTER_NEEDS_MEMBERSHIP',
MUST_AGREE_TO_TOS_AND_PRIVACY_POLICY: 'MUST_AGREE_TO_TOS_AND_PRIVACY_POLICY',
MUST_BE_MINIMUM_AGE: 'MUST_BE_MINIMUM_AGE',
MUST_ENABLE_2FA_BEFORE_REQUIRING_FOR_MODS: 'MUST_ENABLE_2FA_BEFORE_REQUIRING_FOR_MODS',
@@ -199,13 +206,15 @@ export const ValidationErrorCodes = {
PRECEDING_CHANNEL_NOT_IN_GUILD: 'PRECEDING_CHANNEL_NOT_IN_GUILD',
PRONOUNS_CHANGED_TOO_MANY_TIMES: 'PRONOUNS_CHANGED_TOO_MANY_TIMES',
RECIPIENT_IDS_CANNOT_BE_EMPTY: 'RECIPIENT_IDS_CANNOT_BE_EMPTY',
- RECIPIENT_IDS_MUST_BE_STRINGS: 'RECIPIENT_IDS_MUST_BE_STRINGS',
- RECIPIENT_IDS_MUST_BE_VALID_SNOWFLAKES: 'RECIPIENT_IDS_MUST_BE_VALID_SNOWFLAKES',
REFERENCED_ATTACHMENT_NOT_FOUND: 'REFERENCED_ATTACHMENT_NOT_FOUND',
REPORT_OUTCOME_INVALID: 'REPORT_OUTCOME_INVALID',
SESSION_TIMEOUT: 'SESSION_TIMEOUT',
SETUP_TOKEN_INVALID: 'SETUP_TOKEN_INVALID',
SETUP_TOKEN_REQUIRED: 'SETUP_TOKEN_REQUIRED',
+ SMTP_HOST_REQUIRED: 'SMTP_HOST_REQUIRED',
+ SSO_ACCOUNT_LINKED_TO_ANOTHER_IDENTITY: 'SSO_ACCOUNT_LINKED_TO_ANOTHER_IDENTITY',
+ SSO_EMAIL_NOT_VERIFIED: 'SSO_EMAIL_NOT_VERIFIED',
+ SSO_IDENTITY_LINKED_TO_ANOTHER_ACCOUNT: 'SSO_IDENTITY_LINKED_TO_ANOTHER_ACCOUNT',
SSO_IDENTITY_MISMATCH: 'SSO_IDENTITY_MISMATCH',
SSO_MISCONFIGURED: 'SSO_MISCONFIGURED',
SSO_PROVIDER_DID_NOT_RETURN_EMAIL: 'SSO_PROVIDER_DID_NOT_RETURN_EMAIL',
@@ -229,6 +238,7 @@ export const ValidationErrorCodes = {
UNRESOLVED_ATTACHMENT_URL: 'UNRESOLVED_ATTACHMENT_URL',
UPLOADED_ATTACHMENT_NOT_FOUND: 'UPLOADED_ATTACHMENT_NOT_FOUND',
URL_LENGTH_INVALID: 'URL_LENGTH_INVALID',
+ URL_MUST_USE_HTTPS: 'URL_MUST_USE_HTTPS',
URL_NOT_PUBLICLY_ROUTABLE: 'URL_NOT_PUBLICLY_ROUTABLE',
USER_DOES_NOT_HAVE_AN_EMAIL_ADDRESS: 'USER_DOES_NOT_HAVE_AN_EMAIL_ADDRESS',
USER_IS_NOT_BANNED: 'USER_IS_NOT_BANNED',
diff --git a/packages/errors/src/domains/payment/AgeVerificationAlreadyVerifiedError.ts b/packages/errors/src/domains/payment/AgeVerificationAlreadyVerifiedError.ts
deleted file mode 100644
index 6cc81f7a5..000000000
--- a/packages/errors/src/domains/payment/AgeVerificationAlreadyVerifiedError.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// SPDX-License-Identifier: AGPL-3.0-or-later
-
-import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';
-import {FluxerError} from '@fluxer/errors/src/FluxerError';
-
-export class AgeVerificationAlreadyVerifiedError extends FluxerError {
- constructor() {
- super({
- code: APIErrorCodes.AGE_VERIFICATION_ALREADY_VERIFIED,
- status: 400,
- });
- }
-}
diff --git a/packages/errors/src/i18n/ErrorCodeMappings.ts b/packages/errors/src/i18n/ErrorCodeMappings.ts
index d6230515b..77252aeb4 100644
--- a/packages/errors/src/i18n/ErrorCodeMappings.ts
+++ b/packages/errors/src/i18n/ErrorCodeMappings.ts
@@ -11,6 +11,22 @@ type AllErrorCodes = APIErrorCode | ValidationErrorCode;
export const ErrorCodeToI18nKey = {
[APIErrorCodes.ACCESS_DENIED]: 'permissions.missing_access',
[APIErrorCodes.ACCOUNT_LIMITED]: 'account.limited',
+ [APIErrorCodes.ACCOUNT_VERIFICATION_REQUIRED]: 'account.verification_required',
+ [APIErrorCodes.DATE_OF_BIRTH_REQUIRED]: 'account.date_of_birth_required',
+ [APIErrorCodes.DATE_OF_BIRTH_ALREADY_SET]: 'account.date_of_birth_already_set',
+ [APIErrorCodes.ACCOUNT_BELOW_MINIMUM_AGE]: 'account.below_minimum_age',
+ [APIErrorCodes.UNKNOWN_SIGN_IN_TICKET]: 'auth_and_registration.unknown_sign_in_ticket',
+ [APIErrorCodes.INVALID_SIGN_IN_CODE]: 'auth_and_registration.invalid_sign_in_code',
+ [APIErrorCodes.SIGN_IN_CODE_EXPIRED]: 'auth_and_registration.sign_in_code_expired',
+ [APIErrorCodes.EMAIL_CODE_RESEND_COOLDOWN]: 'auth_and_registration.email_code_resend_cooldown',
+ [APIErrorCodes.EMAIL_CODES_UNAVAILABLE]: 'auth_and_registration.email_codes_unavailable',
+ [APIErrorCodes.PASSWORD_SIGN_IN_REQUIRED]: 'auth_and_registration.password_sign_in_required',
+ [APIErrorCodes.INSTANT_ACCOUNTS_DISABLED]: 'auth_and_registration.instant_accounts_disabled',
+ [APIErrorCodes.UNKNOWN_ACCOUNT_HANDOFF]: 'auth_and_registration.unknown_account_handoff',
+ [APIErrorCodes.INVALID_ACCOUNT_HANDOFF_NONCE]: 'auth_and_registration.invalid_account_handoff_nonce',
+ [APIErrorCodes.ACCOUNT_ALREADY_CLAIMED]: 'account.already_claimed',
+ [APIErrorCodes.USE_CLAIM_ROUTE]: 'account.use_claim_route',
+ [APIErrorCodes.PASSWORD_REQUIRED_TO_CLAIM]: 'account.password_required_to_claim',
[APIErrorCodes.ACCOUNT_IDENTITY_LOCKED]: 'auth_and_registration.account_identity_locked',
[APIErrorCodes.ACCOUNT_SUSPENDED_PERMANENTLY]: 'account.suspended_permanently',
[APIErrorCodes.ACCOUNT_SUSPENDED_TEMPORARILY]: 'account.suspended_temporarily',
@@ -24,6 +40,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.CHANNEL_HAS_THREADS]: 'threads.channel_has_threads',
[APIErrorCodes.CHANNEL_TYPE_CONVERSION_NOT_SUPPORTED]: 'channels_and_guilds.channel_type_conversion_not_supported',
[APIErrorCodes.DIRECT_MESSAGES_DISABLED]: 'friends_and_dms.direct_messages_disabled',
+ [APIErrorCodes.FRIENDS_DISABLED]: 'friends_and_dms.friends_disabled',
[APIErrorCodes.NEW_CONVERSATIONS_LIMITED]: 'friends_and_dms.new_conversations_limited',
[APIErrorCodes.BOTS_CANNOT_CREATE_GUILDS]: 'channels_and_guilds.bots_cannot_create_guilds',
[APIErrorCodes.FOLLOW_TARGET_CONTENT_WARNING_REQUIRED]: 'channels_and_guilds.follow_target_content_warning_required',
@@ -89,13 +106,14 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.DISCOVERY_INSUFFICIENT_MEMBERS]: 'discovery.insufficient_members',
[APIErrorCodes.DISCOVERY_NOT_DISCOVERABLE]: 'discovery.not_discoverable',
[APIErrorCodes.DISCRIMINATOR_REQUIRED]: 'usernames_and_tags.discriminator_required',
+ [APIErrorCodes.EMAIL_DELIVERY_OFF]: 'email.email_delivery_off',
[APIErrorCodes.EMAIL_SERVICE_NOT_TESTABLE]: 'email.email_service_not_testable',
[APIErrorCodes.EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.DIRECT_MESSAGE_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.FRIEND_REQUEST_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.GUILD_CREATION_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.GUILD_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
- [APIErrorCodes.MFA_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
+ [APIErrorCodes.MFA_EMAIL_VERIFICATION_REQUIRED]: 'account.mfa_email_verification_required',
[APIErrorCodes.PROFILE_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.PURCHASE_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
[APIErrorCodes.REACTION_EMAIL_VERIFICATION_REQUIRED]: 'account.email_verification_required',
@@ -135,10 +153,12 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.INVALID_FLAGS_FORMAT]: 'admin_and_system.invalid_flags_format',
[APIErrorCodes.INVALID_FORM_BODY]: 'admin_and_system.invalid_form_body',
[ValidationErrorCodes.INVALID_FORMAT]: 'admin_and_system.invalid_format',
+ [ValidationErrorCodes.INVALID_ALLOWED_DOMAIN]: 'admin_and_system.invalid_allowed_domain',
[ValidationErrorCodes.INVALID_BASE64_FORMAT]: 'admin_and_system.invalid_format',
[ValidationErrorCodes.INVALID_EMAIL_FORMAT]: 'email.invalid_format',
[ValidationErrorCodes.INVALID_EMAIL_LOCAL_PART]: 'email.invalid_format',
[ValidationErrorCodes.EMAIL_DOMAIN_CANNOT_RECEIVE_MAIL]: 'email.domain_cannot_receive_mail',
+ [ValidationErrorCodes.EMAIL_DOMAIN_NOT_ALLOWED]: 'email.domain_not_allowed',
[ValidationErrorCodes.EMAIL_DOMAIN_NOT_ALLOWED_FOR_SSO]: 'auth_and_oauth.email_domain_not_allowed_for_sso',
[APIErrorCodes.INVALID_HANDOFF_CODE]: 'auth_and_oauth.handoff_code_invalid',
[ValidationErrorCodes.INVALID_OR_EXPIRED_AUTHORIZATION_TICKET]:
@@ -182,6 +202,9 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.INVALID_WEBAUTHN_CREDENTIAL]: 'mfa_and_passkeys.invalid_webauthn_credential',
[APIErrorCodes.INVALID_WEBAUTHN_PUBLIC_KEY_FORMAT]: 'mfa_and_passkeys.invalid_webauthn_public_key_format',
[APIErrorCodes.INVITES_DISABLED]: 'channels_and_guilds.invites_disabled',
+ [APIErrorCodes.GUILD_VISITS_DISABLED]: 'channels_and_guilds.guild_visits_disabled',
+ [APIErrorCodes.GUILD_VISIT_AGE_RESTRICTED]: 'channels_and_guilds.guild_visit_age_restricted',
+ [APIErrorCodes.GUILD_VISIT_NOT_FOUND]: 'channels_and_guilds.guild_visit_not_found',
[APIErrorCodes.IP_AUTHORIZATION_REQUIRED]: 'account.ip_authorization_required',
[APIErrorCodes.IP_AUTHORIZATION_RESEND_COOLDOWN]: 'rate_limits.ip_authorization_resend_cooldown',
[APIErrorCodes.IP_AUTHORIZATION_RESEND_LIMIT_EXCEEDED]: 'rate_limits.ip_authorization_resend_limit_exceeded',
@@ -233,6 +256,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.PROCESSING_FAILED]: 'admin_and_system.processing_failed',
[APIErrorCodes.RATE_LIMITED]: 'rate_limits.rate_limited',
[APIErrorCodes.REGISTRATION_CLOSED]: 'auth_and_oauth.registration_closed',
+ [APIErrorCodes.REGISTRATION_CREDENTIAL_REQUIRED]: 'auth_and_oauth.registration_credential_required',
[APIErrorCodes.REGISTRATION_CREDENTIALS_REQUIRED]: 'auth_and_oauth.registration_credentials_required',
[APIErrorCodes.REGISTRATION_PENDING_APPROVAL]: 'auth_and_oauth.registration_pending_approval',
[APIErrorCodes.REGISTRATION_REJECTED]: 'auth_and_oauth.registration_rejected',
@@ -246,7 +270,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.SERVICE_UNAVAILABLE]: 'http.service_unavailable',
[APIErrorCodes.SESSION_TOKEN_MISMATCH]: 'account.session_token_mismatch',
[APIErrorCodes.SLOWMODE_RATE_LIMITED]: 'rate_limits.slowmode_rate_limited',
- [APIErrorCodes.SSO_REQUIRED]: 'misc.invalid_request_generic',
+ [APIErrorCodes.SSO_REQUIRED]: 'auth_and_oauth.sso_required',
[APIErrorCodes.STORE_BILLING_UNAVAILABLE]: 'store_billing.unavailable',
[APIErrorCodes.STORE_NOTIFICATION_UNAUTHORIZED]: 'store_billing.notification_unauthorized',
[APIErrorCodes.STORE_PURCHASE_INVALID]: 'store_billing.purchase_invalid',
@@ -273,7 +297,41 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.DONATION_MAGIC_LINK_EXPIRED]: 'donation.magic_link_expired',
[APIErrorCodes.DONATION_MAGIC_LINK_INVALID]: 'donation.magic_link_invalid',
[APIErrorCodes.DONATION_MAGIC_LINK_USED]: 'donation.magic_link_used',
+ [APIErrorCodes.OPERATOR_PASS_WAIVER_REQUIRED]: 'operator_pass.waiver_required',
+ [APIErrorCodes.OPERATOR_PASS_AGE_CONFIRMATION_REQUIRED]: 'operator_pass.age_confirmation_required',
+ [APIErrorCodes.OPERATOR_PASS_OFFER_UNAVAILABLE]: 'operator_pass.offer_unavailable',
+ [APIErrorCodes.OPERATOR_PASS_OFFER_BUSY]: 'operator_pass.offer_busy',
+ [APIErrorCodes.OPERATOR_PASS_RECIPIENT_NOT_FRIEND]: 'operator_pass.recipient_not_friend',
+ [APIErrorCodes.OPERATOR_PASS_NOT_TRANSFERABLE]: 'operator_pass.not_transferable',
+ [APIErrorCodes.OPERATOR_PASS_LAST_PASS_CONFIRMATION_REQUIRED]: 'operator_pass.last_pass_confirmation_required',
+ [APIErrorCodes.UNKNOWN_OPERATOR_PASS_OFFER]: 'operator_pass.unknown_offer',
+ [APIErrorCodes.UNKNOWN_OPERATOR_PASS_UNIT]: 'operator_pass.unknown_pass',
+ [APIErrorCodes.OPERATOR_PASS_COUNTRY_UNAVAILABLE]: 'operator_pass.country_unavailable',
+ [APIErrorCodes.OPERATOR_PASS_WALL_NAME_REQUIRED]: 'operator_pass.wall_name_required',
+ [APIErrorCodes.OPERATOR_PASS_NOT_HELD]: 'operator_pass.not_held',
+ [APIErrorCodes.UNKNOWN_OPERATOR_PASS_WALL_ENTRY]: 'operator_pass.unknown_wall_entry',
+ [APIErrorCodes.OPERATOR_PASS_RELEASE_ALREADY_PUBLISHED]: 'operator_pass.release_already_published',
+ [APIErrorCodes.OPERATOR_PASS_RELEASE_NOT_READY]: 'operator_pass.release_not_ready',
+ [APIErrorCodes.UNKNOWN_OPERATOR_PASS_RELEASE_ENTRY]: 'operator_pass.unknown_release_entry',
+ [APIErrorCodes.OPERATOR_PASS_NOT_ON_SALE]: 'operator_pass.not_on_sale',
+ [APIErrorCodes.OPERATOR_PASS_PRICE_CHANGED]: 'operator_pass.price_changed',
+ [APIErrorCodes.OPERATOR_PASS_WAITLIST_CLOSED]: 'operator_pass.waitlist_closed',
+ [APIErrorCodes.OPERATOR_PASS_WAITLIST_FOLLOWUP_INVALID]: 'operator_pass.waitlist_followup_invalid',
+ [APIErrorCodes.OPERATOR_PASS_WAITLIST_FOLLOWUP_TOKEN_INVALID]: 'operator_pass.waitlist_followup_token_invalid',
+ [APIErrorCodes.OPERATOR_PASS_WAITLIST_TOKEN_EXPIRED]: 'operator_pass.waitlist_token_expired',
+ [APIErrorCodes.OPERATOR_PASS_WAITLIST_TOKEN_INVALID]: 'operator_pass.waitlist_token_invalid',
+ [APIErrorCodes.OPERATOR_PASS_REMOVAL_LIMITED_FIRST]: 'operator_pass.removal_limited_first',
+ [APIErrorCodes.OPERATOR_PASS_REMOVAL_NOTICE_REQUIRED]: 'operator_pass.removal_notice_required',
+ [APIErrorCodes.OPERATOR_PASS_REMOVED]: 'operator_pass.removed',
+ [APIErrorCodes.OPERATOR_PASS_TERMS_NOT_ACCEPTED]: 'operator_pass.terms_not_accepted',
+ [APIErrorCodes.OPERATOR_PASS_WITHDRAWAL_UNAVAILABLE]: 'operator_pass.withdrawal_unavailable',
+ [APIErrorCodes.PAYMENT_DISPUTE_EXEMPT]: 'stripe.dispute_exempt',
+ [APIErrorCodes.PAYMENT_DISPUTE_REVIEW_CLOSED]: 'stripe.dispute_review_closed',
+ [APIErrorCodes.PAYMENT_DISPUTE_WARNING_TOO_LATE]: 'stripe.dispute_warning_too_late',
+ [APIErrorCodes.UNKNOWN_PAYMENT_DISPUTE_REVIEW]: 'stripe.unknown_dispute_review',
+ [APIErrorCodes.UNKNOWN_OPERATOR_PASS_PURCHASE]: 'operator_pass.unknown_purchase',
[APIErrorCodes.SUDO_MODE_REQUIRED]: 'auth_and_oauth.sudo_mode_required',
+ [APIErrorCodes.SUDO_SECOND_FACTOR_REQUIRED]: 'auth_and_registration.sudo_second_factor_required',
[APIErrorCodes.SYNCED_PREFERENCES_CONFLICT]: 'account.synced_preferences_conflict',
[APIErrorCodes.TAG_ALREADY_TAKEN]: 'usernames_and_tags.tag_already_taken',
[APIErrorCodes.TEMPORARY_INVITE_REQUIRES_PRESENCE]: 'channels_and_guilds.temporary_invite_requires_presence',
@@ -282,17 +340,18 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.TWO_FA_NOT_ENABLED]: 'mfa_and_passkeys.two_factor_not_enabled',
[APIErrorCodes.TWO_FACTOR_REQUIRED]: 'mfa_and_passkeys.two_factor_required',
[APIErrorCodes.UNAUTHORIZED]: 'account.unauthorized',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_ACCEPT_FRIEND_REQUESTS]: 'friends_and_dms.not_friends',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_ADD_REACTIONS]: 'misc.invalid_request_generic',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_CREATE_APPLICATIONS]: 'misc.invalid_request_generic',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_ACCEPT_FRIEND_REQUESTS]: 'account.unclaimed_cannot_accept_friend_requests',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_ADD_REACTIONS]: 'account.unclaimed_cannot_add_reactions',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_CREATE_APPLICATIONS]: 'account.unclaimed_cannot_create_applications',
[APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_CREATE_GUILDS]: 'channels_and_guilds.unclaimed_account_cannot_create_guilds',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_GROUP_DMS]: 'friends_and_dms.cannot_add_yourself_to_group_dm',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_ONE_ON_ONE_VOICE_CALLS]: 'misc.invalid_request_generic',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_VOICE_CHANNELS]: 'misc.invalid_request_generic',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_MAKE_PURCHASES]: 'misc.invalid_request_generic',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_DIRECT_MESSAGES]: 'friends_and_dms.cannot_send_messages_to_user',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS]: 'friends_and_dms.bots_cannot_send_friend_requests',
- [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES]: 'misc.invalid_request_generic',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_GROUP_DMS]: 'account.unclaimed_cannot_join_group_dms',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_ONE_ON_ONE_VOICE_CALLS]: 'account.unclaimed_cannot_join_calls',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_JOIN_VOICE_CHANNELS]: 'account.unclaimed_cannot_join_voice',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_MAKE_PURCHASES]: 'account.unclaimed_cannot_make_purchases',
+ [APIErrorCodes.PURCHASE_RECEIPT_EMAIL_REQUIRED]: 'account.purchase_receipt_email_required',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_DIRECT_MESSAGES]: 'account.unclaimed_cannot_send_direct_messages',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS]: 'account.unclaimed_cannot_send_friend_requests',
+ [APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES]: 'account.unclaimed_cannot_send_messages',
[APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS]:
'moderation_and_reports.unclaimed_account_cannot_submit_reports',
[APIErrorCodes.UNKNOWN_CHANNEL]: 'unknown_entities.unknown_channel',
@@ -347,7 +406,6 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.USER_OWNS_GUILDS]: 'permissions.user_owns_guilds',
[APIErrorCodes.VOICE_CHANNEL_FULL]: 'channels_and_guilds.voice_channel_full',
[APIErrorCodes.WEBAUTHN_CREDENTIAL_LIMIT_REACHED]: 'mfa_and_passkeys.webauthn_credential_limit_reached',
- [APIErrorCodes.AGE_VERIFICATION_ALREADY_VERIFIED]: 'age_verification.already_verified',
[ValidationErrorCodes.MESSAGE_IDS_CANNOT_BE_EMPTY]: 'messages.message_ids_cannot_be_empty',
[ValidationErrorCodes.MESSAGES_ARRAY_REQUIRED_AND_NOT_EMPTY]: 'messages.messages_array_required',
[ValidationErrorCodes.MESSAGES_WITH_SNAPSHOTS_CANNOT_BE_EDITED]: 'messages.messages_with_snapshots_cannot_be_edited',
@@ -400,6 +458,7 @@ export const ErrorCodeToI18nKey = {
[ValidationErrorCodes.UNRESOLVED_ATTACHMENT_URL]: 'attachments_and_uploads.unresolved_attachment_url',
[ValidationErrorCodes.UPLOADED_ATTACHMENT_NOT_FOUND]: 'attachments_and_uploads.uploaded_attachment_not_found',
[ValidationErrorCodes.URL_LENGTH_INVALID]: 'urls.url_length_invalid',
+ [ValidationErrorCodes.URL_MUST_USE_HTTPS]: 'urls.url_must_use_https',
[ValidationErrorCodes.URL_NOT_PUBLICLY_ROUTABLE]: 'urls.url_not_publicly_routable',
[ValidationErrorCodes.ACCENT_COLOR_CHANGED_TOO_MANY_TIMES]: 'rate_limits.accent_color_changed_too_often',
[ValidationErrorCodes.AVATAR_CHANGED_TOO_MANY_TIMES]: 'rate_limits.avatar_changed_too_often',
@@ -414,6 +473,15 @@ export const ErrorCodeToI18nKey = {
[ValidationErrorCodes.DISCRIMINATOR_NOT_SUPPORTED_ON_INSTANCE]:
'usernames_and_tags.discriminator_not_supported_on_instance',
[ValidationErrorCodes.TAG_STYLE_REQUIRES_EMAIL_SIGN_IN]: 'usernames_and_tags.tag_style_requires_email_sign_in',
+ [ValidationErrorCodes.INSTANT_ACCOUNTS_REQUIRE_CAPTCHA]: 'admin_and_system.instant_accounts_require_captcha',
+ [ValidationErrorCodes.CAPTCHA_REQUIRED_BY_INSTANT_ACCOUNTS]: 'admin_and_system.captcha_required_by_instant_accounts',
+ [ValidationErrorCodes.IDENTIFIER_FIRST_REQUIRES_EMAIL_IDENTITY]:
+ 'admin_and_system.identifier_first_requires_email_identity',
+ [ValidationErrorCodes.EMAIL_DELIVERY_REQUIRES_EMAIL_IDENTITY]:
+ 'admin_and_system.email_delivery_requires_email_identity',
+ [ValidationErrorCodes.SMTP_HOST_REQUIRED]: 'admin_and_system.smtp_host_required',
+ [ValidationErrorCodes.VERIFICATION_BASIS_REQUIRES_EMAIL_DELIVERY]:
+ 'admin_and_system.verification_basis_requires_email_delivery',
[ValidationErrorCodes.DISCRIMINATOR_OUT_OF_RANGE]: 'usernames_and_tags.discriminator_out_of_range',
[ValidationErrorCodes.GLOBAL_NAME_CANNOT_CONTAIN_RESERVED_TERMS]: 'usernames_and_tags.display_name_reserved_terms',
[ValidationErrorCodes.GLOBAL_NAME_LENGTH_INVALID]: 'usernames_and_tags.global_name_length_invalid',
@@ -466,6 +534,11 @@ export const ErrorCodeToI18nKey = {
[ValidationErrorCodes.SESSION_TIMEOUT]: 'account.session_timeout',
[ValidationErrorCodes.SETUP_TOKEN_INVALID]: 'auth_and_registration.setup_token_invalid',
[ValidationErrorCodes.SETUP_TOKEN_REQUIRED]: 'auth_and_registration.setup_token_required',
+ [ValidationErrorCodes.SSO_ACCOUNT_LINKED_TO_ANOTHER_IDENTITY]:
+ 'auth_and_oauth.sso_account_linked_to_another_identity',
+ [ValidationErrorCodes.SSO_EMAIL_NOT_VERIFIED]: 'auth_and_oauth.sso_email_not_verified',
+ [ValidationErrorCodes.SSO_IDENTITY_LINKED_TO_ANOTHER_ACCOUNT]:
+ 'auth_and_oauth.sso_identity_linked_to_another_account',
[ValidationErrorCodes.SSO_IDENTITY_MISMATCH]: 'auth_and_oauth.sso_identity_mismatch',
[ValidationErrorCodes.SSO_MISCONFIGURED]: 'auth_and_oauth.sso_misconfigured',
[ValidationErrorCodes.SSO_PROVIDER_DID_NOT_RETURN_EMAIL]: 'auth_and_oauth.sso_provider_did_not_return_email',
@@ -476,12 +549,8 @@ export const ErrorCodeToI18nKey = {
[ValidationErrorCodes.VERIFICATION_CODE_NOT_ISSUED]: 'email.verification_code_not_issued',
[ValidationErrorCodes.CANNOT_DM_YOURSELF]: 'friends_and_dms.cannot_dm_yourself',
[ValidationErrorCodes.CANNOT_ADD_YOURSELF_TO_GROUP_DM]: 'friends_and_dms.cannot_add_yourself_to_group_dm',
- [ValidationErrorCodes.AT_LEAST_ONE_RECIPIENT_REQUIRED]: 'friends_and_dms.at_least_one_recipient_required',
[ValidationErrorCodes.DUPLICATE_RECIPIENTS_NOT_ALLOWED]: 'friends_and_dms.duplicate_recipients_not_allowed',
[ValidationErrorCodes.RECIPIENT_IDS_CANNOT_BE_EMPTY]: 'friends_and_dms.recipient_ids_cannot_be_empty',
- [ValidationErrorCodes.RECIPIENT_IDS_MUST_BE_STRINGS]: 'friends_and_dms.recipient_ids_must_be_strings',
- [ValidationErrorCodes.RECIPIENT_IDS_MUST_BE_VALID_SNOWFLAKES]:
- 'friends_and_dms.recipient_ids_must_be_valid_snowflakes',
[ValidationErrorCodes.CHANNEL_DOES_NOT_EXIST]: 'channels_and_guilds.channel_not_found',
[ValidationErrorCodes.CHANNEL_ID_IS_REQUIRED]: 'channels_and_guilds.channel_id_required',
[ValidationErrorCodes.CHANNEL_MUST_BE_DM_OR_GROUP_DM]: 'channels_and_guilds.channel_must_be_dm_or_group_dm',
@@ -556,6 +625,7 @@ export const ErrorCodeToI18nKey = {
'mfa_and_passkeys.must_enable_2fa_before_enforcing_for_mods',
[ValidationErrorCodes.TOTP_NOT_ENABLED]: 'mfa_and_passkeys.totp_not_enabled',
[ValidationErrorCodes.NAME_EMPTY_AFTER_NORMALIZATION]: 'names_and_normalization.name_empty_after_normalization',
+ [ValidationErrorCodes.SEARCH_FILTER_NEEDS_MEMBERSHIP]: 'channels_and_guilds.search_filter_needs_membership',
[ValidationErrorCodes.SNOWFLAKE_OUT_OF_RANGE]: 'misc.invalid_snowflake',
[ValidationErrorCodes.STRING_LENGTH_EXACT]: 'limits.string_length_exact',
[ValidationErrorCodes.TICKET_ALREADY_COMPLETED]: 'tickets.ticket_already_completed',
diff --git a/packages/errors/src/i18n/ErrorI18nMessages.ts b/packages/errors/src/i18n/ErrorI18nMessages.ts
index 02bd7338f..a9c962cd4 100644
--- a/packages/errors/src/i18n/ErrorI18nMessages.ts
+++ b/packages/errors/src/i18n/ErrorI18nMessages.ts
@@ -1,10 +1,33 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
export const ERROR_I18N_MESSAGES = {
+ 'account.already_claimed': 'This account is already set up to sign in from other devices.',
+ 'account.below_minimum_age': "You aren't old enough to have an account here.",
+ 'account.date_of_birth_already_set': 'Your date of birth is already set.',
+ 'account.date_of_birth_required': 'Enter your date of birth to continue.',
+ 'account.password_required_to_claim':
+ "{reason, select, email_delivery_off {Set a password to keep this account. This instance can't send email codes.} local_credential_basis {Set a password to keep this account. This instance asks every account for a password or passkey.} other {Set a password to keep this account.}}",
+ 'account.unclaimed_cannot_accept_friend_requests': 'Claim your account to accept friend requests.',
+ 'account.unclaimed_cannot_add_reactions': 'Claim your account to add reactions.',
+ 'account.unclaimed_cannot_create_applications': 'Claim your account to create applications.',
+ 'account.unclaimed_cannot_join_calls': 'Claim your account to start or join calls.',
+ 'account.unclaimed_cannot_join_group_dms': 'Claim your account to join group chats.',
+ 'account.unclaimed_cannot_join_voice': 'Claim your account to join voice channels.',
+ 'account.purchase_receipt_email_required':
+ "Purchases need an email address to send receipts to, and this account doesn't have one.",
+ 'account.unclaimed_cannot_make_purchases': 'Claim your account to make purchases.',
+ 'account.unclaimed_cannot_send_direct_messages': 'Claim your account to send direct messages.',
+ 'account.unclaimed_cannot_send_friend_requests': 'Claim your account to send friend requests.',
+ 'account.unclaimed_cannot_send_messages': 'Claim your account to send messages.',
+ 'account.use_claim_route': 'Add an email address to your account first.',
+ 'account.verification_required':
+ '{need, select, add_email {{action, select, message {Add an email to your account to send messages.} typing {Add an email to your account to send messages.} reaction {Add an email to your account to add reactions.} direct_message {Add an email to your account to send direct messages.} direct_message_open {Add an email to your account to start direct messages.} group_dm {Add an email to your account to join group chats.} friend_request {Add an email to your account to send friend requests.} friend_accept {Add an email to your account to accept friend requests.} invite_create {Add an email to your account to create invites.} guild_join {Add an email to your account to join this community.} guild_create {Add an email to your account to create a community.} voice {Add an email to your account to join voice channels.} call {Add an email to your account to start calls.} group_call {Add an email to your account to join group calls.} thread_join {Add an email to your account to join threads.} channel_follow {Add an email to your account to follow channels.} ownership_transfer {This person needs to add an email to their account before they can own a community.} application_create {Add an email to your account to create applications.} gift_redeem {Add an email to your account to redeem gifts.} profile_customize {Add an email to your account to change your profile.} report {Add an email to your account to submit reports.} mfa {Add an email to your account to turn on two-factor authentication.} guild_verification {Add an email to your account to talk in this community.} other {Add an email to your account to do this.}}} confirm_email {{action, select, message {Confirm your email to send messages.} typing {Confirm your email to send messages.} reaction {Confirm your email to add reactions.} direct_message {Confirm your email to send direct messages.} direct_message_open {Confirm your email to start direct messages.} group_dm {Confirm your email to join group chats.} friend_request {Confirm your email to send friend requests.} friend_accept {Confirm your email to accept friend requests.} invite_create {Confirm your email to create invites.} guild_join {Confirm your email to join this community.} guild_create {Confirm your email to create a community.} voice {Confirm your email to join voice channels.} call {Confirm your email to start calls.} group_call {Confirm your email to join group calls.} thread_join {Confirm your email to join threads.} channel_follow {Confirm your email to follow channels.} ownership_transfer {This person needs to confirm their email before they can own a community.} application_create {Confirm your email to create applications.} gift_redeem {Confirm your email to redeem gifts.} profile_customize {Confirm your email to change your profile.} report {Confirm your email to submit reports.} mfa {Confirm your email to turn on two-factor authentication.} guild_verification {Confirm your email to talk in this community.} other {Confirm your email to do this.}}} password {{action, select, message {Set a password to send messages.} typing {Set a password to send messages.} reaction {Set a password to add reactions.} direct_message {Set a password to send direct messages.} direct_message_open {Set a password to start direct messages.} group_dm {Set a password to join group chats.} friend_request {Set a password to send friend requests.} friend_accept {Set a password to accept friend requests.} invite_create {Set a password to create invites.} guild_join {Set a password to join this community.} guild_create {Set a password to create a community.} voice {Set a password to join voice channels.} call {Set a password to start calls.} group_call {Set a password to join group calls.} thread_join {Set a password to join threads.} channel_follow {Set a password to follow channels.} ownership_transfer {This person needs to set a password before they can own a community.} application_create {Set a password to create applications.} gift_redeem {Set a password to redeem gifts.} profile_customize {Set a password to change your profile.} report {Set a password to submit reports.} mfa {Set a password to turn on two-factor authentication.} guild_verification {Set a password to talk in this community.} other {Set a password to do this.}}} other {{action, select, message {Claim your account to send messages.} typing {Claim your account to send messages.} reaction {Claim your account to add reactions.} direct_message {Claim your account to send direct messages.} direct_message_open {Claim your account to start direct messages.} group_dm {Claim your account to join group chats.} friend_request {Claim your account to send friend requests.} friend_accept {Claim your account to accept friend requests.} invite_create {Claim your account to create invites.} guild_join {Claim your account to join this community.} guild_create {Claim your account to create a community.} voice {Claim your account to join voice channels.} call {Claim your account to start calls.} group_call {Claim your account to join group calls.} thread_join {Claim your account to join threads.} channel_follow {Claim your account to follow channels.} ownership_transfer {This person needs to claim their account before they can own a community.} application_create {Claim your account to create applications.} gift_redeem {Claim your account to redeem gifts.} profile_customize {Claim your account to change your profile.} report {Claim your account to submit reports.} mfa {Claim your account to turn on two-factor authentication.} guild_verification {Claim your account to talk in this community.} other {Claim your account to do this.}}}}',
'account.communication_disabled': 'Communication is disabled.',
'account.email_verification_required': 'Email verification is required for this action.',
- 'account.guild_verification_required': 'Community verification is required.',
+ 'account.guild_verification_required':
+ "{reason, select, membership_age {You can talk here once you've been a member for 10 minutes.} other {Claim your account to talk in this community.}}",
'account.ip_authorization_required': 'IP authorization is required.',
+ 'account.mfa_email_verification_required': 'Confirm your email address to use two-factor authentication or passkeys.',
'account.limited': 'Messaging is paused on your account. Check your email for a quick step to continue.',
'account.sensitive_content_filter_age_restricted':
"This sensitive content filter isn't available for your age group.",
@@ -17,6 +40,14 @@ export const ERROR_I18N_MESSAGES = {
'account.trusted_domains_wildcard_conflict': "The wildcard (*) can't be combined with specific domains.",
'account.unauthorized': 'Unauthorized.',
'admin_and_system.acls_must_be_non_empty': 'ACLs must be non-empty.',
+ 'admin_and_system.captcha_required_by_instant_accounts': 'Turn off instant accounts before turning off the captcha.',
+ 'admin_and_system.identifier_first_requires_email_identity':
+ 'Email-first sign-in only works when people sign in with an email.',
+ 'admin_and_system.email_delivery_requires_email_identity':
+ 'Email delivery only works when people sign in with an email.',
+ 'admin_and_system.verification_basis_requires_email_delivery':
+ 'Accounts can only be verified by a confirmed email while email delivery is on.',
+ 'admin_and_system.instant_accounts_require_captcha': 'Turn on the captcha before allowing instant accounts.',
'admin_and_system.instance_policy_transition_not_allowed': 'This instance policy change is not allowed.',
'admin_and_system.admin_api_key_not_found': "Admin API key wasn't found.",
'admin_and_system.deletion_failed': "We couldn't delete the resource. Please try again.",
@@ -63,6 +94,7 @@ export const ERROR_I18N_MESSAGES = {
'This flag is part of a restriction. Change it through the suspension, deletion or feature limit routes.',
'admin_and_system.general_error': 'Something went wrong. Please try again later.',
'admin_and_system.invalid_acls_format': 'Invalid ACL format.',
+ 'admin_and_system.invalid_allowed_domain': '"{domain}" isn\'t a valid domain.',
'admin_and_system.invalid_api_origin': 'Invalid API origin.',
'admin_and_system.invalid_audit_log_reason': 'Invalid audit log reason.',
'admin_and_system.invalid_bot_flag': 'Invalid bot flag.',
@@ -82,11 +114,11 @@ export const ERROR_I18N_MESSAGES = {
'admin_and_system.processing_failed': "We couldn't process the request. Please try again.",
'admin_and_system.response_validation_failed': 'Response validation failed: {errors}.',
'admin_and_system.resource_locked': 'This resource is being modified. Please try again shortly.',
+ 'admin_and_system.smtp_host_required': 'Enter an SMTP server before turning on email delivery.',
'admin_and_system.test_harness_disabled': 'Test harness is disabled.',
'admin_and_system.test_harness_forbidden': 'Test harness is forbidden.',
'admin_and_system.update_failed': "We couldn't update the resource. Please try again.",
'admin_and_system.user_must_be_bot_for_system_user': 'User must be a bot to be marked as a system user.',
- 'age_verification.already_verified': "You've already completed age verification.",
'attachments_and_uploads.attachment_must_be_image':
'Attachment "{filename}" must be an image file (png, jpg, jpeg, webp, or gif).',
'attachments_and_uploads.attachment_not_found_in_message':
@@ -149,14 +181,23 @@ export const ERROR_I18N_MESSAGES = {
'auth_and_oauth.origin_handoff_nonce_invalid': "This sign-in transfer doesn't match the one you started.",
'auth_and_oauth.passkey_bridge_nonce_invalid': 'This passkey request could not be confirmed. Try again.',
'auth_and_oauth.registration_closed': 'Registration is closed on this instance.',
+ 'auth_and_oauth.registration_credential_required':
+ "Choose a password to sign up. This instance can't send email codes to confirm your address.",
'auth_and_oauth.registration_credentials_required':
'This instance reviews new accounts. Sign up from the sign-up page with a password so you can sign in once approved.',
'auth_and_oauth.registration_pending_approval': 'This registration is waiting for admin approval.',
'auth_and_oauth.registration_rejected': 'This registration request was rejected.',
'auth_and_oauth.registration_url_invalid': 'This registration link is invalid or has expired.',
+ 'auth_and_oauth.sso_account_linked_to_another_identity':
+ 'This account is already linked to a different SSO identity.',
+ 'auth_and_oauth.sso_email_not_verified': 'Your SSO provider has not verified your email address.',
+ 'auth_and_oauth.sso_identity_linked_to_another_account':
+ 'This SSO identity is already linked to a different account.',
'auth_and_oauth.sso_identity_mismatch': 'SSO identity mismatch between id_token and userinfo.',
'auth_and_oauth.sso_misconfigured': 'SSO is misconfigured. Please contact your administrator.',
'auth_and_oauth.sso_provider_did_not_return_email': "Your SSO provider didn't return an email address.",
+ 'auth_and_oauth.sso_required':
+ "{reason, select, managed_credentials {This instance requires single sign-on, so your SSO provider manages your email and password.} no_account {This instance only lets existing accounts sign in with SSO, and there's no account for you yet. Ask an admin of this instance for access.} other {This instance requires single sign-on. Sign in with the SSO button on the sign-in page.}}",
'auth_and_oauth.sso_test_code_missing_email': 'SSO test code is missing the email payload.',
'auth_and_oauth.sso_unable_to_allocate_discriminator':
"We couldn't allocate a discriminator for your SSO account. Please try again.",
@@ -165,6 +206,18 @@ export const ERROR_I18N_MESSAGES = {
'auth_and_oauth.unknown_origin_handoff': 'This sign-in transfer has expired or was already used.',
'auth_and_oauth.unknown_passkey_bridge': 'This passkey request has expired. Try again.',
'auth_and_oauth.unknown_passkey_migration': 'There is no passkey to update right now.',
+ 'auth_and_registration.email_code_resend_cooldown': 'Wait a moment before asking for another code.',
+ 'auth_and_registration.sudo_second_factor_required':
+ "Confirm it's you with your authenticator app, passkey or a backup code.",
+ 'auth_and_registration.email_codes_unavailable': "This instance can't send email codes. Use your password instead.",
+ 'auth_and_registration.password_sign_in_required': 'Sign in to this account with its password.',
+ 'auth_and_registration.instant_accounts_disabled':
+ "Creating an account from just a display name isn't available right now.",
+ 'auth_and_registration.invalid_account_handoff_nonce': "This sign-up link isn't valid.",
+ 'auth_and_registration.invalid_sign_in_code': "That code isn't right. Check it and try again.",
+ 'auth_and_registration.sign_in_code_expired': 'This code has expired. Ask for a new one.',
+ 'auth_and_registration.unknown_account_handoff': 'This sign-up link has expired or was already used.',
+ 'auth_and_registration.unknown_sign_in_ticket': 'This sign-in attempt has expired. Start again.',
'auth_and_registration.account_identity_locked': "The sign-in method is already set and can't be changed.",
'auth_and_registration.instance_address_required':
'This instance uses usernames. Enter the username you want followed by @{host}.',
@@ -219,6 +272,7 @@ export const ERROR_I18N_MESSAGES = {
'channels_and_guilds.follow_target_not_age_restricted':
'Updates from an age-restricted channel can only go to an age-restricted channel.',
'channels_and_guilds.invalid_follow_target_channel': 'Followed channels can only post into text channels.',
+ 'channels_and_guilds.search_filter_needs_membership': 'Join this community to search by person or mention.',
'channels_and_guilds.single_community_cannot_create_guilds':
'This instance is a single community, so additional communities cannot be created.',
'channels_and_guilds.single_community_cannot_delete': 'The community for this instance cannot be deleted.',
@@ -239,7 +293,7 @@ export const ERROR_I18N_MESSAGES = {
'channels_and_guilds.channel_not_found': 'Channel not found.',
'channels_and_guilds.context_channel_or_guild_required': 'A context channel or community ID is required.',
'channels_and_guilds.discoverable_guild_verification_level_too_low':
- 'Discoverable communities must have a verification level of at least Low.',
+ 'Communities listed in Explore must have a verification level of at least Low.',
'channels_and_guilds.group_dm_mature_content_ineligible':
'Not everyone in this group is eligible for mature content.',
'channels_and_guilds.group_dm_recipients_not_addable': "One or more selected users can't be added to this group DM.",
@@ -250,6 +304,9 @@ export const ERROR_I18N_MESSAGES = {
'channels_and_guilds.guild_id_must_match_referenced_message':
'Community ID must match the community containing the channel the referenced message was fetched from.',
'channels_and_guilds.guild_template_invalid': 'The community template data is invalid or malformed.',
+ 'channels_and_guilds.guild_visit_age_restricted': 'This community is for adults only.',
+ 'channels_and_guilds.guild_visit_not_found': "You're not previewing this community anymore.",
+ 'channels_and_guilds.guild_visits_disabled': 'This community asks people to join before previewing it.',
'channels_and_guilds.invalid_channel_id': 'Invalid channel ID: {channelId}.',
'channels_and_guilds.invalid_channel_type': 'Invalid channel type.',
'channels_and_guilds.invalid_channel_type_for_call': 'Calls can only be made in direct messages or group DMs.',
@@ -279,8 +336,7 @@ export const ERROR_I18N_MESSAGES = {
'channels_and_guilds.system_channel_must_be_in_guild': 'System channel must be in this community.',
'channels_and_guilds.system_channel_must_be_text': 'System channel must be a text channel.',
'channels_and_guilds.temporary_invite_requires_presence': 'Temporary invite requires presence.',
- 'channels_and_guilds.unclaimed_account_cannot_create_guilds':
- 'You need to complete your account setup before you can create communities.',
+ 'channels_and_guilds.unclaimed_account_cannot_create_guilds': 'Claim your account to create communities.',
'channels_and_guilds.vanity_url_requires_feature': 'Vanity URL requires VANITY_URL feature.',
'channels_and_guilds.voice_channel_full': 'Voice channel is full.',
'channels_and_guilds.voice_channels_cannot_be_above_text_channels':
@@ -300,26 +356,65 @@ export const ERROR_I18N_MESSAGES = {
'content_and_safety.content_blocked': 'This content was blocked by safety systems.',
'content_and_safety.explicit_content_cannot_be_sent': "Explicit content can't be sent.",
'content_and_safety.nsfw_age_restricted': 'NSFW content is age restricted.',
- 'discovery.already_applied': 'This community has already applied for Discovery.',
- 'discovery.application_already_reviewed': 'This Discovery application has already been reviewed.',
- 'discovery.application_not_found': "Discovery application wasn't found.",
- 'discovery.disabled': "Discovery isn't available on this instance.",
- 'discovery.insufficient_members': "This community doesn't meet the minimum member count for Discovery.",
- 'discovery.not_discoverable': "This community isn't listed in Discovery.",
+ 'discovery.already_applied': 'This community has already applied to be listed in Explore.',
+ 'discovery.application_already_reviewed': 'This application to Explore has already been reviewed.',
+ 'discovery.application_not_found': "The application to Explore wasn't found.",
+ 'discovery.disabled': "Explore isn't available on this instance.",
+ 'discovery.insufficient_members': "This community doesn't have enough members to be listed in Explore.",
+ 'discovery.not_discoverable': "This community isn't listed in Explore.",
'donation.amount_invalid': 'Donation amount is invalid.',
'donation.magic_link_expired': 'Magic link has expired.',
'donation.magic_link_invalid': 'Magic link is invalid.',
'donation.magic_link_used': 'Magic link has already been used.',
+ 'operator_pass.offer_unavailable': 'This pass cannot be passed on to that account right now.',
+ 'operator_pass.offer_busy': 'Another offer from your account is still being sent. Try again in a moment.',
+ 'operator_pass.recipient_not_friend': 'You can only pass this on to one of your friends on Fluxer.',
+ 'operator_pass.not_transferable':
+ 'This pass cannot be passed on. A pass you received, or one that comes with Visionary, stays with you.',
+ 'operator_pass.last_pass_confirmation_required':
+ "This is your only pass. Confirm that passing it on removes your badge and your name on the Operators' wall.",
+ 'operator_pass.unknown_offer': 'Unknown Operator Pass offer.',
+ 'operator_pass.unknown_pass': 'Unknown Operator Pass.',
+ 'operator_pass.age_confirmation_required':
+ 'To buy more than one pass, confirm that you are 18 or older, or that you have permission from a parent or guardian.',
+ 'operator_pass.country_unavailable': 'You cannot buy the Operator Pass in your country right now.',
+ 'operator_pass.waiver_required': 'Confirm that you want the Operator Pass delivered right away.',
+ 'operator_pass.wall_name_required': "Enter a name for the Operators' wall, or choose not to be listed.",
+ 'operator_pass.not_held': "This account doesn't have the Operator Pass.",
+ 'operator_pass.unknown_wall_entry': "This account has no name on the Operators' wall.",
+ 'operator_pass.release_already_published': 'This Operators list has already been published.',
+ 'operator_pass.release_not_ready': 'This Operators list cannot be published before its cut-off date.',
+ 'operator_pass.unknown_release_entry': 'This account is not in that published Operators list.',
+ 'operator_pass.not_on_sale': 'You cannot buy the Operator Pass yet.',
+ 'operator_pass.price_changed': 'The Operator Pass price has changed. Check the new price and try again.',
+ 'operator_pass.waitlist_closed': 'The Operator Pass waitlist is closed because you can get the pass now.',
+ 'operator_pass.waitlist_followup_invalid':
+ 'Choose from the listed options. You can add your own answer only with "Other", in up to 500 characters.',
+ 'operator_pass.waitlist_followup_token_invalid':
+ 'This answer can no longer be saved. Your waitlist signup is not affected.',
+ 'operator_pass.waitlist_token_expired': 'This waitlist link has expired.',
+ 'operator_pass.waitlist_token_invalid': 'This waitlist link is invalid.',
+ 'operator_pass.removal_limited_first':
+ 'A permanent removal for a breach that is not serious needs an earlier removal for a limited time.',
+ 'operator_pass.removal_notice_required':
+ 'A permanent removal needs a notice sent at least 7 days earlier, unless the breach is serious.',
+ 'operator_pass.removed': 'The Operator Pass was removed from this account, so it cannot be bought or redeemed again.',
+ 'operator_pass.terms_not_accepted': 'Accept the Operator Pass terms to get this pass.',
+ 'operator_pass.withdrawal_unavailable': 'This purchase can no longer be withdrawn from here.',
+ 'operator_pass.unknown_purchase': 'Unknown Operator Pass purchase.',
'email.domain_cannot_receive_mail':
'That email domain cannot receive mail. Use an address on a domain that accepts email.',
+ 'email.domain_not_allowed': 'This instance only accepts email addresses from certain domains.',
'email.email_already_in_use': 'Email is already in use.',
'email.email_required': 'Email is required.',
+ 'email.email_delivery_off': "This instance doesn't send email. Create a password reset link instead.",
'email.email_service_not_testable': 'Email service is temporarily unavailable. Please try again later.',
'email.invalid_format': 'Invalid email address format.',
'email.invalid_or_expired_reset_token': 'Invalid or expired password reset token.',
'email.invalid_or_expired_revert_token': 'Invalid or expired revert token.',
'email.invalid_or_expired_verification_token': 'Invalid or expired verification token.',
- 'email.invalid_or_password': 'Invalid email or password.',
+ 'email.invalid_or_password':
+ 'Check your email and password. If you usually sign in with an email code, use Forgot password to set a password, or update the app.',
'email.invalid_token': 'Invalid email token.',
'email.invalid_verification_code': 'Invalid verification code.',
'email.length_invalid': 'Email address must be between {min} and {max} characters.',
@@ -345,9 +440,9 @@ export const ERROR_I18N_MESSAGES = {
'feature_flags.feature_not_available_self_hosted': "This feature isn't available on self-hosted instances.",
'feature_flags.feature_temporarily_disabled': 'This feature is temporarily disabled.',
'friends_and_dms.already_friends': "You're already friends with this user.",
- 'friends_and_dms.direct_messages_disabled': 'Direct messages and friend requests are disabled on this instance.',
+ 'friends_and_dms.direct_messages_disabled': 'Direct messages are disabled on this instance.',
+ 'friends_and_dms.friends_disabled': 'Friend requests are disabled on this instance.',
'friends_and_dms.new_conversations_limited': "You can't start new conversations right now. Please try again later.",
- 'friends_and_dms.at_least_one_recipient_required': 'At least one recipient is required.',
'friends_and_dms.bots_cannot_send_friend_requests': "Bots can't send friend requests.",
'friends_and_dms.cannot_add_yourself_to_group_dm': "You can't add yourself to a group DM.",
'friends_and_dms.cannot_block_system_user': "You can't block the system user.",
@@ -359,8 +454,6 @@ export const ERROR_I18N_MESSAGES = {
'friends_and_dms.friend_request_blocked': 'User does not accept friend requests at this time.',
'friends_and_dms.not_friends': "You're not friends with this user.",
'friends_and_dms.recipient_ids_cannot_be_empty': "Recipient IDs can't be empty.",
- 'friends_and_dms.recipient_ids_must_be_strings': 'Recipient IDs must be strings.',
- 'friends_and_dms.recipient_ids_must_be_valid_snowflakes': 'Recipient IDs must be valid snowflakes.',
'harvest.expired': 'Your data export request has expired. Please request a new export.',
'harvest.failed': 'Your data export request failed. Please try again.',
'harvest.not_ready': 'Your data export is still being prepared. Please check back in a few moments.',
@@ -471,8 +564,7 @@ export const ERROR_I18N_MESSAGES = {
'moderation_and_reports.report_outcome_invalid':
'An actioned resolution needs an outcome other than no violation. A duplicate needs the report it repeats and takes no outcome. A no violation resolution takes no other outcome.',
'moderation_and_reports.report_under_legal_hold': "This report is under a legal hold and can't be deleted.",
- 'moderation_and_reports.unclaimed_account_cannot_submit_reports':
- 'You need to complete your account setup before you can submit reports.',
+ 'moderation_and_reports.unclaimed_account_cannot_submit_reports': 'Claim your account to submit reports.',
'moderation_and_reports.unknown_enforcement_decision': 'Unknown enforcement decision.',
'moderation_and_reports.unknown_report': 'Unknown report.',
'moderation_and_reports.user_is_not_banned': "This user isn't banned.",
@@ -490,7 +582,7 @@ export const ERROR_I18N_MESSAGES = {
'permissions.user_owns_guilds': 'This user owns communities.',
'premium_and_plans.animated_avatars_require_premium': 'Animated avatars require Premium.',
'premium_and_plans.banners_require_premium': 'Banners require Premium.',
- 'premium_and_plans.cannot_redeem_plutonium_with_visionary': "You can't redeem {premium_tier_name} with Visionary.",
+ 'premium_and_plans.cannot_redeem_plutonium_with_visionary': 'You already have lifetime {premium_tier_name}.',
'premium_and_plans.custom_emojis_outside_source_require_premium':
"You can't use custom emojis outside their source communities without Premium.",
'premium_and_plans.custom_stickers_in_dms_require_premium': "You can't use custom stickers in DMs without Premium.",
@@ -542,6 +634,9 @@ export const ERROR_I18N_MESSAGES = {
'store_billing.purchase_sandbox_not_entitled': 'Test purchases cannot be applied to this account.',
'store_billing.unavailable': 'In-app purchases are unavailable right now. Try again later.',
'store_billing.unknown_purchase': 'Unknown store purchase.',
+ 'stripe.dispute_exempt': 'Our terms rule out any action on this payment dispute.',
+ 'stripe.dispute_review_closed': 'This payment dispute has already closed.',
+ 'stripe.dispute_warning_too_late': "The bank's deadline is too close to warn the account in time.",
'stripe.error':
'{supportEmail, select, null {Payment processing encountered an error. Please try again or contact the administrators of this instance.} other {Payment processing encountered an error. Please try again or contact support.}}',
'stripe.invalid_product_configuration': 'Invalid product configuration.',
@@ -555,6 +650,7 @@ export const ERROR_I18N_MESSAGES = {
'stripe.refund_outside_window': 'This purchase is outside the 3-day self-serve refund window.',
'stripe.subscription_already_canceling': 'Subscription is already set to cancel at period end.',
'stripe.subscription_not_canceling': "Subscription isn't set to cancel.",
+ 'stripe.unknown_dispute_review': 'Unknown payment dispute review.',
'stripe.webhook_not_available': "Webhook processing isn't available.",
'stripe.webhook_signature_invalid': 'Stripe webhook signature is invalid.',
'stripe.webhook_signature_missing': 'Stripe webhook signature is missing.',
@@ -574,8 +670,8 @@ export const ERROR_I18N_MESSAGES = {
'threads.thread_archived': 'This thread is archived.',
'threads.thread_locked': 'This thread is locked.',
'tickets.ticket_already_completed': 'This ticket has already been completed.',
- 'tos_and_age.date_of_birth_format_invalid': 'Invalid date of birth format.',
- 'tos_and_age.must_agree_to_tos_and_privacy': 'You must agree to the Terms of service and Privacy policy.',
+ 'tos_and_age.date_of_birth_format_invalid': 'Enter your real date of birth.',
+ 'tos_and_age.must_agree_to_tos_and_privacy': 'You need to accept the terms of service to create an account.',
'tos_and_age.must_be_minimum_age':
'You must be at least {minAge, plural, one {# year} other {# years}} old to create an account.',
'unknown_entities.unknown_channel': "Channel wasn't found.",
@@ -591,6 +687,7 @@ export const ERROR_I18N_MESSAGES = {
'urls.invalid_url_format': 'Invalid URL format.',
'urls.invalid_url_or_attachment_reference': 'Invalid URL format or attachment reference.',
'urls.url_length_invalid': 'URL must be between {min} and {max} characters.',
+ 'urls.url_must_use_https': 'URL must start with https://.',
'urls.url_not_publicly_routable': 'URL must resolve to a publicly routable address.',
'usernames_and_tags.discriminator_invalid_format': 'Discriminator must be {min}–{max} digits.',
'usernames_and_tags.tag_style_requires_email_sign_in': 'Tags are only available when people sign in with email.',
@@ -606,7 +703,7 @@ export const ERROR_I18N_MESSAGES = {
'usernames_and_tags.too_many_users_with_username_try_different':
'There are too many users with this username. Try a different username.',
'usernames_and_tags.unclaimed_accounts_can_only_set_email_via_token':
- 'Unclaimed accounts can only set an email address using a token.',
+ '{need, select, add_email {Add an email to your account before changing your profile.} confirm_email {Confirm your email before changing your profile.} password {Set a password to keep this account before changing your profile.} other {Claim your account before changing your profile.}}',
'usernames_and_tags.username_already_taken': 'This username is already taken.',
'usernames_and_tags.username_invalid_characters':
'Username can only contain Latin letters (a-z, A-Z), numbers (0-9), and underscores (_).',
diff --git a/packages/errors/src/i18n/weblate/messages.json b/packages/errors/src/i18n/weblate/messages.json
index 1101c97d5..48b09a746 100644
--- a/packages/errors/src/i18n/weblate/messages.json
+++ b/packages/errors/src/i18n/weblate/messages.json
@@ -1,9 +1,16 @@
{
+ "account.already_claimed": "This account is already set up to sign in from other devices.",
+ "account.below_minimum_age": "You aren't old enough to have an account here.",
"account.communication_disabled": "Communication is disabled.",
+ "account.date_of_birth_already_set": "Your date of birth is already set.",
+ "account.date_of_birth_required": "Enter your date of birth to continue.",
"account.email_verification_required": "Email verification is required for this action.",
- "account.guild_verification_required": "Community verification is required.",
+ "account.guild_verification_required": "{reason, select, membership_age {You can talk here once you've been a member for 10 minutes.} other {Claim your account to talk in this community.}}",
"account.ip_authorization_required": "IP authorization is required.",
"account.limited": "Messaging is paused on your account. Check your email for a quick step to continue.",
+ "account.mfa_email_verification_required": "Confirm your email address to use two-factor authentication or passkeys.",
+ "account.password_required_to_claim": "{reason, select, email_delivery_off {Set a password to keep this account. This instance can't send email codes.} local_credential_basis {Set a password to keep this account. This instance asks every account for a password or passkey.} other {Set a password to keep this account.}}",
+ "account.purchase_receipt_email_required": "Purchases need an email address to send receipts to, and this account doesn't have one.",
"account.sensitive_content_filter_age_restricted": "This sensitive content filter isn't available for your age group.",
"account.session_timeout": "Session timed out. Refresh the page and log in again.",
"account.session_token_mismatch": "Session token mismatch.",
@@ -13,9 +20,23 @@
"account.too_new_for_guild": "Your account is too new to send messages in this community.",
"account.trusted_domains_wildcard_conflict": "The wildcard (*) can't be combined with specific domains.",
"account.unauthorized": "Unauthorized.",
+ "account.unclaimed_cannot_accept_friend_requests": "Claim your account to accept friend requests.",
+ "account.unclaimed_cannot_add_reactions": "Claim your account to add reactions.",
+ "account.unclaimed_cannot_create_applications": "Claim your account to create applications.",
+ "account.unclaimed_cannot_join_calls": "Claim your account to start or join calls.",
+ "account.unclaimed_cannot_join_group_dms": "Claim your account to join group chats.",
+ "account.unclaimed_cannot_join_voice": "Claim your account to join voice channels.",
+ "account.unclaimed_cannot_make_purchases": "Claim your account to make purchases.",
+ "account.unclaimed_cannot_send_direct_messages": "Claim your account to send direct messages.",
+ "account.unclaimed_cannot_send_friend_requests": "Claim your account to send friend requests.",
+ "account.unclaimed_cannot_send_messages": "Claim your account to send messages.",
+ "account.use_claim_route": "Add an email address to your account first.",
+ "account.verification_required": "{need, select, add_email {{action, select, message {Add an email to your account to send messages.} typing {Add an email to your account to send messages.} reaction {Add an email to your account to add reactions.} direct_message {Add an email to your account to send direct messages.} direct_message_open {Add an email to your account to start direct messages.} group_dm {Add an email to your account to join group chats.} friend_request {Add an email to your account to send friend requests.} friend_accept {Add an email to your account to accept friend requests.} invite_create {Add an email to your account to create invites.} guild_join {Add an email to your account to join this community.} guild_create {Add an email to your account to create a community.} voice {Add an email to your account to join voice channels.} call {Add an email to your account to start calls.} group_call {Add an email to your account to join group calls.} thread_join {Add an email to your account to join threads.} channel_follow {Add an email to your account to follow channels.} ownership_transfer {This person needs to add an email to their account before they can own a community.} application_create {Add an email to your account to create applications.} gift_redeem {Add an email to your account to redeem gifts.} profile_customize {Add an email to your account to change your profile.} report {Add an email to your account to submit reports.} mfa {Add an email to your account to turn on two-factor authentication.} guild_verification {Add an email to your account to talk in this community.} other {Add an email to your account to do this.}}} confirm_email {{action, select, message {Confirm your email to send messages.} typing {Confirm your email to send messages.} reaction {Confirm your email to add reactions.} direct_message {Confirm your email to send direct messages.} direct_message_open {Confirm your email to start direct messages.} group_dm {Confirm your email to join group chats.} friend_request {Confirm your email to send friend requests.} friend_accept {Confirm your email to accept friend requests.} invite_create {Confirm your email to create invites.} guild_join {Confirm your email to join this community.} guild_create {Confirm your email to create a community.} voice {Confirm your email to join voice channels.} call {Confirm your email to start calls.} group_call {Confirm your email to join group calls.} thread_join {Confirm your email to join threads.} channel_follow {Confirm your email to follow channels.} ownership_transfer {This person needs to confirm their email before they can own a community.} application_create {Confirm your email to create applications.} gift_redeem {Confirm your email to redeem gifts.} profile_customize {Confirm your email to change your profile.} report {Confirm your email to submit reports.} mfa {Confirm your email to turn on two-factor authentication.} guild_verification {Confirm your email to talk in this community.} other {Confirm your email to do this.}}} password {{action, select, message {Set a password to send messages.} typing {Set a password to send messages.} reaction {Set a password to add reactions.} direct_message {Set a password to send direct messages.} direct_message_open {Set a password to start direct messages.} group_dm {Set a password to join group chats.} friend_request {Set a password to send friend requests.} friend_accept {Set a password to accept friend requests.} invite_create {Set a password to create invites.} guild_join {Set a password to join this community.} guild_create {Set a password to create a community.} voice {Set a password to join voice channels.} call {Set a password to start calls.} group_call {Set a password to join group calls.} thread_join {Set a password to join threads.} channel_follow {Set a password to follow channels.} ownership_transfer {This person needs to set a password before they can own a community.} application_create {Set a password to create applications.} gift_redeem {Set a password to redeem gifts.} profile_customize {Set a password to change your profile.} report {Set a password to submit reports.} mfa {Set a password to turn on two-factor authentication.} guild_verification {Set a password to talk in this community.} other {Set a password to do this.}}} other {{action, select, message {Claim your account to send messages.} typing {Claim your account to send messages.} reaction {Claim your account to add reactions.} direct_message {Claim your account to send direct messages.} direct_message_open {Claim your account to start direct messages.} group_dm {Claim your account to join group chats.} friend_request {Claim your account to send friend requests.} friend_accept {Claim your account to accept friend requests.} invite_create {Claim your account to create invites.} guild_join {Claim your account to join this community.} guild_create {Claim your account to create a community.} voice {Claim your account to join voice channels.} call {Claim your account to start calls.} group_call {Claim your account to join group calls.} thread_join {Claim your account to join threads.} channel_follow {Claim your account to follow channels.} ownership_transfer {This person needs to claim their account before they can own a community.} application_create {Claim your account to create applications.} gift_redeem {Claim your account to redeem gifts.} profile_customize {Claim your account to change your profile.} report {Claim your account to submit reports.} mfa {Claim your account to turn on two-factor authentication.} guild_verification {Claim your account to talk in this community.} other {Claim your account to do this.}}}}",
"admin_and_system.acls_must_be_non_empty": "ACLs must be non-empty.",
"admin_and_system.admin_api_key_not_found": "Admin API key wasn't found.",
+ "admin_and_system.captcha_required_by_instant_accounts": "Turn off instant accounts before turning off the captcha.",
"admin_and_system.deletion_failed": "We couldn't delete the resource. Please try again.",
+ "admin_and_system.email_delivery_requires_email_identity": "Email delivery only works when people sign in with an email.",
"admin_and_system.enforcement_account_closed": "This account is closed, so it can't be suspended.",
"admin_and_system.enforcement_confirmations_required": "Confirm that the evidence is preserved and that any required report is filed.",
"admin_and_system.enforcement_decision_ended": "This decision has already ended.",
@@ -45,8 +66,11 @@
"admin_and_system.flag_requires_enforcement_route": "This flag is part of a restriction. Change it through the suspension, deletion or feature limit routes.",
"admin_and_system.general_error": "Something went wrong. Please try again later.",
"admin_and_system.guild_id_required_for_search_index": "Community ID is required for channel message and member search indexes.",
+ "admin_and_system.identifier_first_requires_email_identity": "Email-first sign-in only works when people sign in with an email.",
"admin_and_system.instance_policy_transition_not_allowed": "This instance policy change is not allowed.",
+ "admin_and_system.instant_accounts_require_captcha": "Turn on the captcha before allowing instant accounts.",
"admin_and_system.invalid_acls_format": "Invalid ACL format.",
+ "admin_and_system.invalid_allowed_domain": "\"{domain}\" isn't a valid domain.",
"admin_and_system.invalid_api_origin": "Invalid API origin.",
"admin_and_system.invalid_audit_log_reason": "Invalid audit log reason.",
"admin_and_system.invalid_bot_flag": "Invalid bot flag.",
@@ -64,11 +88,12 @@
"admin_and_system.processing_failed": "We couldn't process the request. Please try again.",
"admin_and_system.resource_locked": "This resource is being modified. Please try again shortly.",
"admin_and_system.response_validation_failed": "Response validation failed: {errors}.",
+ "admin_and_system.smtp_host_required": "Enter an SMTP server before turning on email delivery.",
"admin_and_system.test_harness_disabled": "Test harness is disabled.",
"admin_and_system.test_harness_forbidden": "Test harness is forbidden.",
"admin_and_system.update_failed": "We couldn't update the resource. Please try again.",
"admin_and_system.user_must_be_bot_for_system_user": "User must be a bot to be marked as a system user.",
- "age_verification.already_verified": "You've already completed age verification.",
+ "admin_and_system.verification_basis_requires_email_delivery": "Accounts can only be verified by a confirmed email while email delivery is on.",
"attachments_and_uploads.attachment_must_be_image": "Attachment \"{filename}\" must be an image file (png, jpg, jpeg, webp, or gif).",
"attachments_and_uploads.attachment_not_found_in_message": "Attachment with ID {attachmentId} wasn't found in the message.",
"attachments_and_uploads.attachments_not_allowed_for_message": "Attachments aren't allowed for this message.",
@@ -118,13 +143,18 @@
"auth_and_oauth.origin_handoff_nonce_invalid": "This sign-in transfer doesn't match the one you started.",
"auth_and_oauth.passkey_bridge_nonce_invalid": "This passkey request could not be confirmed. Try again.",
"auth_and_oauth.registration_closed": "Registration is closed on this instance.",
+ "auth_and_oauth.registration_credential_required": "Choose a password to sign up. This instance can't send email codes to confirm your address.",
"auth_and_oauth.registration_credentials_required": "This instance reviews new accounts. Sign up from the sign-up page with a password so you can sign in once approved.",
"auth_and_oauth.registration_pending_approval": "This registration is waiting for admin approval.",
"auth_and_oauth.registration_rejected": "This registration request was rejected.",
"auth_and_oauth.registration_url_invalid": "This registration link is invalid or has expired.",
+ "auth_and_oauth.sso_account_linked_to_another_identity": "This account is already linked to a different SSO identity.",
+ "auth_and_oauth.sso_email_not_verified": "Your SSO provider has not verified your email address.",
+ "auth_and_oauth.sso_identity_linked_to_another_account": "This SSO identity is already linked to a different account.",
"auth_and_oauth.sso_identity_mismatch": "SSO identity mismatch between id_token and userinfo.",
"auth_and_oauth.sso_misconfigured": "SSO is misconfigured. Please contact your administrator.",
"auth_and_oauth.sso_provider_did_not_return_email": "Your SSO provider didn't return an email address.",
+ "auth_and_oauth.sso_required": "{reason, select, managed_credentials {This instance requires single sign-on, so your SSO provider manages your email and password.} no_account {This instance only lets existing accounts sign in with SSO, and there's no account for you yet. Ask an admin of this instance for access.} other {This instance requires single sign-on. Sign in with the SSO button on the sign-in page.}}",
"auth_and_oauth.sso_test_code_missing_email": "SSO test code is missing the email payload.",
"auth_and_oauth.sso_unable_to_allocate_discriminator": "We couldn't allocate a discriminator for your SSO account. Please try again.",
"auth_and_oauth.sudo_mode_required": "Sudo mode is required.",
@@ -133,13 +163,23 @@
"auth_and_oauth.unknown_passkey_bridge": "This passkey request has expired. Try again.",
"auth_and_oauth.unknown_passkey_migration": "There is no passkey to update right now.",
"auth_and_registration.account_identity_locked": "The sign-in method is already set and can't be changed.",
+ "auth_and_registration.email_code_resend_cooldown": "Wait a moment before asking for another code.",
+ "auth_and_registration.email_codes_unavailable": "This instance can't send email codes. Use your password instead.",
"auth_and_registration.instance_address_required": "This instance uses usernames. Enter the username you want followed by @{host}.",
+ "auth_and_registration.instant_accounts_disabled": "Creating an account from just a display name isn't available right now.",
+ "auth_and_registration.invalid_account_handoff_nonce": "This sign-up link isn't valid.",
"auth_and_registration.invalid_login_or_password": "Invalid username or password.",
"auth_and_registration.invalid_recovery_key": "Invalid username or recovery key.",
+ "auth_and_registration.invalid_sign_in_code": "That code isn't right. Check it and try again.",
"auth_and_registration.password_is_too_common": "Your password is too common. Please choose a less predictable password.",
"auth_and_registration.password_not_set": "Password isn't set.",
+ "auth_and_registration.password_sign_in_required": "Sign in to this account with its password.",
"auth_and_registration.setup_token_invalid": "That setup token is not correct. Check the token and try again.",
"auth_and_registration.setup_token_required": "This instance is not set up yet. Finish setup in a web browser with the setup token before creating accounts.",
+ "auth_and_registration.sign_in_code_expired": "This code has expired. Ask for a new one.",
+ "auth_and_registration.sudo_second_factor_required": "Confirm it's you with your authenticator app, passkey or a backup code.",
+ "auth_and_registration.unknown_account_handoff": "This sign-up link has expired or was already used.",
+ "auth_and_registration.unknown_sign_in_ticket": "This sign-in attempt has expired. Start again.",
"auth_and_registration.username_sign_in_only": "This is only available on instances where people sign in with a username.",
"bots.bot_discriminator_cannot_be_changed": "Bot discriminator can't be changed.",
"bots.bot_is_private": "This bot is private.",
@@ -185,7 +225,7 @@
"channels_and_guilds.channel_not_found": "Channel not found.",
"channels_and_guilds.channel_type_conversion_not_supported": "Only text and announcement channels can be converted into each other.",
"channels_and_guilds.context_channel_or_guild_required": "A context channel or community ID is required.",
- "channels_and_guilds.discoverable_guild_verification_level_too_low": "Discoverable communities must have a verification level of at least Low.",
+ "channels_and_guilds.discoverable_guild_verification_level_too_low": "Communities listed in Explore must have a verification level of at least Low.",
"channels_and_guilds.follow_target_content_warning_required": "Updates from a channel with a content warning can only go to a channel with a content warning or an age restriction.",
"channels_and_guilds.follow_target_not_age_restricted": "Updates from an age-restricted channel can only go to an age-restricted channel.",
"channels_and_guilds.group_dm_mature_content_ineligible": "Not everyone in this group is eligible for mature content.",
@@ -195,6 +235,9 @@
"channels_and_guilds.guild_feature_not_toggleable": "This feature cannot be toggled.",
"channels_and_guilds.guild_id_must_match_referenced_message": "Community ID must match the community containing the channel the referenced message was fetched from.",
"channels_and_guilds.guild_template_invalid": "The community template data is invalid or malformed.",
+ "channels_and_guilds.guild_visit_age_restricted": "This community is for adults only.",
+ "channels_and_guilds.guild_visit_not_found": "You're not previewing this community anymore.",
+ "channels_and_guilds.guild_visits_disabled": "This community asks people to join before previewing it.",
"channels_and_guilds.invalid_channel_id": "Invalid channel ID: {channelId}.",
"channels_and_guilds.invalid_channel_type": "Invalid channel type.",
"channels_and_guilds.invalid_channel_type_for_call": "Calls can only be made in direct messages or group DMs.",
@@ -214,13 +257,14 @@
"channels_and_guilds.parent_must_be_category": "Parent must be a category.",
"channels_and_guilds.preceding_channel_must_share_parent": "Preceding channel must share the same parent as the moved channel.",
"channels_and_guilds.preceding_channel_not_in_guild": "Preceding channel isn't present in the community.",
+ "channels_and_guilds.search_filter_needs_membership": "Join this community to search by person or mention.",
"channels_and_guilds.single_community_cannot_create_guilds": "This instance is a single community, so additional communities cannot be created.",
"channels_and_guilds.single_community_cannot_delete": "The community for this instance cannot be deleted.",
"channels_and_guilds.single_community_cannot_leave": "You cannot leave the community for this instance.",
"channels_and_guilds.system_channel_must_be_in_guild": "System channel must be in this community.",
"channels_and_guilds.system_channel_must_be_text": "System channel must be a text channel.",
"channels_and_guilds.temporary_invite_requires_presence": "Temporary invite requires presence.",
- "channels_and_guilds.unclaimed_account_cannot_create_guilds": "You need to complete your account setup before you can create communities.",
+ "channels_and_guilds.unclaimed_account_cannot_create_guilds": "Claim your account to create communities.",
"channels_and_guilds.vanity_url_requires_feature": "Vanity URL requires VANITY_URL feature.",
"channels_and_guilds.voice_channel_full": "Voice channel is full.",
"channels_and_guilds.voice_channels_cannot_be_above_text_channels": "Voice channels can't be positioned above text channels within the same category.",
@@ -237,25 +281,27 @@
"content_and_safety.content_blocked": "This content was blocked by safety systems.",
"content_and_safety.explicit_content_cannot_be_sent": "Explicit content can't be sent.",
"content_and_safety.nsfw_age_restricted": "NSFW content is age restricted.",
- "discovery.already_applied": "This community has already applied for Discovery.",
- "discovery.application_already_reviewed": "This Discovery application has already been reviewed.",
- "discovery.application_not_found": "Discovery application wasn't found.",
- "discovery.disabled": "Discovery isn't available on this instance.",
- "discovery.insufficient_members": "This community doesn't meet the minimum member count for Discovery.",
- "discovery.not_discoverable": "This community isn't listed in Discovery.",
+ "discovery.already_applied": "This community has already applied to be listed in Explore.",
+ "discovery.application_already_reviewed": "This application to Explore has already been reviewed.",
+ "discovery.application_not_found": "The application to Explore wasn't found.",
+ "discovery.disabled": "Explore isn't available on this instance.",
+ "discovery.insufficient_members": "This community doesn't have enough members to be listed in Explore.",
+ "discovery.not_discoverable": "This community isn't listed in Explore.",
"donation.amount_invalid": "Donation amount is invalid.",
"donation.magic_link_expired": "Magic link has expired.",
"donation.magic_link_invalid": "Magic link is invalid.",
"donation.magic_link_used": "Magic link has already been used.",
"email.domain_cannot_receive_mail": "That email domain cannot receive mail. Use an address on a domain that accepts email.",
+ "email.domain_not_allowed": "This instance only accepts email addresses from certain domains.",
"email.email_already_in_use": "Email is already in use.",
+ "email.email_delivery_off": "This instance doesn't send email. Create a password reset link instead.",
"email.email_required": "Email is required.",
"email.email_service_not_testable": "Email service is temporarily unavailable. Please try again later.",
"email.invalid_format": "Invalid email address format.",
"email.invalid_or_expired_reset_token": "Invalid or expired password reset token.",
"email.invalid_or_expired_revert_token": "Invalid or expired revert token.",
"email.invalid_or_expired_verification_token": "Invalid or expired verification token.",
- "email.invalid_or_password": "Invalid email or password.",
+ "email.invalid_or_password": "Check your email and password. If you usually sign in with an email code, use Forgot password to set a password, or update the app.",
"email.invalid_token": "Invalid email token.",
"email.invalid_verification_code": "Invalid verification code.",
"email.length_invalid": "Email address must be between {min} and {max} characters.",
@@ -286,7 +332,6 @@
"feature_flags.feature_not_available_self_hosted": "This feature isn't available on self-hosted instances.",
"feature_flags.feature_temporarily_disabled": "This feature is temporarily disabled.",
"friends_and_dms.already_friends": "You're already friends with this user.",
- "friends_and_dms.at_least_one_recipient_required": "At least one recipient is required.",
"friends_and_dms.bots_cannot_send_friend_requests": "Bots can't send friend requests.",
"friends_and_dms.cannot_add_yourself_to_group_dm": "You can't add yourself to a group DM.",
"friends_and_dms.cannot_block_system_user": "You can't block the system user.",
@@ -294,14 +339,13 @@
"friends_and_dms.cannot_send_friend_request_to_blocked_user": "You can't send a friend request to a blocked user.",
"friends_and_dms.cannot_send_friend_request_to_self": "You can't send a friend request to yourself.",
"friends_and_dms.cannot_send_messages_to_user": "You can't send messages to this user.",
- "friends_and_dms.direct_messages_disabled": "Direct messages and friend requests are disabled on this instance.",
+ "friends_and_dms.direct_messages_disabled": "Direct messages are disabled on this instance.",
"friends_and_dms.duplicate_recipients_not_allowed": "Duplicate recipients aren't allowed.",
"friends_and_dms.friend_request_blocked": "User does not accept friend requests at this time.",
+ "friends_and_dms.friends_disabled": "Friend requests are disabled on this instance.",
"friends_and_dms.new_conversations_limited": "You can't start new conversations right now. Please try again later.",
"friends_and_dms.not_friends": "You're not friends with this user.",
"friends_and_dms.recipient_ids_cannot_be_empty": "Recipient IDs can't be empty.",
- "friends_and_dms.recipient_ids_must_be_strings": "Recipient IDs must be strings.",
- "friends_and_dms.recipient_ids_must_be_valid_snowflakes": "Recipient IDs must be valid snowflakes.",
"harvest.expired": "Your data export request has expired. Please request a new export.",
"harvest.failed": "Your data export request failed. Please try again.",
"harvest.not_ready": "Your data export is still being prepared. Please check back in a few moments.",
@@ -392,11 +436,40 @@
"moderation_and_reports.report_flow_outdated": "The report form changed while you were filling it in. Start the report again.",
"moderation_and_reports.report_outcome_invalid": "An actioned resolution needs an outcome other than no violation. A duplicate needs the report it repeats and takes no outcome. A no violation resolution takes no other outcome.",
"moderation_and_reports.report_under_legal_hold": "This report is under a legal hold and can't be deleted.",
- "moderation_and_reports.unclaimed_account_cannot_submit_reports": "You need to complete your account setup before you can submit reports.",
+ "moderation_and_reports.unclaimed_account_cannot_submit_reports": "Claim your account to submit reports.",
"moderation_and_reports.unknown_enforcement_decision": "Unknown enforcement decision.",
"moderation_and_reports.unknown_report": "Unknown report.",
"moderation_and_reports.user_is_not_banned": "This user isn't banned.",
"names_and_normalization.name_empty_after_normalization": "Name can't be empty after normalization.",
+ "operator_pass.age_confirmation_required": "To buy more than one pass, confirm that you are 18 or older, or that you have permission from a parent or guardian.",
+ "operator_pass.country_unavailable": "You cannot buy the Operator Pass in your country right now.",
+ "operator_pass.last_pass_confirmation_required": "This is your only pass. Confirm that passing it on removes your badge and your name on the Operators' wall.",
+ "operator_pass.not_held": "This account doesn't have the Operator Pass.",
+ "operator_pass.not_on_sale": "You cannot buy the Operator Pass yet.",
+ "operator_pass.not_transferable": "This pass cannot be passed on. A pass you received, or one that comes with Visionary, stays with you.",
+ "operator_pass.offer_busy": "Another offer from your account is still being sent. Try again in a moment.",
+ "operator_pass.offer_unavailable": "This pass cannot be passed on to that account right now.",
+ "operator_pass.price_changed": "The Operator Pass price has changed. Check the new price and try again.",
+ "operator_pass.recipient_not_friend": "You can only pass this on to one of your friends on Fluxer.",
+ "operator_pass.release_already_published": "This Operators list has already been published.",
+ "operator_pass.release_not_ready": "This Operators list cannot be published before its cut-off date.",
+ "operator_pass.removal_limited_first": "A permanent removal for a breach that is not serious needs an earlier removal for a limited time.",
+ "operator_pass.removal_notice_required": "A permanent removal needs a notice sent at least 7 days earlier, unless the breach is serious.",
+ "operator_pass.removed": "The Operator Pass was removed from this account, so it cannot be bought or redeemed again.",
+ "operator_pass.terms_not_accepted": "Accept the Operator Pass terms to get this pass.",
+ "operator_pass.unknown_offer": "Unknown Operator Pass offer.",
+ "operator_pass.unknown_pass": "Unknown Operator Pass.",
+ "operator_pass.unknown_purchase": "Unknown Operator Pass purchase.",
+ "operator_pass.unknown_release_entry": "This account is not in that published Operators list.",
+ "operator_pass.unknown_wall_entry": "This account has no name on the Operators' wall.",
+ "operator_pass.waitlist_closed": "The Operator Pass waitlist is closed because you can get the pass now.",
+ "operator_pass.waitlist_followup_invalid": "Choose from the listed options. You can add your own answer only with \"Other\", in up to 500 characters.",
+ "operator_pass.waitlist_followup_token_invalid": "This answer can no longer be saved. Your waitlist signup is not affected.",
+ "operator_pass.waitlist_token_expired": "This waitlist link has expired.",
+ "operator_pass.waitlist_token_invalid": "This waitlist link is invalid.",
+ "operator_pass.waiver_required": "Confirm that you want the Operator Pass delivered right away.",
+ "operator_pass.wall_name_required": "Enter a name for the Operators' wall, or choose not to be listed.",
+ "operator_pass.withdrawal_unavailable": "This purchase can no longer be withdrawn from here.",
"permissions.global_ip_banned": "{reason, select, shown {{product_name} blocked access from this network because of activity that broke its rules.} other {{product_name} blocked access from this network.}} If you share this network, for example at school, at work, on public Wi-Fi, through your mobile carrier or a VPN, this block may have nothing to do with you. The quickest fix is to switch networks, for example to mobile data instead of Wi-Fi, or to turn your VPN on or off.{appealEmail, select, null {} other { If you think this block is a mistake, email {appealEmail} and include your IP address, {ipAddress}.}}",
"permissions.global_ip_temporarily_banned": "{reason, select, shown {{product_name} blocked access from this network because of activity that broke its rules.} other {{product_name} blocked access from this network.}} The block ends on {expiresAt}. If you share this network, for example at school, at work, on public Wi-Fi, through your mobile carrier or a VPN, this block may have nothing to do with you. The quickest fix is to switch networks, for example to mobile data instead of Wi-Fi, or to turn your VPN on or off.{appealEmail, select, null {} other { If you think this block is a mistake, email {appealEmail} and include your IP address, {ipAddress}.}}",
"permissions.missing_access": "You don't have access to this resource or feature.",
@@ -408,7 +481,7 @@
"permissions.user_owns_guilds": "This user owns communities.",
"premium_and_plans.animated_avatars_require_premium": "Animated avatars require Premium.",
"premium_and_plans.banners_require_premium": "Banners require Premium.",
- "premium_and_plans.cannot_redeem_plutonium_with_visionary": "You can't redeem {premium_tier_name} with Visionary.",
+ "premium_and_plans.cannot_redeem_plutonium_with_visionary": "You already have lifetime {premium_tier_name}.",
"premium_and_plans.custom_emojis_outside_source_require_premium": "You can't use custom emojis outside their source communities without Premium.",
"premium_and_plans.custom_stickers_in_dms_require_premium": "You can't use custom stickers in DMs without Premium.",
"premium_and_plans.custom_stickers_outside_source_require_premium": "You can't use custom stickers outside their source communities without Premium.",
@@ -445,6 +518,9 @@
"store_billing.purchase_sandbox_not_entitled": "Test purchases cannot be applied to this account.",
"store_billing.unavailable": "In-app purchases are unavailable right now. Try again later.",
"store_billing.unknown_purchase": "Unknown store purchase.",
+ "stripe.dispute_exempt": "Our terms rule out any action on this payment dispute.",
+ "stripe.dispute_review_closed": "This payment dispute has already closed.",
+ "stripe.dispute_warning_too_late": "The bank's deadline is too close to warn the account in time.",
"stripe.error": "{supportEmail, select, null {Payment processing encountered an error. Please try again or contact the administrators of this instance.} other {Payment processing encountered an error. Please try again or contact support.}}",
"stripe.invalid_product_configuration": "Invalid product configuration.",
"stripe.invalid_product_selection": "Invalid product selection.",
@@ -456,6 +532,7 @@
"stripe.refund_outside_window": "This purchase is outside the 3-day self-serve refund window.",
"stripe.subscription_already_canceling": "Subscription is already set to cancel at period end.",
"stripe.subscription_not_canceling": "Subscription isn't set to cancel.",
+ "stripe.unknown_dispute_review": "Unknown payment dispute review.",
"stripe.webhook_not_available": "Webhook processing isn't available.",
"stripe.webhook_signature_invalid": "Stripe webhook signature is invalid.",
"stripe.webhook_signature_missing": "Stripe webhook signature is missing.",
@@ -474,8 +551,8 @@
"threads.thread_archived": "This thread is archived.",
"threads.thread_locked": "This thread is locked.",
"tickets.ticket_already_completed": "This ticket has already been completed.",
- "tos_and_age.date_of_birth_format_invalid": "Invalid date of birth format.",
- "tos_and_age.must_agree_to_tos_and_privacy": "You must agree to the Terms of service and Privacy policy.",
+ "tos_and_age.date_of_birth_format_invalid": "Enter your real date of birth.",
+ "tos_and_age.must_agree_to_tos_and_privacy": "You need to accept the terms of service to create an account.",
"tos_and_age.must_be_minimum_age": "You must be at least {minAge, plural, one {# year} other {# years}} old to create an account.",
"unknown_entities.unknown_channel": "Channel wasn't found.",
"unknown_entities.unknown_forum_tag": "Tag wasn't found.",
@@ -490,6 +567,7 @@
"urls.invalid_url_format": "Invalid URL format.",
"urls.invalid_url_or_attachment_reference": "Invalid URL format or attachment reference.",
"urls.url_length_invalid": "URL must be between {min} and {max} characters.",
+ "urls.url_must_use_https": "URL must start with https://.",
"urls.url_not_publicly_routable": "URL must resolve to a publicly routable address.",
"usernames_and_tags.discriminator_invalid_format": "Discriminator must be {min}–{max} digits.",
"usernames_and_tags.discriminator_not_supported_on_instance": "This instance doesn't use tags. Your username is unique on its own.",
@@ -502,7 +580,7 @@
"usernames_and_tags.tag_style_requires_email_sign_in": "Tags are only available when people sign in with email.",
"usernames_and_tags.too_many_users_with_this_username": "There are too many users with this username.",
"usernames_and_tags.too_many_users_with_username_try_different": "There are too many users with this username. Try a different username.",
- "usernames_and_tags.unclaimed_accounts_can_only_set_email_via_token": "Unclaimed accounts can only set an email address using a token.",
+ "usernames_and_tags.unclaimed_accounts_can_only_set_email_via_token": "{need, select, add_email {Add an email to your account before changing your profile.} confirm_email {Confirm your email before changing your profile.} password {Set a password to keep this account before changing your profile.} other {Claim your account before changing your profile.}}",
"usernames_and_tags.username_already_taken": "This username is already taken.",
"usernames_and_tags.username_invalid_characters": "Username can only contain Latin letters (a-z, A-Z), numbers (0-9), and underscores (_).",
"usernames_and_tags.username_length_invalid": "Username must be between {min} and {max} characters.",