1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-14 10:22:29 +03:00

Migrate more strings to translation keys (#11669)

This commit is contained in:
Michael Telatynski
2023-09-26 13:04:17 +01:00
committed by GitHub
parent 0c6e56ca91
commit 5252361d1e
112 changed files with 4855 additions and 4542 deletions

View File

@ -95,9 +95,9 @@ export const SpaceButton: React.FC<IButtonProps> = ({
let notifBadge;
if (spaceKey && notificationState) {
let ariaLabel = _t("Jump to first unread room.");
let ariaLabel = _t("a11y_jump_first_unread_room");
if (space?.getMyMembership() === "invite") {
ariaLabel = _t("Jump to first invite.");
ariaLabel = _t("a11y|jump_first_invite");
}
const jumpToNotification = (ev: MouseEvent): void => {
@ -371,7 +371,7 @@ export class SpaceItem extends React.PureComponent<IItemProps, IItemState> {
className={isInvite ? "mx_SpaceButton_invite" : undefined}
selected={selected}
label={this.state.name}
contextMenuTooltip={_t("Space options")}
contextMenuTooltip={_t("space|context_menu|options")}
notificationState={notificationState}
isNarrow={isPanelCollapsed}
size={isNested ? "24px" : "32px"}