mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
update 'takes longer' fallback wording
This commit is contained in:
@@ -7572,7 +7572,7 @@ void dc_event_unref(dc_event_t* event);
|
|||||||
/// @deprecated 2025-03
|
/// @deprecated 2025-03
|
||||||
#define DC_STR_SECUREJOIN_WAIT_TIMEOUT 191
|
#define DC_STR_SECUREJOIN_WAIT_TIMEOUT 191
|
||||||
|
|
||||||
/// "This takes longer than expected, maybe devices are offline…\n\nHowever, the process continues in background, you can do something else"
|
/// "That seems to take longer, maybe the contact or you are offline. However, the process continues in background, you can do something else…"
|
||||||
///
|
///
|
||||||
/// Used as info message.
|
/// Used as info message.
|
||||||
#define DC_STR_SECUREJOIN_TAKES_LONGER 192
|
#define DC_STR_SECUREJOIN_TAKES_LONGER 192
|
||||||
|
|||||||
@@ -438,7 +438,7 @@ pub enum StockMessage {
|
|||||||
SecurejoinWait = 190,
|
SecurejoinWait = 190,
|
||||||
|
|
||||||
#[strum(props(
|
#[strum(props(
|
||||||
fallback = "This takes longer than expected, maybe devices are offline…\n\nHowever, the process continues in background, you can do something else 🕺"
|
fallback = "That seems to take longer, maybe the contact or you are offline.\n\nHowever, the process continues in background, you can do something else…"
|
||||||
))]
|
))]
|
||||||
SecurejoinTakesLonger = 192,
|
SecurejoinTakesLonger = 192,
|
||||||
}
|
}
|
||||||
@@ -832,7 +832,7 @@ pub(crate) async fn securejoin_wait(context: &Context) -> String {
|
|||||||
translated(context, StockMessage::SecurejoinWait).await
|
translated(context, StockMessage::SecurejoinWait).await
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stock string: `Could not yet establish guaranteed end-to-end encryption, but you may already send a message.`.
|
/// Stock string: `That seems to take longer, maybe the contact or you are offline. However, the process continues in background, you can do something else…`.
|
||||||
pub(crate) async fn securejoin_takes_longer(context: &Context) -> String {
|
pub(crate) async fn securejoin_takes_longer(context: &Context) -> String {
|
||||||
translated(context, StockMessage::SecurejoinTakesLonger).await
|
translated(context, StockMessage::SecurejoinTakesLonger).await
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user