Browse Source

room-details: Be consistent about wording around knock feature

Always talk about requesting an invite
fractal-12
Kévin Commaille 8 months ago
parent
commit
454f3e15ae
No known key found for this signature in database
GPG Key ID: F26F4BE20A08255B
  1. 4
      src/session/model/room/join_rule.rs

4
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!("<b>{room_name}</b>"))],
)
} else {

Loading…
Cancel
Save