Coverage for src/couchers/errors.py: 100%
175 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-06-23 04:49 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2025-06-23 04:49 +0000
1# CAUTION! Changing these messages may break clients.
3ACCOUNT_NOT_FOUND = "An account with that username or email was not found."
4ACCOUNT_SUSPENDED = "Your account is suspended."
5ADMIN_BLOG_BLURB_TOO_LONG = "The blog post blurb is too long."
6ADMIN_BLOG_TITLE_TOO_LONG = "The blog post title is too long."
7ADMIN_CANNOT_EDIT_BADGE = "Admins cannot edit that badge."
8ADMIN_NOTE_CANT_BE_EMPTY = "The admin note cannot be empty."
9ALREADY_ADMIN = "That user is already an admin."
10ALREADY_HAVE_DM = "You already have a direct message chat with this user."
11ALREADY_IN_CHAT = "That user is already in the chat."
12ALREADY_IN_COMMUNITY = "You're already in that community."
13ALREADY_IN_GROUP = "You're already in that group."
14BADGE_NOT_FOUND = "Badge not found."
15BUG_TOOL_DISABLED = "Bug tool disabled"
16BUG_TOOL_REQUEST_FAILED = "Request failed"
17CANNOT_EDIT_THAT_NOTIFICATION_PREFERENCE = "That notification preference is not user editable."
18CANNOT_LEAVE_CONTAINING_COMMUNITY = "You are inside this community, so you cannot leave it."
19CANT_ADD_SELF = "You can't add yourself to a group chat."
20CANT_BLOCK_SELF = "You can't block yourself."
21CANT_FRIEND_SELF = "You can't befriend yourself!"
22CANT_INVITE_SELF = "You can't invite yourself to a chat."
23CANT_INVITE_TO_DM = "You can't invite other users to a direct message."
24CANT_MAKE_SELF_ADMIN = "You can't make yourself an admin."
25CANT_MESSAGE_IN_CHAT = "You can't send a message in this chat."
26CANT_MUTE_PAST = "You can't mute until a date in the past."
27CANT_REFER_SELF = "You can't refer yourself."
28CANT_REMOVE_LAST_ADMIN = "You can't remove the last admin."
29CANT_REMOVE_SELF = "You can't remove yourself."
30CANT_REQUEST_SELF = "Can't request hosting from yourself."
31CANT_UNACCEPT_COMMUNITY_GUIDELINES = "You cannot revoke acceptance of the Community Guidelines."
32CANT_UNACCEPT_TOS = "You cannot revoke acceptance of the Terms of Service."
33CANT_UNSEE_MESSAGES = "You can't unsee messages."
34CANT_UNSUB_TOPIC = "Sorry, you can't unsubscribe from that topic right now."
35CANT_WRITE_REFERENCE_FOR_REQUEST = "You can't write a reference for that host request, or it wasn't found."
36CANT_WRITE_REFERENCE_INDICATED_DIDNT_MEETUP = "You can't write a reference for that host request because you indicated that you didn't meet up." # fmt: skip
37CHAT_NOT_FOUND = "Couldn't find that chat."
38COMMUNITY_NOT_FOUND = "Community not found."
39CONTENT_REPORT_NOT_FOUND = "Content report not found."
40DATE_FROM_AFTER_ONE_YEAR = "The start date must be within one year from today."
41DATE_FROM_AFTER_TO = "From date can't be after to date."
42DATE_FROM_BEFORE_TODAY = "From date must be today or later."
43DATE_TO_AFTER_ONE_YEAR = "You cannot request to stay with someone for longer than one year."
44DISCUSSION_NOT_FOUND = "Discussion not found."
45DO_NOT_EMAIL_CANNOT_HOST = "You cannot enable hosting while you have emails turned off in your settings."
46DO_NOT_EMAIL_CANNOT_MEET = "You cannot enable meeting up while you have emails turned off in your settings."
47DONATION_TOO_SMALL = "We can't accept donations less than $2, sorry!"
48DONATIONS_DISABLED = "Donations are currently disabled."
49EVENT_CANT_CANCEL_OLD_EVENT = "You can't cancel an event that's more than 1 day old."
50EVENT_CANT_OVERLAP = "An event cannot have overlapping occurrences."
51EVENT_CANT_REMOVE_OWNER_AS_ORGANIZER = "Transfer the event elsewhere before removing yourself as an organizer."
52EVENT_CANT_UPDATE_ALL_TIMES = "You cannot update all events if you're modifying start or end times."
53EVENT_CANT_UPDATE_CANCELLED_EVENT = "You can't modify, subscribe to, or attend to an event that's been cancelled."
54EVENT_CANT_UPDATE_OLD_EVENT = "You can't modify, subscribe to, or attend to an event that's more than 1 day old."
55EVENT_COMMUNITY_INVITE_ALREADY_APPROVED = "A community invite has already been sent out for this event."
56EVENT_COMMUNITY_INVITE_ALREADY_DECIDED = "That event community invite was already approved/denied."
57EVENT_COMMUNITY_INVITE_ALREADY_REQUESTED = "You have already requested a community invite for this event."
58EVENT_COMMUNITY_INVITE_NOT_FOUND = "Couldn't find that event community invite."
59EVENT_EDIT_PERMISSION_DENIED = "You're not allowed to edit that event."
60EVENT_ENDS_BEFORE_STARTS = "The event must end after it starts."
61EVENT_IN_PAST = "The event must be in the future."
62EVENT_NOT_AN_ORGANIZER = "You're not an organizer."
63EVENT_NOT_FOUND = "Event not found."
64EVENT_TOO_FAR_IN_FUTURE = "The event needs to start within the next year."
65EVENT_TOO_LONG = "Events cannot last longer than 7 days."
66EVENT_TRANSFER_PERMISSION_DENIED = "You're not allowed to transfer that event."
67FRIEND_REQUEST_NOT_FOUND = "Couldn't find that friend request."
68FRIENDS_ALREADY_OR_PENDING = "You are already friends with or have sent a friend request to that user."
69GROUP_NOT_FOUND = "Group not found."
70GROUP_OR_COMMUNITY_NOT_FOUND = "Group or community not found."
71HOST_REQUEST_CLOSED = "This host request is closed, use a normal message instead."
72HOST_REQUEST_IN_PAST = "This host request is in the past."
73HOST_REQUEST_NOT_FOUND = "Couldn't find that host request."
74HOST_REQUEST_SENT_OR_RECEIVED = "Can't only list sent and also only received requests."
75HOSTING_STATUS_REQUIRED = "Hosting status is required."
76INCOMPLETE_PROFILE_CREATE_EVENT = "You have to complete your profile before you can create an event."
77INCOMPLETE_PROFILE_SEND_MESSAGE = "You have to complete your profile before you can send a message."
78INCOMPLETE_PROFILE_SEND_REQUEST = "You have to complete your profile before you can send a request."
79INSECURE_PASSWORD = "The password is insecure. Please use one that is not easily guessable."
80INVALID_BIRTHDATE = "You must be at least 18 years old to sign up."
81INVALID_COMMENT = "You cannot post an empty comment."
82INVALID_COORDINATE = "Invalid coordinate."
83INVALID_DATE = "Invalid date."
84INVALID_DELIVERY_METHOD = "Invalid delivery method."
85INVALID_EMAIL = "Invalid email."
86INVALID_GUIDE_LOCATION = "You need to either supply an address and location or neither for a guide."
87INVALID_HOST_REQUEST_STATUS = "You can't set the host request status to that."
88INVALID_LANGUAGE = "Invalid language."
89INVALID_MESSAGE = "Invalid message."
90INVALID_NAME = "Name not supported."
91INVALID_NOTIFICATION_PREFERENCE = "Invalid notification preference."
92INVALID_PASSWORD = "Wrong password."
93INVALID_PHONE = "Phone number must be in international format without punctuation."
94INVALID_RECIPIENTS = "Invalid recipients list."
95INVALID_REGION = "Invalid region."
96INVALID_TOKEN = "Invalid token."
97INVALID_USERNAME = "Invalid username."
98INVITE_PERMISSION_DENIED = "You're not allowed to invite users."
99LAST_ADMIN_CANT_LEAVE = "The last admin can't leave a group chat."
100MISSING_DISCUSSION_CONTENT = "Missing discussion content."
101MISSING_DISCUSSION_TITLE = "Missing discussion title."
102MISSING_EVENT_ADDRESS_LOCATION_OR_LINK = "Missing event address, location, or link."
103MISSING_EVENT_ADDRESS_OR_LOCATION = "Missing event address or location."
104MISSING_EVENT_CONTENT = "Missing event content."
105MISSING_EVENT_TITLE = "Missing event title."
106MISSING_PAGE_ADDRESS = "Missing page address."
107MISSING_PAGE_CONTENT = "Missing page text."
108MISSING_PAGE_LOCATION = "Missing page geo-location."
109MISSING_PAGE_PARENT = "Missing page parent."
110MISSING_PAGE_TITLE = "Missing page title."
111MOD_NOTE_NEED_TO_ACKNOWELDGE = "You need to read and acknolwedge the mod note."
112MOD_NOTE_NOT_FOUND = "Mod note not found."
113MUST_ACCEPT_COMMUNITY_GUIDELINES = "You must accept the Community Guidelines."
114MUST_ACCEPT_TOS = "You must accept the Terms of Service."
115MUST_CONFIRM_ACCOUNT_DELETE = "Please confirm your account deletion."
116MUST_CONFIRM_LOGOUT_OTHER_SESSIONS = "Please confirm you want to log out of other sessions."
117MUST_INCLUDE_OWN_GENDER = "You must include your own gender in the gender filter."
118NEED_STRONG_VERIFICATION = "You need Strong Verification to use that feature."
119NEED_TO_SPECIFY_AT_LEAST_ONE_USER = "You need to specify at least one user."
120NO_MULTIPOLYGON = "GeoJson was not of type MultiPolygon."
121NO_PENDING_VERIFICATION = "No phone number to verify."
122NO_RECIPIENTS = "No recipients."
123NODE_MODERATE_PERMISSION_DENIED = "You're not allowed to moderate that community"
124NOT_DONATED = "Please complete donation to get phone verified."
125NOT_FRIENDS = "You aren't friends with that user!"
126NOT_IN_COMMUNITY = "You're not in that community."
127NOT_IN_GROUP = "You're not in that group."
128NOT_THE_HOST = "You are not the host of this request."
129NOTIFICATION_NOT_FOUND = "Notification not found."
130OBJECT_NOT_FOUND = "Object not found."
131ONLINE_EVENT_MISSING_PARENT_COMMUNITY = "The online event is missing a parent community."
132ONLINE_EVENT_REQUIRES_LINK = "An online-only event requires a link."
133ONLY_ADMIN_CAN_EDIT = "Only admins can edit the chat."
134ONLY_ADMIN_CAN_MAKE_ADMIN = "Only admins can make other users admins."
135ONLY_ADMIN_CAN_REMOVE_ADMIN = "Only admins can remove admins."
136ONLY_ADMIN_CAN_REMOVE_USER = "Only admins can remove users."
137PAGE_NOT_FOUND = "Page not found."
138PAGE_TRANSFER_PERMISSION_DENIED = "You're not allowed to transfer that page."
139PAGE_UPDATE_PERMISSION_DENIED = "You're not allowed to update that page."
140PASSWORD_TOO_LONG = "The password must be less than 256 characters."
141PASSWORD_TOO_SHORT = "The password must be 8 or more characters long."
142PHOTO_NOT_FOUND = "Photo not found."
143PROBE_NOT_FOUND = "You don't currently have an activeness probe."
144PROBE_RESPONSE_INVALID = "You can't respond to an activeness probe like that."
145PUSH_NOTIFICATIONS_DISABLED = "Push notifications are currently disabled."
146REFERENCE_ALREADY_GIVEN = "Reference already given."
147REFERENCE_INVALID_RATING = "The rating must be between 0 and 1, inclusive."
148REFERENCE_NO_TEXT = "The text of a reference must not be empty"
149REFERENCE_NOT_FOUND = "Reference not found."
150REQUESTED_TOO_MANY_USERS = "You can't request that many users at a time."
151REVERIFICATION_TOO_EARLY = "Too early for a new phone number verification. Please try again later."
152SIGNUP_FLOW_ACCOUNT_FILLED = "Account part already filled in."
153SIGNUP_FLOW_BASIC_FILLED = "Basic part already filled in."
154SIGNUP_FLOW_BASIC_NEEDED = "Basic part needed to sign up."
155SIGNUP_FLOW_EMAIL_STARTED_SIGNUP = "Please check your email for a link to continue signing up."
156SIGNUP_FLOW_EMAIL_TAKEN = "That email address is already associated with an account. Please log in instead!"
157SIGNUP_FLOW_FEEDBACK_FILLED = "Feedback part already filled in."
158STRONG_VERIFICATION_ALREADY_VERIFIED = "You already have strong verification."
159STRONG_VERIFICATION_ATTEMPT_NOT_FOUND = "Strong verification attempt not found."
160STRONG_VERIFICATION_DISABLED = "Strong verification is currently disabled."
161THREAD_NOT_FOUND = "Discussion thread not found."
162TOO_MANY_SMS_CODE_ATTEMPTS = "Too many sms code attempts performed."
163UNKNOWN_ERROR = "An unknown backend error occurred. Please consider filing a bug!"
164UNRECOGNIZED_PHONE_NUMBER = "Your mobile phone number is not recognized. Please double-check it and contact support if this error persists." # fmt: skip
165UPLOAD_NOT_FOUND = "Upload not found."
166USER_ALREADY_ADMIN = "That user is already an admin."
167USER_ALREADY_BLOCKED = "Target user has already been blocked."
168USER_ALREADY_HAS_BADGE = "The user already has that badge."
169USER_DOES_NOT_HAVE_BADGE = "The user does not have that badge."
170USER_NOT_ADMIN = "That user is not an admin."
171USER_NOT_BLOCKED = "Target user is not blocked."
172USER_NOT_FOUND = "Couldn't find that user."
173USER_NOT_IN_CHAT = "That user is not in that chat."
174USER_NOT_MEMBER = "That user is not in the community."
175USERNAME_NOT_AVAILABLE = "Sorry, that username isn't available."
176WRONG_SIGNATURE = "Wrong signature."
177WRONG_SMS_CODE = "The code is wrong."