Change wording from avatar to profile picture (#7015)
* Change wording from avatar to profile picture Signed-off-by: Aaron Raimist <aaron@raim.ist> * lint Signed-off-by: Aaron Raimist <aaron@raim.ist> * Update EventListSummary Signed-off-by: Aaron Raimist <aaron@raim.ist> * Delete MembershipEventListSummary.tsx Signed-off-by: Aaron Raimist <aaron@raim.ist> * delint * Update tests --------- Signed-off-by: Aaron Raimist <aaron@raim.ist> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c153a4d388
commit
71fe08ea0f
13 changed files with 38 additions and 30 deletions
|
@ -73,7 +73,7 @@ describe("EncryptionEvent", () => {
|
|||
checkTexts(
|
||||
"Encryption enabled",
|
||||
"Messages in this room are end-to-end encrypted. " +
|
||||
"When people join, you can verify them in their profile, just tap on their avatar.",
|
||||
"When people join, you can verify them in their profile, just tap on their profile picture.",
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ exports[`<UserInfo /> with crypto enabled renders <BasicUserInfo /> 1`] = `
|
|||
class="mx_UserInfo_avatar_transition_child"
|
||||
>
|
||||
<span
|
||||
aria-label="Avatar"
|
||||
aria-label="Profile picture"
|
||||
aria-live="off"
|
||||
class="mx_AccessibleButton mx_BaseAvatar"
|
||||
role="button"
|
||||
|
|
|
@ -899,13 +899,13 @@ exports[`PreferencesUserSettingsTab should render 1`] = `
|
|||
<span
|
||||
class="mx_SettingsFlag_labelText"
|
||||
>
|
||||
Show avatar changes
|
||||
Show profile picture changes
|
||||
</span>
|
||||
</label>
|
||||
<div
|
||||
aria-checked="true"
|
||||
aria-disabled="true"
|
||||
aria-label="Show avatar changes"
|
||||
aria-label="Show profile picture changes"
|
||||
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on"
|
||||
role="switch"
|
||||
tabindex="0"
|
||||
|
@ -999,13 +999,13 @@ exports[`PreferencesUserSettingsTab should render 1`] = `
|
|||
<span
|
||||
class="mx_SettingsFlag_labelText"
|
||||
>
|
||||
Show current avatar and name for users in message history
|
||||
Show current profile picture and name for users in message history
|
||||
</span>
|
||||
</label>
|
||||
<div
|
||||
aria-checked="false"
|
||||
aria-disabled="true"
|
||||
aria-label="Show current avatar and name for users in message history"
|
||||
aria-label="Show current profile picture and name for users in message history"
|
||||
class="mx_AccessibleButton mx_ToggleSwitch"
|
||||
role="switch"
|
||||
tabindex="0"
|
||||
|
|
|
@ -127,7 +127,7 @@ describe("CallLobby", () => {
|
|||
const carol = mkRoomMember(room.roomId, "@carol:example.org");
|
||||
|
||||
const expectAvatars = (userIds: string[]) => {
|
||||
const avatars = screen.queryAllByRole("button", { name: "Avatar" });
|
||||
const avatars = screen.queryAllByRole("button", { name: "Profile picture" });
|
||||
expect(userIds.length).toBe(avatars.length);
|
||||
|
||||
for (const [userId, avatar] of zip(userIds, avatars)) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue