Coverage for src/couchers/errors.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# CAUTION! Changing these messages may break clients.
3ACCOUNT_SUSPENDED = "Your account is suspended."
4ALREADY_ADMIN = "That user is already an admin."
5ALREADY_HAS_PASSWORD = "That account already has a password."
6ALREADY_IN_CHAT = "That user is already in the chat."
7ALREADY_IN_COMMUNITY = "You're already in that community."
8ALREADY_IN_GROUP = "You're already in that group."
9CANNOT_LEAVE_CONTAINING_COMMUNITY = "You are inside this community, so you cannot leave it."
10CANT_ADD_SELF = "You can't add yourself to a group chat."
11CANT_BLOCK_SELF = "You can't block yourself."
12CANT_CHANGE_GENDER = "Please contact admins to change your displayed gender."
13CANT_FRIEND_SELF = "You can't befriend yourself!"
14CANT_INVITE_SELF = "You can't invite yourself to a chat."
15CANT_INVITE_TO_DM = "You can't invite other users to a direct message."
16CANT_MAKE_SELF_ADMIN = "You can't make yourself an admin."
17CANT_MUTE_PAST = "You can't mute until a date in the past."
18CANT_REFER_SELF = "You can't refer yourself."
19CANT_REMOVE_LAST_ADMIN = "You can't remove the last admin."
20CANT_REMOVE_SELF = "You can't remove yourself."
21CANT_REQUEST_SELF = "Can't request hosting from yourself."
22CANT_UNACCEPT_COMMUNITY_GUIDELINES = "You cannot revoke acceptance of the Community Guidelines."
23CANT_UNACCEPT_TOS = "You cannot revoke acceptance of the Terms of Service."
24CANT_UNSEE_MESSAGES = "You can't unsee messages."
25CANT_UNSUB_TOPIC = "Sorry, you can't unsubscribe from that topic right now."
26CANT_WRITE_REFERENCE_FOR_REQUEST = "You can't write a reference for that host request, or it wasn't found."
27CHAT_NOT_FOUND = "Couldn't find that chat."
28COMMUNITY_NOT_FOUND = "Community not found."
29DATE_FROM_AFTER_ONE_YEAR = "The start date must be within one year from today."
30DATE_FROM_AFTER_TO = "From date can't be after to date."
31DATE_FROM_BEFORE_TODAY = "From date must be today or later."
32DATE_TO_AFTER_ONE_YEAR = "You cannot request to stay with someone for longer than one year."
33DISCUSSION_NOT_FOUND = "Discussion not found."
34DONATION_TOO_SMALL = "We can't accept donations less than $2, sorry!"
35DONATIONS_DISABLED = "Donations are currently disabled."
36EVENT_CANT_OVERLAP = "An event cannot have overlapping occurrences."
37EVENT_CANT_REMOVE_OWNER_AS_ORGANIZER = "Transfer the event elsewhere before removing yourself as an organizer."
38EVENT_CANT_UPDATE_ALL_TIMES = "You cannot update all events if you're modifying start or end times."
39EVENT_CANT_UPDATE_OLD_EVENT = "You can't update an event that's more than 1 day old."
40EVENT_EDIT_PERMISSION_DENIED = "You're not allowed to edit that event."
41EVENT_ENDS_BEFORE_STARTS = "The event must end after it starts."
42EVENT_IN_PAST = "The event must be in the future."
43EVENT_NOT_AN_ORGANIZER = "You're not an organizer."
44EVENT_NOT_FOUND = "Event not found."
45EVENT_TOO_FAR_IN_FUTURE = "The event needs to start within the next year."
46EVENT_TOO_LONG = "Events cannot last longer than 7 days."
47EVENT_TRANSFER_PERMISSION_DENIED = "You're not allowed to transfer that event."
48FRIEND_REQUEST_NOT_FOUND = "Couldn't find that friend request."
49FRIENDS_ALREADY_OR_PENDING = "You are already friends with or have sent a friend request to that user."
50GROUP_NOT_FOUND = "Group not found."
51GROUP_OR_COMMUNITY_NOT_FOUND = "Group or community not found."
52HOST_REQUEST_CLOSED = "This host request is closed, use a normal message instead."
53HOST_REQUEST_IN_PAST = "This host request is in the past."
54HOST_REQUEST_NOT_FOUND = "Couldn't find that host request."
55HOST_REQUEST_SENT_OR_RECEIVED = "Can't only list sent and also only received requests."
56HOSTING_STATUS_REQUIRED = "Hosting status is required."
57INSECURE_PASSWORD = "The password is insecure. Please use one that is not easily guessable."
58INVALID_BIRTHDATE = "You must be at least 18 years old to sign up."
59INVALID_COORDINATE = "Invalid coordinate."
60INVALID_DATE = "Invalid date."
61INVALID_EMAIL = "Invalid email."
62INVALID_GUIDE_LOCATION = "You need to either supply an address and locaiton or neither for a guide."
63INVALID_HOST_REQUEST_STATUS = "You can't set the host request status to that."
64INVALID_LANGUAGE = "Invalid language."
65INVALID_MESSAGE = "Invalid message."
66INVALID_NAME = "Name not supported."
67INVALID_PHONE = "Phone number must be in international format without punctuation."
68INVALID_RECIPIENTS = "Invalid recipients list."
69INVALID_REGION = "Invalid region."
70INVALID_TOKEN = "Invalid token."
71INVALID_USERNAME = "Invalid username."
72INVALID_USERNAME_OR_PASSWORD = "Invalid username or password."
73INVITE_PERMISSION_DENIED = "You're not allowed to invite users."
74LAST_ADMIN_CANT_LEAVE = "The last admin can't leave a group chat."
75LOGOUT_FAILED = "Couldn't log out."
76MISSING_BOTH_PASSWORDS = "You must supply at least the old or the new password."
77MISSING_DISCUSSION_CONTENT = "Missing discussion content."
78MISSING_DISCUSSION_TITLE = "Missing discussion title."
79MISSING_EVENT_ADDRESS_LOCATION_OR_LINK = "Missing event address, location, or link."
80MISSING_EVENT_ADDRESS_OR_LOCATION = "Missing event address or location."
81MISSING_EVENT_CONTENT = "Missing event content."
82MISSING_EVENT_TITLE = "Missing event title."
83MISSING_PAGE_ADDRESS = "Missing page address."
84MISSING_PAGE_CONTENT = "Missing page text."
85MISSING_PAGE_LOCATION = "Missing page geo-location."
86MISSING_PAGE_PARENT = "Missing page parent."
87MISSING_PAGE_TITLE = "Missing page title."
88MISSING_PASSWORD = "The user has a password but the request did not provide one."
89MUST_ACCEPT_COMMUNITY_GUIDELINES = "You must accept the Community Guidelines."
90MUST_ACCEPT_TOS = "You must accept the Terms of Service."
91MUST_CONFIRM_ACCOUNT_DELETE = "Please confirm your account deletion."
92NEED_TO_SPECIFY_AT_LEAST_ONE_USER = "You need to specify at least one user."
93NO_MULTIPOLYGON = "GeoJson was not of type MultiPolygon."
94NO_PASSWORD = "That account has no password."
95NO_PENDING_VERIFICATION = "No phone number to verify."
96NO_RECIPIENTS = "No recipients."
97NOT_IN_COMMUNITY = "You're not in that community."
98NOT_IN_GROUP = "You're not in that group."
99NOT_THE_HOST = "You are not the host of this request."
100OFFLINE_EVENT_HAS_LINK = "An in person event can't have a link."
101ONLINE_EVENT_MISSING_PARENT_COMMUNITY = "The online event is missing a parent community."
102ONLINE_EVENT_REQUIRES_LINK = "An online-only event requires a link."
103ONLY_ADMIN_CAN_EDIT = "Only admins can edit the chat."
104ONLY_ADMIN_CAN_MAKE_ADMIN = "Only admins can make other users admins."
105ONLY_ADMIN_CAN_REMOVE_ADMIN = "Only admins can remove admins."
106ONLY_ADMIN_CAN_REMOVE_USER = "Only admins can remove users."
107PAGE_NOT_FOUND = "Page not found."
108PAGE_TRANSFER_PERMISSION_DENIED = "You're not allowed to transfer that page."
109PAGE_UPDATE_PERMISSION_DENIED = "You're not allowed to update that page."
110PASSWORD_TOO_LONG = "The password must be less than 256 characters."
111PASSWORD_TOO_SHORT = "The password must be 8 or more characters long."
112PHOTO_NOT_FOUND = "Photo not found."
113REFERENCE_ALREADY_GIVEN = "Reference already given."
114REFERENCE_INVALID_RATING = "The rating must be between 0 and 1, inclusive."
115REFERENCE_NO_TEXT = "The text of a reference must not be empty"
116REVERIFICATION_TOO_EARLY = "Too early for a new phone number verification. Please try again later."
117SIGNUP_FLOW_ACCOUNT_FILLED = "Account part already filled in."
118SIGNUP_FLOW_BASIC_FILLED = "Basic part already filled in."
119SIGNUP_FLOW_BASIC_NEEDED = "Basic part needed to sign up."
120SIGNUP_FLOW_EMAIL_STARTED_SIGNUP = "Please check your email for a link to continue signing up."
121SIGNUP_FLOW_EMAIL_TAKEN = "That email address is already associated with an account. Please log in instead!"
122SIGNUP_FLOW_FEEDBACK_FILLED = "Feedback part already filled in."
123SIGNUP_FLOW_MISSING_FORM = "Missing contributor form."
124THREAD_NOT_FOUND = "Discussion thread not found."
125TOO_MANY_SMS_CODE_ATTEMPTS = "Too many sms code attempts performed."
126UNKNOWN_ERROR = "An unknown backend error occurred. Please consider filing a bug!"
127UNRECOGNIZED_PHONE_NUMBER = "Your mobile phone number is not recognized. Please double-check it and contact support if this error persists." # fmt: skip
128UNSUPPORTED_OPERATOR = "Your mobile phone operator is not supported."
129USER_ALREADY_BLOCKED = "Target user has already been blocked."
130USER_NOT_ADMIN = "That user is not an admin."
131USER_NOT_BLOCKED = "Target user is not blocked."
132USER_NOT_FOUND = "Couldn't find that user."
133USER_NOT_IN_CHAT = "That user is not in that chat."
134USERNAME_NOT_AVAILABLE = "Sorry, that username isn't available."
135WRONG_SIGNATURE = "Wrong signature."
136WRONG_SMS_CODE = "The code is wrong."