From 454f3e15ae81474da3468fb36c20b5e6b033d080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 15 Jul 2025 17:06:56 +0200 Subject: [PATCH] room-details: Be consistent about wording around knock feature Always talk about requesting an invite --- src/session/model/room/join_rule.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session/model/room/join_rule.rs b/src/session/model/room/join_rule.rs index 6fd1b2f4..c73acb7f 100644 --- a/src/session/model/room/join_rule.rs +++ b/src/session/model/room/join_rule.rs @@ -244,7 +244,7 @@ mod imp { let name = match value { JoinRuleValue::Invite => { if can_knock { - gettext("Only invited users, and users can knock") + gettext("Only invited users, and users can request an invite") } else { gettext("Only invited users") } @@ -260,7 +260,7 @@ mod imp { gettext_f( // Translators: Do NOT translate the content between '{' and '}', // this is a variable name. - "Members of {room}, and users can knock", + "Members of {room}, and users can request an invite", &[("room", &format!("{room_name}"))], ) } else {