i18n and add space null guard for home space
This commit is contained in:
parent
1a1b1738c1
commit
facc882a11
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ export const SpaceButton: React.FC<IButtonProps> = ({
|
||||||
let notifBadge;
|
let notifBadge;
|
||||||
if (notificationState) {
|
if (notificationState) {
|
||||||
let ariaLabel = _t("Jump to first unread room.");
|
let ariaLabel = _t("Jump to first unread room.");
|
||||||
if (space.getMyMembership() === "invite") {
|
if (space?.getMyMembership() === "invite") {
|
||||||
ariaLabel = _t("Jump to first invite.");
|
ariaLabel = _t("Jump to first invite.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1072,6 +1072,8 @@
|
||||||
"Preview Space": "Preview Space",
|
"Preview Space": "Preview Space",
|
||||||
"Allow people to preview your space before they join.": "Allow people to preview your space before they join.",
|
"Allow people to preview your space before they join.": "Allow people to preview your space before they join.",
|
||||||
"Recommended for public spaces.": "Recommended for public spaces.",
|
"Recommended for public spaces.": "Recommended for public spaces.",
|
||||||
|
"Jump to first unread room.": "Jump to first unread room.",
|
||||||
|
"Jump to first invite.": "Jump to first invite.",
|
||||||
"Expand": "Expand",
|
"Expand": "Expand",
|
||||||
"Collapse": "Collapse",
|
"Collapse": "Collapse",
|
||||||
"Space options": "Space options",
|
"Space options": "Space options",
|
||||||
|
@ -1665,8 +1667,6 @@
|
||||||
"Activity": "Activity",
|
"Activity": "Activity",
|
||||||
"A-Z": "A-Z",
|
"A-Z": "A-Z",
|
||||||
"List options": "List options",
|
"List options": "List options",
|
||||||
"Jump to first unread room.": "Jump to first unread room.",
|
|
||||||
"Jump to first invite.": "Jump to first invite.",
|
|
||||||
"Show %(count)s more|other": "Show %(count)s more",
|
"Show %(count)s more|other": "Show %(count)s more",
|
||||||
"Show %(count)s more|one": "Show %(count)s more",
|
"Show %(count)s more|one": "Show %(count)s more",
|
||||||
"Show less": "Show less",
|
"Show less": "Show less",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue