Use translatable message for broadcast-joining

This commit is contained in:
Hocuri
2025-08-07 17:10:25 +02:00
parent 3d5e97eced
commit a858709301
2 changed files with 3 additions and 4 deletions

View File

@@ -164,9 +164,8 @@ pub(super) async fn start_protocol(context: &Context, invite: QrInvite) -> Resul
.await?; .await?;
} }
// TODO this message should be translatable: let msg = stock_str::securejoin_wait(context).await;
let msg = "You were invited to join this channel. Waiting for the channel owner's device to reply…"; chat::add_info_msg(context, joining_chat_id, &msg, time()).await?;
chat::add_info_msg(context, joining_chat_id, msg, time()).await?;
Ok(joining_chat_id) Ok(joining_chat_id)
} }
QrInvite::Contact { .. } => { QrInvite::Contact { .. } => {

View File

@@ -1,5 +1,5 @@
InBroadcast#Chat#11: My Channel [1 member(s)] Icon: e9b6c7a78aa2e4f415644f55a553e73.png InBroadcast#Chat#11: My Channel [1 member(s)] Icon: e9b6c7a78aa2e4f415644f55a553e73.png
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Msg#11: info (Contact#Contact#Info): You were invited to join this channel. Waiting for the channel owner's device to reply… [NOTICED][INFO] Msg#11: info (Contact#Contact#Info): Establishing guaranteed end-to-end encryption, please wait… [NOTICED][INFO]
Msg#12🔒: (Contact#Contact#10): Member Me added by Alice. [FRESH][INFO] Msg#12🔒: (Contact#Contact#10): Member Me added by Alice. [FRESH][INFO]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------