en top-level constant
DRLocale
const en
Offline locale catalog; protocol codes and user content are unchanged.
Implementation
const DRLocale en = DRLocale(
language: "en",
errors: {
"network_error": "Network unavailable. Please check network and try again.",
"timeout": "Request timed out. Please try again later.",
"aborted": "Canceled",
"not_signed_in": "Please sign in first",
"not_connected": "Connecting to the server. Please try again shortly.",
"local_validation": "Content does not meet requirements",
"local_validation.too_large": "Content too long or file too large",
"local_validation.required": "Please fill in the required fields",
"local_validation.control_characters": "Unsupported characters in content",
"local_validation.url_not_allowed": "Cannot send this address",
"local_validation.invalid_evidence": "The selected message cannot be used as evidence",
"local_validation.self_report": "You can't report yourself.",
"local_validation.image_too_large": "The picture is too big. Please send it as a file.",
"local_validation.unsupported_type": "This format is not supported. Please send it as a file.",
"local_validation.invalid_purpose": "This file cannot be used here",
"local_validation.too_many_items": "Too many choices.",
"storage_error": "Local storage failed. Please reopen the application.",
"storage_error.quota_exceeded": "Device storage is full. Free some space and try again.",
"unsupported": "This feature is not supported in the current environment",
"unsupported.media_disabled": "File storage is not enabled on the server",
"permission_required": "Allow the required permissions in system settings",
"device_error": "Microphone or camera not available",
"invalid_state": "You cannot do this in the current state.",
"send_abandoned": "Failed to send",
"send_abandoned.attachment_lost": "Attachment is missing, please reselect file",
"send_abandoned.expired": "Sending stopped because the message expired",
"unauthenticated": "Your session has expired. Please sign in again.",
"session_revoked": "Your session has expired. Please sign in again.",
"session_revoked.kicked": "Your account is logged in on another device",
"tenant_unavailable": "service is temporarily unavailable",
"app_unavailable": "service is temporarily unavailable",
"rate_limited": "Too many requests. Please try again later.",
"rate_limited.user_send_rate": "You are sending messages too quickly. Please try again later.",
"rate_limited.conversation_send_rate": "Messages are being sent too quickly in this conversation. Please try again later.",
"too_many_attempts": "Too many attempts. Please try again later.",
"internal": "Server busy, please try again later",
"invalid_argument": "Invalid request parameters",
"invalid_argument.self_report": "You can't report yourself.",
"invalid_argument.invalid_evidence": "The selected message cannot be used as evidence",
"invalid_argument.self_conversation": "You can't text yourself.",
"invalid_argument.unsupported_type": "File format not supported",
"invalid_argument.image_too_large": "The picture is too big",
"payload_too_large": "Content too long or file too large",
"not_found": "This content does not exist or has been deleted",
"already_exists": "This already exists",
"permission_denied": "You do not have permission to perform this action",
"permission_denied.presence_disabled": "Online status is not enabled",
"permission_denied.read_ack_disabled": "Group read receipts are not enabled",
"permission_denied.mention_all_denied": "Only group owners and administrators can mention everyone",
"permission_denied.recall_denied": "You cannot recall this message",
"permission_denied.recall_window_expired": "The time limit for recalling this message has passed",
"permission_denied.group_file_disabled": "Group files are not enabled",
"permission_denied.report_disabled": "Reporting is not enabled",
"limit_exceeded": "Maximum quantity reached.",
"limit_exceeded.storage_quota": "Storage is full",
"limit_exceeded.group_file_limit": "The group file limit has been reached",
"message_rejected": "Message not approved",
"content_rejected": "Content not approved",
"user_muted": "You are muted",
"group_muted": "The group owner has muted all members",
"user_blocked": "They rejected your message.",
"not_friend": "You're not friends yet.",
"not_group_member": "You are no longer in the group.",
"group_disabled": "This group has been disabled",
"file_expired": "This file has expired",
"file_blocked": "The file has been blocked",
"download_failed": "Download failed. Please try again later.",
"upload_failed": "Upload failed. Please try again.",
"version_conflict": "The content has changed. Please refresh and try again.",
"upgrade_required": "Please upgrade to the latest version",
},
mutedUntil: "You are muted until {time}",
deletedUser: "Deleted user",
unnamedGroup: "Group chat",
system: "System",
you: "You",
summary: {
"image": "[Image]",
"voice": "[Voice]",
"video": "[Video]",
"file": "[File] {name}",
"location": "[Location] {name}",
"custom": "[Message]",
"unknown": "[Message]",
"recalled": "{actor} recalled a message",
"call": "[Call]",
"aiStreaming": "Replying…",
"aiStopped": "[Stopped] {text}",
"aiFailed": "[Interrupted] {text}",
},
recall: {
"self": "You recalled a message",
"sender": "{name} recalled a message",
"byAdmin": "{actor} recalled a message from {name}",
"byServer": "A message was recalled",
},
tip: {
"group_created": "{operator} created the group",
"members_joined_invited": "{operator} invited {members} to the group",
"members_joined_link": "{members} joined the group using a link shared by {operator}",
"members_joined": "{members} joined the group",
"members_left": "{members} left the group",
"members_removed": "{operator} removed {members} from the group",
"members_removed_system": "{members} were removed from the group",
"group_renamed": "{operator} changed the group name to \"{name}\"",
"announcement_updated": "{operator} updated the group announcement",
"owner_changed": "{owner} is the new group owner",
"mute_all_on": "{operator} muted all members",
"mute_all_off": "{operator} unmuted all members",
"group_disabled": "This group has been disabled",
"group_enabled": "This group has been enabled",
"group_dismissed": "This group has been dissolved",
"more": "and {count} others",
"separator": ", ",
"unknown": "[Group notification]",
},
call: {
"audio": "Voice call",
"video": "Video call",
"duration": "Call duration: {duration}",
"canceled_caller": "Canceled",
"canceled_callee": "Canceled by the other party",
"rejected_caller": "Declined by the other party",
"rejected_callee": "Declined",
"busy_caller": "The other party is busy",
"no_answer_caller": "No answer",
"missed": "Missed call",
"connection_lost": "Connection lost",
"ended": "Call ended",
"group_ended": "Group call ended",
},
);