add empty lines to stock-strings-enum

This commit is contained in:
B. Petersen
2019-12-02 19:05:53 +01:00
committed by Alexander Krotov
parent c0f177548a
commit 0ac0851ef3

View File

@@ -26,98 +26,144 @@ use crate::stock::StockMessage::{DeviceMessagesHint, WelcomeMessage};
pub enum StockMessage { pub enum StockMessage {
#[strum(props(fallback = "No messages."))] #[strum(props(fallback = "No messages."))]
NoMessages = 1, NoMessages = 1,
#[strum(props(fallback = "Me"))] #[strum(props(fallback = "Me"))]
SelfMsg = 2, SelfMsg = 2,
#[strum(props(fallback = "Draft"))] #[strum(props(fallback = "Draft"))]
Draft = 3, Draft = 3,
#[strum(props(fallback = "%1$s member(s)"))] #[strum(props(fallback = "%1$s member(s)"))]
Member = 4, Member = 4,
#[strum(props(fallback = "%1$s contact(s)"))] #[strum(props(fallback = "%1$s contact(s)"))]
Contact = 6, Contact = 6,
#[strum(props(fallback = "Voice message"))] #[strum(props(fallback = "Voice message"))]
VoiceMessage = 7, VoiceMessage = 7,
#[strum(props(fallback = "Contact requests"))] #[strum(props(fallback = "Contact requests"))]
DeadDrop = 8, DeadDrop = 8,
#[strum(props(fallback = "Image"))] #[strum(props(fallback = "Image"))]
Image = 9, Image = 9,
#[strum(props(fallback = "Video"))] #[strum(props(fallback = "Video"))]
Video = 10, Video = 10,
#[strum(props(fallback = "Audio"))] #[strum(props(fallback = "Audio"))]
Audio = 11, Audio = 11,
#[strum(props(fallback = "File"))] #[strum(props(fallback = "File"))]
File = 12, File = 12,
#[strum(props(fallback = "Sent with my Delta Chat Messenger: https://delta.chat"))] #[strum(props(fallback = "Sent with my Delta Chat Messenger: https://delta.chat"))]
StatusLine = 13, StatusLine = 13,
#[strum(props(fallback = "Hello, I\'ve just created the group \"%1$s\" for us."))] #[strum(props(fallback = "Hello, I\'ve just created the group \"%1$s\" for us."))]
NewGroupDraft = 14, NewGroupDraft = 14,
#[strum(props(fallback = "Group name changed from \"%1$s\" to \"%2$s\"."))] #[strum(props(fallback = "Group name changed from \"%1$s\" to \"%2$s\"."))]
MsgGrpName = 15, MsgGrpName = 15,
#[strum(props(fallback = "Group image changed."))] #[strum(props(fallback = "Group image changed."))]
MsgGrpImgChanged = 16, MsgGrpImgChanged = 16,
#[strum(props(fallback = "Member %1$s added."))] #[strum(props(fallback = "Member %1$s added."))]
MsgAddMember = 17, MsgAddMember = 17,
#[strum(props(fallback = "Member %1$s removed."))] #[strum(props(fallback = "Member %1$s removed."))]
MsgDelMember = 18, MsgDelMember = 18,
#[strum(props(fallback = "Group left."))] #[strum(props(fallback = "Group left."))]
MsgGroupLeft = 19, MsgGroupLeft = 19,
#[strum(props(fallback = "GIF"))] #[strum(props(fallback = "GIF"))]
Gif = 23, Gif = 23,
#[strum(props(fallback = "Encrypted message"))] #[strum(props(fallback = "Encrypted message"))]
EncryptedMsg = 24, EncryptedMsg = 24,
#[strum(props(fallback = "End-to-end encryption available."))] #[strum(props(fallback = "End-to-end encryption available."))]
E2eAvailable = 25, E2eAvailable = 25,
#[strum(props(fallback = "Transport-encryption."))] #[strum(props(fallback = "Transport-encryption."))]
EncrTransp = 27, EncrTransp = 27,
#[strum(props(fallback = "No encryption."))] #[strum(props(fallback = "No encryption."))]
EncrNone = 28, EncrNone = 28,
#[strum(props(fallback = "This message was encrypted for another setup."))] #[strum(props(fallback = "This message was encrypted for another setup."))]
CantDecryptMsgBody = 29, CantDecryptMsgBody = 29,
#[strum(props(fallback = "Fingerprints"))] #[strum(props(fallback = "Fingerprints"))]
FingerPrints = 30, FingerPrints = 30,
#[strum(props(fallback = "Return receipt"))] #[strum(props(fallback = "Return receipt"))]
ReadRcpt = 31, ReadRcpt = 31,
#[strum(props(fallback = "This is a return receipt for the message \"%1$s\"."))] #[strum(props(fallback = "This is a return receipt for the message \"%1$s\"."))]
ReadRcptMailBody = 32, ReadRcptMailBody = 32,
#[strum(props(fallback = "Group image deleted."))] #[strum(props(fallback = "Group image deleted."))]
MsgGrpImgDeleted = 33, MsgGrpImgDeleted = 33,
#[strum(props(fallback = "End-to-end encryption preferred."))] #[strum(props(fallback = "End-to-end encryption preferred."))]
E2ePreferred = 34, E2ePreferred = 34,
#[strum(props(fallback = "%1$s verified."))] #[strum(props(fallback = "%1$s verified."))]
ContactVerified = 35, ContactVerified = 35,
#[strum(props(fallback = "Cannot verify %1$s"))] #[strum(props(fallback = "Cannot verify %1$s"))]
ContactNotVerified = 36, ContactNotVerified = 36,
#[strum(props(fallback = "Changed setup for %1$s"))] #[strum(props(fallback = "Changed setup for %1$s"))]
ContactSetupChanged = 37, ContactSetupChanged = 37,
#[strum(props(fallback = "Archived chats"))] #[strum(props(fallback = "Archived chats"))]
ArchivedChats = 40, ArchivedChats = 40,
#[strum(props(fallback = "Starred messages"))] #[strum(props(fallback = "Starred messages"))]
StarredMsgs = 41, StarredMsgs = 41,
#[strum(props(fallback = "Autocrypt Setup Message"))] #[strum(props(fallback = "Autocrypt Setup Message"))]
AcSetupMsgSubject = 42, AcSetupMsgSubject = 42,
#[strum(props( #[strum(props(
fallback = "This is the Autocrypt Setup Message used to transfer your key between clients.\n\nTo decrypt and use your key, open the message in an Autocrypt-compliant client and enter the setup code presented on the generating device." fallback = "This is the Autocrypt Setup Message used to transfer your key between clients.\n\nTo decrypt and use your key, open the message in an Autocrypt-compliant client and enter the setup code presented on the generating device."
))] ))]
AcSetupMsgBody = 43, AcSetupMsgBody = 43,
#[strum(props(fallback = "Messages I sent to myself"))] #[strum(props(fallback = "Messages I sent to myself"))]
SelfTalkSubTitle = 50, SelfTalkSubTitle = 50,
#[strum(props(fallback = "Cannot login as %1$s."))] #[strum(props(fallback = "Cannot login as %1$s."))]
CannotLogin = 60, CannotLogin = 60,
#[strum(props(fallback = "Could not connect to %1$s: %2$s"))] #[strum(props(fallback = "Could not connect to %1$s: %2$s"))]
ServerResponse = 61, ServerResponse = 61,
#[strum(props(fallback = "%1$s by %2$s."))] #[strum(props(fallback = "%1$s by %2$s."))]
MsgActionByUser = 62, MsgActionByUser = 62,
#[strum(props(fallback = "%1$s by me."))] #[strum(props(fallback = "%1$s by me."))]
MsgActionByMe = 63, MsgActionByMe = 63,
#[strum(props(fallback = "Location streaming enabled."))] #[strum(props(fallback = "Location streaming enabled."))]
MsgLocationEnabled = 64, MsgLocationEnabled = 64,
#[strum(props(fallback = "Location streaming disabled."))] #[strum(props(fallback = "Location streaming disabled."))]
MsgLocationDisabled = 65, MsgLocationDisabled = 65,
#[strum(props(fallback = "Location"))] #[strum(props(fallback = "Location"))]
Location = 66, Location = 66,
#[strum(props(fallback = "Sticker"))] #[strum(props(fallback = "Sticker"))]
Sticker = 67, Sticker = 67,
#[strum(props(fallback = "Device messages"))] #[strum(props(fallback = "Device messages"))]
DeviceMessages = 68, DeviceMessages = 68,
#[strum(props(fallback = "Saved messages"))] #[strum(props(fallback = "Saved messages"))]
SavedMessages = 69, SavedMessages = 69,