summaryrefslogtreecommitdiff
path: root/shrine/messages/letter.go
blob: 181f00d930c3c6732ec3958e09e5a0f706839a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package messages

const (
	LetterNotFound              = "Letter not found."
	MessageNotFound             = "Message not found."
	MessageBodyRequired         = "Message body is required."
	RecipientsRequired          = "At least one recipient is required."
	RecipientsMax               = "Maximum 20 recipients allowed."
	ValidRecipientRequired      = "At least one valid recipient is required."
	SystemLetterNotReplyable    = "System letters are not replyable. To raise a concern, open a ticket."
	SystemLetterNotRenameable   = "System letters cannot be renamed."
	SystemLetterNotLeaveable    = "You cannot leave a system letter."
	CannotEditOthersMessage     = "You can only edit your own messages."
	CannotDeleteOthersMessage   = "You can only delete your own messages."
	CannotRemoveSelf            = "You cannot remove yourself. Use leave instead."
	OnlyOwnerCanRemove          = "Only the conversation owner can remove participants."
	UserNotInConversation       = "User is not in this conversation."
	TitleTooLong                = "Title must be 200 characters or less."
	FileRequired                = "File is required."
	FailedCreateLetter          = "Failed to create letter."
	FailedSendMessage           = "Failed to send message."
	FailedEditMessage           = "Failed to edit message."
	FailedDeleteMessage         = "Failed to delete message."
	FailedRenameLetter          = "Failed to rename letter."
	FailedLeaveLetter           = "Failed to leave letter."
	FailedRemoveParticipant     = "Failed to remove participant."
	FailedReadFile              = "Failed to read file."
	FailedSaveAttachment        = "Failed to save attachment."
	FailedUploadFile            = "Failed to upload file."
	LetterRenamed               = "Letter renamed."
	LeftConversation            = "You have left the conversation."
	RecipientNotAcceptingLetters = "User '%s' is not accepting letters."
	RecipientNotFound           = "User '%s' not found."
	ParticipantRemoved          = "%s has been removed."
	FileExceedsMaxSize          = "File exceeds the maximum size of %d MB."
	SystemMessageTitle          = "System Message"
	EmptyConversationTitle      = "Empty Conversation"
	LetterTitleTwo              = "%s and %s"
	LetterTitleMany             = "%s, %s, and %d others"
)