From ec78793812afa4989e31077c527020b3cd39ca27 Mon Sep 17 00:00:00 2001 From: R Midhun Suresh Date: Mon, 6 Jan 2025 15:14:48 +0530 Subject: [PATCH] Undo translation changes that must be done via localazy --- src/i18n/strings/en_EN.json | 4 ++-- .../views/rooms/memberlist/MemberListHeaderView-test.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 086dfec4dd0..a12a7c27f47 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1583,7 +1583,7 @@ "one": "%(count)s Member", "other": "%(count)s Members" }, - "filter_placeholder": "Search members...", + "filter_placeholder": "Filter room members", "invite_button_no_perms_tooltip": "You do not have permission to invite users", "invited_label": "Invited", "no_matches": "No matches", @@ -2366,7 +2366,7 @@ "enable_element_call_no_permissions_tooltip": "You do not have sufficient permissions to change this." } }, - "room_summary_card_back_action_label": "Room info", + "room_summary_card_back_action_label": "Room information", "scalar": { "error_create": "Unable to create widget.", "error_membership": "You are not in this room.", diff --git a/test/unit-tests/components/views/rooms/memberlist/MemberListHeaderView-test.tsx b/test/unit-tests/components/views/rooms/memberlist/MemberListHeaderView-test.tsx index f0e726c453c..af79e81fc78 100644 --- a/test/unit-tests/components/views/rooms/memberlist/MemberListHeaderView-test.tsx +++ b/test/unit-tests/components/views/rooms/memberlist/MemberListHeaderView-test.tsx @@ -63,7 +63,7 @@ describe("MemberListHeaderView", () => { }); it("Does not show search box when there's less than 20 members", async () => { - expect(screen.queryByPlaceholderText("Search members...")).toBeNull(); + expect(screen.queryByPlaceholderText("Filter room members")).toBeNull(); }); it("Shows search box when there's more than 20 members", async () => { @@ -81,7 +81,7 @@ describe("MemberListHeaderView", () => { memberListRoom.currentState.members[newMember.userId] = newMember; } await reRender(); - expect(screen.queryByPlaceholderText("Search members...")).toBeVisible(); + expect(screen.queryByPlaceholderText("Filter room members")).toBeVisible(); }); describe("Invite button functionality", () => {