mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
refactor: remove dead code (#3337)
This commit is contained in:
1 parent
a19002652b
commit
93d1f8af46
1527 files changed
+21170
-73846
No files matched your search
@@ -63,7 +63,6 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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_parse_multipart_payload': "We couldn't parse the multipart payload.",
|
||||
'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}.',
|
||||
@@ -107,11 +106,9 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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_request': 'Invalid request.',
|
||||
'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.invalid_token_admin_api_key': 'Invalid admin API key.',
|
||||
'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.",
|
||||
@@ -120,8 +117,6 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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.response_type_must_be_code_for_non_bot_scopes':
|
||||
'Response type must be "code" for scopes other than "bot".',
|
||||
'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.",
|
||||
@@ -287,7 +282,6 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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_change_via_token': 'Email must be changed via `email_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.',
|
||||
@@ -298,7 +292,6 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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.user_is_not_pending_verification': "This user isn't pending verification.",
|
||||
'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':
|
||||
@@ -313,8 +306,6 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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.at_least_one_recipient_required_to_seed_private_channels':
|
||||
'At least one recipient is required to seed private channels.',
|
||||
'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.",
|
||||
@@ -344,15 +335,9 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'http.not_implemented': 'Not implemented.',
|
||||
'http.service_unavailable': 'Service unavailable.',
|
||||
'http.validation_error': 'Validation failed.',
|
||||
'invites_and_beta.invalid_or_already_used_beta_code': 'Invalid or already used beta code.',
|
||||
'invites_and_beta.max_beta_codes_reached':
|
||||
"You've reached the maximum of {count, plural, one {# beta code} other {# beta codes}}.",
|
||||
'invites_and_beta.unknown_beta_code': 'Unknown beta code.',
|
||||
'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.emoji_requires_access':
|
||||
"You can't use this emoji without access to its community or installed pack.",
|
||||
'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.',
|
||||
@@ -419,14 +404,10 @@ export const ERROR_I18N_MESSAGES = {
|
||||
'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.cannot_send_messages_in_this_guild_without_email_verification':
|
||||
'You need to verify your email to send messages in this community.',
|
||||
'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.max_files_exceeded': 'Too many files. Maximum {maxFiles, plural, one {# file} other {# files}} allowed.',
|
||||
'misc.must_have_bot_to_mark_system_user': 'User must be a bot to be marked as a system user.',
|
||||
'misc_limits.max_applications_reached':
|
||||
"You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",
|
||||
'misc_limits.max_bookmarks_reached':
|
||||
@@ -465,7 +446,6 @@ 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.bio_requires_premium_for_length': 'A bio longer than {maxLength} characters requires 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.",
|
||||
@@ -574,9 +554,7 @@ export const ERROR_I18N_MESSAGES = {
|
||||
"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_length_invalid': 'Display name must be between {min} and {max} characters.',
|
||||
'usernames_and_tags.display_name_reserved_terms': 'Display name can\'t contain "system message".',
|
||||
'usernames_and_tags.display_name_reserved_value': 'Display name can\'t be "everyone" or "here".',
|
||||
'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.',
|
||||
|
||||
Reference in new issue
Block a user