Skip to content

Wrong text in for channel info messages #7951

@Hocuri

Description

@Hocuri

Info messages in channels use the group stock strings, e.g. "You changed the group name from X to Y". Instead, we should add four new stock strings in stock_str.rs:

    #[strum(props(fallback = "You changed the channel name from \"%1$s\" to \"%2$s\"."))]
    MsgYouChangedBroadcastName = 204,

    #[strum(props(fallback = "Channel name changed from \"%1$s\" to \"%2$s\" by %3$s."))]
    MsgBroadcastNameChangedBy = 205,

    #[strum(props(fallback = "You changed the channel image."))]
    MsgYouChangedBroadcastImg = 206,

    #[strum(props(fallback = "Channel image changed by %1$s."))]
    MsgBroadcastImgChangedBy = 207,

Then, document them in deltachat.h, and use them instead of their group equivalents.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions