update 'takes longer' fallback wording again

This commit is contained in:
Mark Felder
2025-04-16 14:00:15 -07:00
committed by bjoern
parent 4168985869
commit a6713630b9
2 changed files with 3 additions and 3 deletions

View File

@@ -7595,7 +7595,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
/// "That seems to take longer, maybe the contact or you are offline. However, the process continues in background, you can do something else…" /// "The contact must be online to proceed. This process will continue automatically in background."
/// ///
/// Used as info message. /// Used as info message.
#define DC_STR_SECUREJOIN_TAKES_LONGER 192 #define DC_STR_SECUREJOIN_TAKES_LONGER 192

View File

@@ -430,7 +430,7 @@ pub enum StockMessage {
SecurejoinWait = 190, SecurejoinWait = 190,
#[strum(props( #[strum(props(
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…" fallback = "The contact must be online to proceed.\n\nThis process will continue automatically in background."
))] ))]
SecurejoinTakesLonger = 192, SecurejoinTakesLonger = 192,
} }
@@ -824,7 +824,7 @@ pub(crate) async fn securejoin_wait(context: &Context) -> String {
translated(context, StockMessage::SecurejoinWait).await translated(context, StockMessage::SecurejoinWait).await
} }
/// 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…`. /// Stock string: `The contact must be online to proceed. This process will continue automatically in background.`.
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
} }