mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
add "Forwarded:" to summary2,
this affects notifications and the chatlist
This commit is contained in:
@@ -262,6 +262,9 @@ pub enum StockMessage {
|
||||
|
||||
#[strum(props(fallback = "Message deletion timer is set to %1$s weeks."))]
|
||||
MsgEphemeralTimerWeeks = 96,
|
||||
|
||||
#[strum(props(fallback = "Forwarded"))]
|
||||
Forwarded = 97,
|
||||
}
|
||||
|
||||
impl StockMessage {
|
||||
@@ -856,6 +859,11 @@ pub(crate) async fn msg_ephemeral_timer_weeks(
|
||||
.await
|
||||
}
|
||||
|
||||
/// Stock string: `Forwarded`.
|
||||
pub(crate) async fn forwarded(context: &Context) -> String {
|
||||
translated(context, StockMessage::Forwarded).await
|
||||
}
|
||||
|
||||
impl Context {
|
||||
/// Set the stock string for the [StockMessage].
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user