From 3af8273d6b2eaf1e6b31091888c0d8daabf9a613 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 24 Jul 2025 18:41:01 +0200 Subject: [PATCH] fix: replace hardcoded string in poll history dialog (#30402) --- src/components/views/polls/pollHistory/PollHistoryList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/polls/pollHistory/PollHistoryList.tsx b/src/components/views/polls/pollHistory/PollHistoryList.tsx index 02facc95ae..2370c80ba6 100644 --- a/src/components/views/polls/pollHistory/PollHistoryList.tsx +++ b/src/components/views/polls/pollHistory/PollHistoryList.tsx @@ -120,8 +120,8 @@ export const PollHistoryList: React.FC = ({ value={filter} onFilterChange={onFilterChange} tabs={[ - { id: "ACTIVE", label: "Active polls" }, - { id: "ENDED", label: "Past polls" }, + { id: "ACTIVE", label: _t("right_panel|poll|active_heading") }, + { id: "ENDED", label: _t("right_panel|poll|past_heading") }, ]} /> {!!pollStartEvents.length && (