Migrate more strings to translation keys (#11613)

This commit is contained in:
Michael Telatynski 2023-09-19 17:16:38 +01:00 committed by GitHub
parent d46d4b3d04
commit 5cb8cbd893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 8214 additions and 6766 deletions

View file

@ -184,8 +184,8 @@ const JoinRuleSettings: React.FC<JoinRuleSettingsProps> = ({
const definitions: IDefinition<JoinRule>[] = [
{
value: JoinRule.Invite,
label: _t("Private (invite only)"),
description: _t("Only invited people can join."),
label: _t("room_settings|security|join_rule_invite"),
description: _t("room_settings|security|join_rule_invite_description"),
checked:
joinRule === JoinRule.Invite || (joinRule === JoinRule.Restricted && !restrictedAllowRoomIds?.length),
},
@ -194,7 +194,7 @@ const JoinRuleSettings: React.FC<JoinRuleSettingsProps> = ({
label: _t("common|public"),
description: (
<>
{_t("Anyone can find and join.")}
{_t("room_settings|security|join_rule_public_description")}
{aliasWarning}
</>
),