replace Polls history strings with Poll history (#10454)

Co-authored-by: Michael Weimann <michaelw@matrix.org>
This commit is contained in:
Kerry 2023-03-29 11:13:51 +13:00 committed by GitHub
parent f5115e047e
commit 6eda1fa6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 15 additions and 15 deletions

View file

@ -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)} />,
),

View file

@ -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 (

View file

@ -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 && (