mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
Dont Hardcode 'Delta Chat'
This commit is contained in:
@@ -379,7 +379,9 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
|
|||||||
Some(name) => Some(name),
|
Some(name) => Some(name),
|
||||||
None => self.context.get_config(Config::Displayname).await,
|
None => self.context.get_config(Config::Displayname).await,
|
||||||
}
|
}
|
||||||
.unwrap_or_else(|| "Delta Chat".to_string());
|
.unwrap_or_else(|| {
|
||||||
|
self.context.stock_str(StockMessage::MessengerName)
|
||||||
|
});
|
||||||
|
|
||||||
self.context
|
self.context
|
||||||
.stock_string_repl_str(
|
.stock_string_repl_str(
|
||||||
|
|||||||
@@ -182,6 +182,9 @@ pub enum StockMessage {
|
|||||||
|
|
||||||
#[strum(props(fallback = "Message from %1$s"))]
|
#[strum(props(fallback = "Message from %1$s"))]
|
||||||
SubjectForNewContact = 73,
|
SubjectForNewContact = 73,
|
||||||
|
|
||||||
|
#[strum(props(fallback = "Delta Chat"))]
|
||||||
|
MessengerName = 74,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user