replace Polls history strings with Poll history (#10454)

Co-authored-by: Michael Weimann <michaelw@matrix.org>
This commit is contained in:
Kerry
2023-03-28 22:13:51 +00:00
committed by GitHub
co-authored by Michael Weimann
parent f5115e047e
commit 6eda1fa6e2
11 changed files with 15 additions and 15 deletions
@@ -167,7 +167,7 @@ export default class RoomSettingsDialog extends React.Component<IProps, IState>
tabs.push(
new Tab(
ROOM_POLL_HISTORY_TAB,
_td("Polls history"),
_td("Poll history"),
"mx_RoomSettingsDialog_pollsIcon",
<PollHistoryTab roomId={this.props.roomId} onFinished={() => this.props.onFinished(true)} />,
),
@@ -63,7 +63,7 @@ export const PollHistory: React.FC<PollHistoryProps> = ({ room, matrixClient, pe
const title = focusedPoll ? (
<PollDetailHeader filter={filter} onNavigateBack={() => setFocusedPollId(null)} />
) : (
_t("Polls history")
_t("Poll history")
);
return (
@@ -343,7 +343,7 @@ const RoomSummaryCard: React.FC<IProps> = ({ room, permalinkCreator, onClose })
)}
{!isVideoRoom && (
<Button className="mx_RoomSummaryCard_icon_poll" onClick={onRoomPollHistoryClick}>
{_t("Polls history")}
{_t("Poll history")}
</Button>
)}
{pinningEnabled && !isVideoRoom && (
+1 -1
View File
@@ -2237,7 +2237,7 @@
"Not encrypted": "Not encrypted",
"About": "About",
"Files": "Files",
"Polls history": "Polls history",
"Poll history": "Poll history",
"Pinned": "Pinned",
"Export chat": "Export chat",
"Share room": "Share room",