Localazy Download, including changes to 'only send to verified' (#29592)

* [create-pull-request] automated change

* Update tests for copy changes on 'only send to verified'

* Update one more test snapshot for new wording of exclude unverified

* Update screenshots

---------

Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
This commit is contained in:
ElementRobot
2025-03-26 14:00:17 +01:00
committed by GitHub
parent d9091bcba9
commit f3f05874fa
11 changed files with 131 additions and 61 deletions

View File

@@ -75,7 +75,7 @@ describe("<AdvancedPanel />", () => {
expect(screen.getByTestId("otherSettings")).toMatchSnapshot();
const checkbox = screen.getByRole("checkbox", {
name: "Never send encrypted messages to unverified devices",
name: "In encrypted rooms, only send messages to verified users",
});
expect(checkbox).toBeChecked();

View File

@@ -239,13 +239,13 @@ exports[`<AdvancedPanel /> <OtherSettings /> should display the blacklist of unv
class="_label_19upo_59"
for="radix-:r6:"
>
Never send encrypted messages to unverified devices
In encrypted rooms, only send messages to verified users
</label>
<span
class="_message_19upo_85 _help-message_19upo_91"
id="radix-:r7:"
>
By default in encrypted rooms, do not send encrypted messages to anyone until youve verified them
Warning: users who have not explicitly verified with you (e.g. using emoji) will not receive your encrypted messages. Also, unverified devices of verified users will not receive your encrypted messages.
</span>
</div>
</div>

View File

@@ -392,13 +392,13 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
<span
class="mx_SettingsFlag_labelText"
>
Never send encrypted messages to unverified sessions from this session
Only send messages to verified users
</span>
</label>
<div
aria-checked="false"
aria-disabled="false"
aria-label="Never send encrypted messages to unverified sessions from this session"
aria-label="Only send messages to verified users"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
id="mx_SettingsFlag_vY7Q4uEh9K38"
role="switch"