Files
fluxer/packages/errors/src/i18n/ErrorI18nMessages.ts
T

597 lines
47 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// SPDX-License-Identifier: AGPL-3.0-or-later
export const ERROR_I18N_MESSAGES = {
'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.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.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.',
'account.suspended_permanently': 'This account has been permanently suspended.',
'account.suspended_temporarily': 'This account has been temporarily suspended.',
'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.',
'admin_and_system.acls_must_be_non_empty': 'ACLs must be non-empty.',
'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.",
'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_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.',
'admin_and_system.invalid_flags_format': 'Invalid flags format.',
'admin_and_system.invalid_form_body': 'Invalid form body.',
'admin_and_system.invalid_format': 'The provided value is in an invalid format.',
'admin_and_system.guild_id_required_for_search_index':
'Community ID is required for channel message and member search indexes.',
'admin_and_system.invalid_integer_format': 'Invalid integer format.',
'admin_and_system.invalid_system_flag': 'Invalid system flag.',
'admin_and_system.invalid_timeout_value': 'Invalid timeout value.',
'admin_and_system.invalid_timestamp': 'Invalid timestamp.',
'admin_and_system.invalid_timezone_identifier': 'Invalid time zone identifier.',
'admin_and_system.missing_acl': 'Missing ACL.',
'admin_and_system.must_be_iso_timestamp': 'Must be a valid ISO timestamp.',
'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.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':
"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.",
'attachments_and_uploads.cannot_edit_attachment_metadata':
'Users with MANAGE_MESSAGES can only edit attachment descriptions, not other metadata.',
'attachments_and_uploads.cannot_reference_attachments_without_attachments':
"You can't reference attachments when no attachments are provided.",
'attachments_and_uploads.duplicate_attachment_ids_not_allowed': "Duplicate attachment IDs aren't allowed.",
'attachments_and_uploads.duplicate_file_index': 'Duplicate file index: {index}.',
'attachments_and_uploads.failed_to_parse_multipart_form_data':
"We couldn't parse the multipart form data. Check that all field names and filenames are properly formatted.",
'attachments_and_uploads.failed_to_upload_image': "We couldn't upload the image. Please try again.",
'attachments_and_uploads.file_index_exceeds_maximum':
'File index {index} exceeds the maximum allowed index of {maxIndex}.',
'attachments_and_uploads.file_not_found': 'File not found.',
'attachments_and_uploads.file_size_too_large': 'File size is too large. Maximum file size is {maxSize}.',
'attachments_and_uploads.filename_length_invalid': 'Filename must be between {min} and {max} characters.',
'attachments_and_uploads.image_size_exceeds_limit': 'Image size exceeds {maxSize} bytes.',
'attachments_and_uploads.invalid_file_field_name':
'Invalid file field name: {key}. Expected format: `files[N]` where N is a number.',
'attachments_and_uploads.invalid_image_format': 'Invalid image format. Supported extensions: {supportedExtensions}.',
'attachments_and_uploads.invalid_json_in_payload_json': 'Invalid JSON in `payload_json`.',
'attachments_and_uploads.multiple_files_for_index_not_allowed': "Multiple files for index {index} aren't allowed.",
'attachments_and_uploads.no_file_uploaded_for_attachment':
'No file was uploaded for attachment with ID {attachmentId}.',
'attachments_and_uploads.no_file_uploaded_for_attachment_metadata':
'No file was uploaded for attachment metadata with ID {attachmentId}.',
'attachments_and_uploads.no_uploaded_parts_to_finalize': 'No uploaded parts are available to finalize.',
'attachments_and_uploads.no_valid_media_in_message': 'No valid media was found in the message.',
'attachments_and_uploads.preview_must_be_jpeg': 'Preview must be JPEG.',
'attachments_and_uploads.referenced_attachment_not_found':
'Referenced attachment "{filename}" wasn\'t found in message attachments.',
'attachments_and_uploads.too_many_files':
'Too many files. Maximum {maxFiles, plural, one {# file} other {# files}} allowed.',
'attachments_and_uploads.unresolved_attachment_url':
'Unresolved `attachment://` URL detected. This should have been resolved before embed processing.',
'attachments_and_uploads.uploaded_attachment_not_found': "Uploaded attachment {filename} wasn't found.",
'auth_and_oauth.bot_already_in_guild': 'This bot is already in the community.',
'auth_and_oauth.bot_users_cannot_create_auth_sessions': "Bot users can't create auth sessions.",
'auth_and_oauth.bot_users_cannot_use_auth_endpoints': "Bot users can't use auth endpoints.",
'auth_and_oauth.email_domain_not_allowed_for_sso': "This email domain isn't allowed for single sign-on.",
'auth_and_oauth.failed_to_fetch_sso_user_info': "We couldn't fetch your SSO user info. Please try again.",
'auth_and_oauth.failed_to_parse_sso_user_info':
"We couldn't read the response from your SSO provider. Please try again.",
'auth_and_oauth.handoff_code_expired': 'Handoff code expired.',
'auth_and_oauth.handoff_code_invalid': 'Invalid handoff code.',
'auth_and_oauth.invalid_code': 'Invalid code.',
'auth_and_oauth.invalid_or_expired_authorization_ticket': 'Invalid or expired authorization ticket.',
'auth_and_oauth.invalid_or_expired_authorization_token': 'Invalid or expired authorization token.',
'auth_and_oauth.invalid_or_expired_sso_state': 'Invalid or expired SSO state. Please start the sign-in flow again.',
'auth_and_oauth.invalid_or_expired_ticket': 'Invalid or expired ticket.',
'auth_and_oauth.invalid_proof_token': 'Invalid proof token.',
'auth_and_oauth.invalid_scope': "The requested scope isn't supported or you don't have permission to request it.",
'auth_and_oauth.invalid_sso_authorization_code': 'Invalid SSO authorization code.',
'auth_and_oauth.invalid_sso_token': 'Invalid SSO token.',
'auth_and_oauth.missing_authorization': 'Missing or invalid authorization header.',
'auth_and_oauth.must_start_session_before_sending_messages': 'You must start a session before sending 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_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_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_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.',
'auth_and_oauth.unknown_application': 'Unknown application.',
'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.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}.',
'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.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.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.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.',
'bots.bot_user_generation_failed': 'Bot user generation failed.',
'bots.bot_user_not_found': "Bot user wasn't found.",
'bots.not_a_bot_application': "This application isn't a bot.",
'bots.search_scope_unavailable': 'Bots can only search within a single community or channel.',
'calls_and_voice.call_already_exists': 'A call is already in progress in this channel.',
'calls_and_voice.invalid_or_restricted_rtc_region': 'Invalid or restricted RTC region: {region}.',
'calls_and_voice.invalid_rtc_region': 'Invalid RTC region: {region}. Available regions: {availableRegions}.',
'calls_and_voice.invalid_stream_key_format': 'Invalid stream key format.',
'calls_and_voice.invalid_stream_thumbnail_payload': 'Invalid stream thumbnail payload.',
'calls_and_voice.no_active_call': 'No active call.',
'calls_and_voice.stream_key_channel_mismatch': 'Stream key channel mismatch.',
'calls_and_voice.stream_key_scope_mismatch': 'Stream key scope mismatch.',
'calls_and_voice.unknown_voice_region': 'Unknown voice region.',
'calls_and_voice.unknown_voice_server': 'Unknown voice server.',
'calls_and_voice.voice_message_duration_exceeds_limit':
"Voice message duration can't exceed {maxDuration, plural, one {# second} other {# seconds}}.",
'calls_and_voice.voice_message_duration_required': 'Voice message attachments must specify a duration.',
'calls_and_voice.voice_message_waveform_required': 'Voice message attachments must include waveform data.',
'calls_and_voice.voice_messages_require_single_attachment': 'Voice messages must contain exactly one attachment.',
'captcha.invalid': 'Verification failed. Try again.',
'captcha.required': 'Verification required. Try again.',
'channels_and_guilds.afk_channel_must_be_in_guild': 'AFK channel must be in this community.',
'channels_and_guilds.afk_channel_must_be_voice': 'AFK channel must be a voice channel.',
'channels_and_guilds.all_channels_must_belong_to_guild': 'All channels must belong to this community.',
'channels_and_guilds.animated_guild_banner_requires_feature':
'Animated community banner requires ANIMATED_BANNER feature.',
'channels_and_guilds.announcement_channel_required': 'This action is only available in announcement channels.',
'channels_and_guilds.bots_cannot_create_guilds': "Bots can't create communities.",
'channels_and_guilds.channel_already_followed':
'This channel already receives updates from that announcement channel.',
'channels_and_guilds.channel_has_followed_channels':
'Remove the followed channels posting here before converting it to an announcement channel.',
'channels_and_guilds.channel_type_conversion_not_supported':
'Only text and announcement channels can be converted into each other.',
'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.invalid_follow_target_channel': 'Followed channels can only post into text channels.',
'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.cannot_execute_on_dm': "This action can't be performed in a DM.",
'channels_and_guilds.cannot_leave_guild_as_owner':
"You can't leave a community as the owner. Transfer ownership or delete the community instead.",
'channels_and_guilds.cannot_position_channel_relative_to_itself':
"You can't position a channel relative to itself or its descendants.",
'channels_and_guilds.cannot_report_guild': "You can't report this community.",
'channels_and_guilds.cannot_report_own_guild': "You can't report your own community.",
'channels_and_guilds.cannot_transfer_ownership_to_bot': "Community ownership can't be transferred to a bot.",
'channels_and_guilds.categories_cannot_have_parent_channel': "Categories can't have a parent channel.",
'channels_and_guilds.categories_cannot_have_parents': "Categories can't have parents.",
'channels_and_guilds.channel_id_required': '`channel_id` is required.',
'channels_and_guilds.channel_must_be_dm_or_group_dm': 'Channel must be a DM or a group DM.',
'channels_and_guilds.channel_must_be_voice': 'Channel must be a voice channel.',
'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.',
'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.",
'channels_and_guilds.guild_banner_requires_feature': 'Community banner requires BANNER feature.',
'channels_and_guilds.guild_creation_permission_required':
"You don't have permission to create communities on this instance. Contact your instance administrator to request access.",
'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.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.',
'channels_and_guilds.invalid_parent_channel': 'Invalid parent channel.',
'channels_and_guilds.invite_splash_requires_feature': 'Invite splash requires INVITE_SPLASH feature.',
'channels_and_guilds.invites_disabled': 'Invites are disabled.',
'channels_and_guilds.max_group_dm_recipients_reached':
"You've reached the maximum of {count, plural, one {# group DM recipient} other {# group DM recipients}}.",
'channels_and_guilds.max_group_dms_reached':
"You've reached the maximum of {count, plural, one {# group DM} other {# group DMs}}.",
'channels_and_guilds.max_guild_channels_reached':
"You've reached the maximum of {count, plural, one {# community channel} other {# community channels}}.",
'channels_and_guilds.max_guild_members_reached':
"You've reached the maximum of {count, plural, one {# community member} other {# community members}}.",
'channels_and_guilds.max_guild_roles_reached':
"You've reached the maximum of {count, plural, one {# community role} other {# community roles}}.",
'channels_and_guilds.max_guilds_reached':
"You've reached the maximum of {count, plural, one {# community} other {# communities}}.",
'channels_and_guilds.message_history_cutoff_before_guild_creation':
"Message history cutoff can't be before the community was created.",
'channels_and_guilds.message_history_cutoff_in_future': "Message history cutoff can't be in the future.",
'channels_and_guilds.parent_channel_not_in_guild': "Parent channel isn't present in the community.",
'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.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.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.",
'colors.color_value_too_high': 'Color value must not exceed 0xffffff.',
'colors.color_value_too_low': 'Color value must be at least 0x000000.',
'connections.already_exists': 'A connection of this type with this identifier already exists.',
'connections.bluesky_oauth_authorization_failed':
"We couldn't resolve that Bluesky handle. Please check it and try again.",
'connections.bluesky_oauth_not_enabled': 'Bluesky connections are not enabled on this instance.',
'connections.initiation_token_invalid': 'The connection initiation token is invalid or has expired.',
'connections.invalid_type': 'The connection type is not supported.',
'connections.limit_reached': "You've reached the maximum number of connections ({limit}).",
'connections.not_found': 'Unknown connection.',
'connections.verification_failed':
'Connection verification failed. Make sure the verification token is correctly placed.',
'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.",
'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.email_already_in_use': 'Email is already in use.',
'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_token': 'Invalid email token.',
'email.invalid_verification_code': 'Invalid verification code.',
'email.length_invalid': 'Email address must be between {min} and {max} characters.',
'email.must_be_changed_via_token': 'Email must be changed via token.',
'email.must_have_email_to_change_it': 'You must have an email address to change it.',
'email.new_email_must_be_different': 'New email must be different from your current email.',
'email.no_new_email_requested': 'No new email was requested.',
'email.no_original_email_on_record': 'No original email is on record.',
'email.original_email_already_verified': 'Original email is already verified.',
'email.original_email_must_be_verified_first': 'Original email must be verified first.',
'email.original_verification_not_required': "Original verification isn't required for this flow.",
'email.token_expired': 'Email token expired.',
'email.unavailable_on_instance': "This instance doesn't use email.",
'email.user_has_no_email_address': "This user doesn't have an email address.",
'email.verification_code_expired': 'Verification code has expired.',
'email.verification_code_not_issued': 'No verification code has been issued.',
'embeds.embed_index_out_of_bounds':
'Embed index {embedIndex} is out of bounds (message has {embedCount, plural, one {# embed} other {# embeds}}).',
'embeds.embed_splash_requires_feature': 'Embed splash requires INVITE_SPLASH feature.',
'embeds.embeds_exceed_max_characters':
'Embeds must not exceed {maxCharacters, plural, one {# character} other {# characters}} in total.',
'embeds.too_many_embeds': 'Too many embeds. Maximum {maxEmbeds, plural, one {# embed} other {# embeds}} allowed.',
'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.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.",
'friends_and_dms.cannot_dm_yourself': "You can't DM yourself.",
'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.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.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.',
'harvest.unknown': 'Unknown data export.',
'http.bad_gateway': 'Bad gateway.',
'http.bad_request': 'Bad request.',
'http.conflict': 'Conflict.',
'http.forbidden': 'Forbidden.',
'http.gateway_timeout': 'Gateway timeout.',
'http.gone': 'Gone.',
'http.internal_server_error': 'Internal server error.',
'http.method_not_allowed': 'Method not allowed.',
'http.not_found': 'Not found.',
'http.not_implemented': 'Not implemented.',
'http.service_unavailable': 'Service unavailable.',
'http.validation_error': 'Validation failed.',
'invites_and_gifts.gift_code_already_redeemed': 'Gift code is already redeemed.',
'invites_and_gifts.stripe_gift_redemption_in_progress': 'Gift code redemption is in progress. Try again in a moment.',
'invites_and_gifts.unknown_gift_code': 'Unknown gift code.',
'invites_and_packs.max_emojis_reached':
"You've reached the maximum of {count, plural, one {# emoji} other {# emojis}}.",
'limits.at_least_one_entry_required': 'At least one entry is required.',
'limits.base64_length_invalid': 'Base64 string length must be between {min} and {maxLength} characters.',
'limits.cannot_specify_before_and_after': "You can't specify both `before` and `after`.",
'limits.content_exceeds_max_length':
'Text must not exceed {maxLength, plural, one {# character} other {# characters}}.',
'limits.integer_out_of_int64_range': 'Integer value is out of the valid int64 range.',
'limits.string_length_exact': 'String must be exactly {length, plural, one {# character} other {# characters}}.',
'limits.string_length_invalid': 'String length must be between {min} and {max} characters.',
'limits.synced_preferences_too_large': 'Synced preferences exceed {max_bytes} bytes.',
'limits.timeout_cannot_exceed_365_days':
"Timeout can't be longer than {maxDays, plural, one {# day} other {# days}} from now.",
'limits.value_must_be_integer_in_range':
'The value for `{name}` must be an integer between {minValue} and {maxValue}.',
'media_and_memes.favorite_meme_name_required': 'Saved media name is required.',
'media_and_memes.favorite_meme_not_found': "Saved media wasn't found.",
'media_and_memes.max_favorite_meme_tags_exceeded':
'You can only add up to {limit, plural, one {# tag} other {# tags}} per saved media item.',
'media_and_memes.max_favorite_memes_reached':
"You've reached the maximum of {count, plural, one {# saved media item} other {# saved media items}}.",
'media_and_memes.media_already_in_favorites': 'This media is already in your saved media.',
'media_and_memes.media_metadata_error': 'Media metadata error.',
'media_and_memes.unknown_favorite_meme': 'Unknown saved media.',
'messages.cannot_delete_more_than_100':
"You can't delete more than {max, plural, one {# message} other {# messages}} at once.",
'messages.cannot_edit_others_message': "You can't edit another user's message.",
'messages.cannot_preload_more_than_100_channels':
"You can't preload more than {max, plural, one {# channel} other {# channels}} at once.",
'messages.cannot_reply_to_system_message': "You can't reply to a system message.",
'messages.cannot_send_empty_message': "You can't send an empty message.",
'messages.forward_messages_cannot_include_extra_content':
"Forwarded messages can't include content, embeds, attachments, or stickers.",
'messages.forward_reference_requires_channel_and_message':
'Forward message reference must include `channel_id` and `message_id`.',
'messages.invalid_message_data': 'Invalid message data.',
'messages.message_already_crossposted': 'This message has already been published.',
'messages.message_ids_cannot_be_empty': "`message_ids` can't be empty.",
'messages.message_not_crosspostable': 'This message cannot be published.',
'messages.messages_array_required': '`messages` array is required and must not be empty.',
'messages.messages_with_snapshots_cannot_be_edited': "Messages with snapshots can't be edited.",
'messages.voice_messages_attachment_must_be_audio': 'Voice message attachments must be audio files.',
'messages.voice_messages_cannot_have_content': "Voice messages can't have text content.",
'messages.voice_messages_cannot_have_embeds': "Voice messages can't have embeds.",
'messages.voice_messages_cannot_have_favorite_memes': "Voice messages can't have saved media.",
'messages.voice_messages_cannot_have_stickers': "Voice messages can't have stickers.",
'mfa_and_passkeys.invalid_mfa_code': 'Invalid MFA code.',
'mfa_and_passkeys.invalid_webauthn_authentication_counter': 'Invalid WebAuthn authentication counter.',
'mfa_and_passkeys.invalid_webauthn_credential': 'Failed to verify WebAuthn credential.',
'mfa_and_passkeys.invalid_webauthn_credential_counter': 'Invalid WebAuthn credential counter.',
'mfa_and_passkeys.invalid_webauthn_public_key_format': 'Invalid WebAuthn public key format.',
'mfa_and_passkeys.must_enable_2fa_before_enforcing_for_mods':
'You must enable 2FA on your account before requiring it for moderators.',
'mfa_and_passkeys.no_passkeys_registered': 'No passkeys are registered.',
'mfa_and_passkeys.passkey_authentication_failed': 'Passkey authentication failed.',
'mfa_and_passkeys.totp_not_enabled':
"Two-factor authentication using an authenticator app isn't enabled for this account.",
'mfa_and_passkeys.two_factor_not_enabled': "Two-factor authentication isn't enabled.",
'mfa_and_passkeys.two_factor_required': 'Two-factor authentication is required.',
'mfa_and_passkeys.unknown_webauthn_credential': 'Unknown WebAuthn credential.',
'mfa_and_passkeys.webauthn_credential_limit_reached':
"You've reached the maximum of {count, plural, one {# WebAuthn credential} other {# WebAuthn credentials}}.",
'misc.cannot_send_messages_in_non_text_channel': "You can't send messages in a non-text channel.",
'misc.invalid_permissions_integer': 'Permissions must be a valid integer.',
'misc.invalid_permissions_negative': 'Permissions must be non-negative.',
'misc.invalid_request_generic': 'Invalid request.',
'misc.invalid_snowflake': 'Invalid snowflake.',
'misc_limits.max_applications_reached':
"You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",
'misc_limits.max_bookmarks_reached':
"You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.",
'misc_limits.max_category_channels_reached':
"You've reached the maximum of {count, plural, one {# category channel} other {# category channels}}.",
'misc_limits.max_friends_reached': "You've reached the maximum of {count, plural, one {# friend} other {# friends}}.",
'misc_limits.max_invites_reached': "You've reached the maximum of {count, plural, one {# invite} other {# invites}}.",
'moderation_and_reports.cannot_report_own_message': "You can't report your own message.",
'moderation_and_reports.cannot_report_yourself': "You can't report yourself.",
'moderation_and_reports.invalid_dsa_report_target': 'Invalid DSA report target.',
'moderation_and_reports.ip_ban_declined': 'This IP address cannot be added to the blocklist.',
'moderation_and_reports.invalid_dsa_ticket': 'Invalid DSA ticket.',
'moderation_and_reports.invalid_dsa_verification_code': 'Invalid DSA verification code.',
'moderation_and_reports.invalid_report_flow_answers':
"These answers don't match the report form. Start the report again.",
'moderation_and_reports.report_already_resolved': 'Report already resolved.',
'moderation_and_reports.report_banned': "You've been banned from submitting reports.",
'moderation_and_reports.report_flow_outdated':
'The report form changed while you were filling it in. Start the report again.',
'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.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.",
'permissions.global_ip_banned':
'Your IP address {ipAddress} has been permanently blocked from the {product_name} API by platform administrators. {appealEmail, select, null {If you believe this is a mistake, contact the administrators of this instance to appeal.} other {If you believe this is a mistake, contact {appealEmail} to appeal.}} Include this IP address in your appeal.',
'permissions.global_ip_temporarily_banned':
'Your IP address {ipAddress} has been temporarily blocked from the {product_name} API. The block lifts on its own when it expires. {appealEmail, select, null {If you think this is a mistake, contact the administrators of this instance and include this IP address.} other {If you think this is a mistake, contact {appealEmail} and include this IP address.}}',
'permissions.missing_access': "You don't have access to this resource or feature.",
'permissions.missing_permissions': "You don't have the permissions required to perform this action.",
'permissions.user_banned_from_guild': 'This user is banned from this community.',
'permissions.user_ip_banned_from_guild': "This user's IP is banned from this community.",
'permissions.user_not_in_channel': "This user isn't in the channel.",
'permissions.user_not_in_voice': "This user isn't in voice.",
'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.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.",
'premium_and_plans.discriminator_change_requires_premium': 'Changing your discriminator requires Premium.',
'premium_and_plans.no_active_subscription': 'No active subscription.',
'premium_and_plans.visionary_required_for_discriminator':
'You must be on the Visionary lifetime plan to use that discriminator.',
'rate_limits.accent_color_changed_too_often':
"You've changed your accent color too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.avatar_changed_too_often':
"You've changed your avatar too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.banner_changed_too_often':
"You've changed your banner too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.bio_changed_too_often':
"You've changed your bio too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.ip_authorization_resend_cooldown': 'IP authorization resend is on cooldown.',
'rate_limits.ip_authorization_resend_limit_exceeded': 'IP authorization resend limit exceeded.',
'rate_limits.message_crosspost_rate_limited':
'This channel has reached its publishing limit. It can publish 10 messages in a row, then one more every 6 minutes.',
'rate_limits.pronouns_changed_too_often':
"You've changed your pronouns too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.published_message_edit_rate_limited':
'This published message has reached its editing limit. It allows 3 quick edits, then 1 every 20 minutes.',
'rate_limits.rate_limited': "You're being rate limited.",
'rate_limits.slowmode_rate_limited': 'Slowmode rate limited.',
'rate_limits.username_changed_too_often':
"You've changed your username too often recently. Please try again in {minutes, plural, one {# minute} other {# minutes}}.",
'rate_limits.voice_activity_sharing_on_cooldown':
'You can only update your voice activity sharing default once every 24 hours. Please try again in {retry_after, plural, one {# second} other {# seconds}}.',
'roles.cannot_reorder_everyone_role': "You can't reorder the @everyone role.",
'roles.cannot_set_everyone_hoist': "You can't set hoist position for the @everyone role.",
'roles.invalid_role_id': 'Invalid role ID: {roleId}.',
'roles.parse_and_users_or_roles_cannot_be_used_together':
"You can't use `parse` together with `allowed_mentions.users` or `allowed_mentions.roles`.",
'stickers_and_emojis.custom_emoji_not_found': "Custom emoji wasn't found.",
'stickers_and_emojis.custom_sticker_not_found': "Custom sticker wasn't found.",
'stickers_and_emojis.max_reactions_reached':
"You've reached the maximum of {count, plural, one {# reaction} other {# reactions}}.",
'stickers_and_emojis.max_stickers_reached':
"You've reached the maximum of {count, plural, one {# sticker} other {# stickers}}.",
'stickers_and_emojis.not_valid_unicode_emoji': 'Not a valid Unicode emoji.',
'stickers_and_emojis.unknown_emoji': 'Unknown emoji.',
'stickers_and_emojis.unknown_sticker': 'Unknown sticker.',
'store_billing.notification_unauthorized': 'The notification signature is invalid.',
'store_billing.purchase_invalid': 'This purchase could not be verified.',
'store_billing.purchase_owned_by_other_account': 'This purchase is linked to a different account.',
'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.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.',
'stripe.no_active_subscription_found': 'No active subscription found.',
'stripe.no_purchase_history_customer_portal_unavailable':
"No purchase history found. Customer portal isn't available.",
'stripe.no_subscription_found': 'No subscription found.',
'stripe.payment_not_available': 'Payment processing is temporarily unavailable. Please try again later.',
'stripe.refund_cooldown_active': 'You can request a self-serve refund once every 30 days. Please try again later.',
'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.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.',
'threads.channel_has_threads': "Channels with threads can't be converted to announcement channels.",
'threads.forum_tag_names_must_be_unique': 'Tag names must be unique.',
'threads.forum_tag_required': 'A tag is required to create a post in this channel.',
'threads.hide_media_download_option_media_only': 'Hiding media download options is only available in media channels.',
'threads.invalid_thread_notification_settings': 'Invalid thread notification settings.',
'threads.max_active_threads_reached': 'This community has reached its active thread limit of {count}.',
'threads.max_forum_tags_reached': 'This channel has reached its tag limit of {count}.',
'threads.max_pinned_threads_reached': 'This channel has reached its pinned post limit of {count}.',
'threads.max_thread_members_reached': 'This thread has reached its member limit of {count}.',
'threads.no_tags_available_to_non_moderators':
'A tag is required, but only moderators can apply the tags in this channel.',
'threads.search_index_not_ready': "The search index isn't ready yet. Try again in a moment.",
'threads.thread_already_created_for_message': 'A thread has already been created for this message.',
'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.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.",
'unknown_entities.unknown_guild': "Community wasn't found.",
'unknown_entities.unknown_invite': "Invite wasn't found or is no longer valid.",
'unknown_entities.unknown_member': "Member wasn't found in this community.",
'unknown_entities.unknown_message': "Message wasn't found.",
'unknown_entities.unknown_role': "Role wasn't found.",
'unknown_entities.unknown_user': "User wasn't found.",
'unknown_entities.unknown_thread_member': "Thread member wasn't found.",
'unknown_entities.unknown_user_flag': "The specified user flag isn't recognized.",
'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_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.',
'usernames_and_tags.discriminator_not_supported_on_instance':
"This instance doesn't use tags. Your username is unique on its own.",
'usernames_and_tags.discriminator_out_of_range': 'Discriminator must be between {min} and {max}.',
'usernames_and_tags.discriminator_required': 'Discriminator is required.',
'usernames_and_tags.display_name_reserved_terms': 'Display name can\'t contain "system message".',
'usernames_and_tags.global_name_length_invalid': 'Global name must be between {min} and {max} characters.',
'usernames_and_tags.global_name_reserved_value': 'Global name can\'t be "everyone" or "here".',
'usernames_and_tags.tag_already_taken': 'This tag is already taken.',
'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.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.',
'usernames_and_tags.username_not_available': 'This username is not available.',
'usernames_and_tags.username_reserved_terms': 'Username can\'t contain "fluxer" or "system message".',
'usernames_and_tags.username_reserved_value': 'Username can\'t be "everyone" or "here".',
'vanity_urls.vanity_url_already_taken': 'This vanity URL is already taken.',
'vanity_urls.vanity_url_code_already_taken': 'Vanity URL code is already taken.',
'vanity_urls.vanity_url_code_cannot_contain_fluxer': 'Vanity URL code can\'t contain "fluxer".',
'vanity_urls.vanity_url_code_length_invalid': 'Vanity URL code must be between {min} and {max} characters.',
'vanity_urls.vanity_url_invalid_characters':
'Vanity URL can only contain lowercase letters (a-z), digits (0-9), and hyphens (-).',
'webhooks.cannot_modify_system_webhook': "You can't edit system messages.",
'webhooks.forum_target_conflict': "You can't specify both `thread_id` and `thread_name`.",
'webhooks.forum_target_required': 'Webhooks posting to this channel need a `thread_id` or a `thread_name`.',
'webhooks.max_webhooks_per_channel_reached':
"You've reached the maximum of {count, plural, one {# webhook} other {# webhooks}} per channel.",
'webhooks.max_webhooks_per_guild_reached':
"You've reached the maximum of {count, plural, one {# webhook} other {# webhooks}} per community.",
'webhooks.service_forum_unsupported':
"This webhook service can't post to a forum or media channel without a `thread_id`.",
'webhooks.thread_name_requires_forum': '`thread_name` and `applied_tags` only work in forum and media channels.',
'webhooks.unknown_webhook': 'Unknown webhook.',
'webhooks.webhook_name_length_invalid': 'Webhook name must be between {min} and {max} characters.',
'entrance_sounds.invalid_format': 'Entrance sounds must be MP3, OGG, M4A, or WAV audio.',
'entrance_sounds.duration_exceeds_limit': 'Entrance sounds can be at most {max_ms, number}ms long.',
'entrance_sounds.size_exceeds_limit': 'Entrance sounds can be at most {max_bytes, number} bytes.',
'entrance_sounds.quota_reached': "You've reached the limit of {max, number} saved entrance sounds.",
'entrance_sounds.name_length_invalid': 'Entrance sound names must be between 1 and {max, number} characters.',
'entrance_sounds.not_found': 'Entrance sound not found.',
'entrance_sounds.invalid_scope': 'Invalid entrance sound scope.',
} as const;
export type ErrorI18nCatalog = typeof ERROR_I18N_MESSAGES;
export type ErrorI18nKey = keyof ErrorI18nCatalog;