mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +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),
|
||||
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
|
||||
.stock_string_repl_str(
|
||||
|
||||
@@ -182,6 +182,9 @@ pub enum StockMessage {
|
||||
|
||||
#[strum(props(fallback = "Message from %1$s"))]
|
||||
SubjectForNewContact = 73,
|
||||
|
||||
#[strum(props(fallback = "Delta Chat"))]
|
||||
MessengerName = 74,
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user