Merge pull request #3574 from matrix-org/t3chguy/a11y/1
Fix missing i18n for RoomTile ARIA labels and add a case for notif-off bold
This commit is contained in:
commit
aaafaa90da
2 changed files with 5 additions and 0 deletions
|
@ -389,6 +389,8 @@ module.exports = createReactClass({
|
||||||
ariaLabel += " " + _t("%(count)s unread messages.", { count: notificationCount });
|
ariaLabel += " " + _t("%(count)s unread messages.", { count: notificationCount });
|
||||||
} else if (mentionBadges && !isInvite) {
|
} else if (mentionBadges && !isInvite) {
|
||||||
ariaLabel += " " + _t("Unread mentions.");
|
ariaLabel += " " + _t("Unread mentions.");
|
||||||
|
} else if (this.props.unread) {
|
||||||
|
ariaLabel += " " + _t("Unread messages.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return <AccessibleButton tabIndex="0"
|
return <AccessibleButton tabIndex="0"
|
||||||
|
|
|
@ -960,8 +960,11 @@
|
||||||
"Not now": "Not now",
|
"Not now": "Not now",
|
||||||
"Don't ask me again": "Don't ask me again",
|
"Don't ask me again": "Don't ask me again",
|
||||||
"%(count)s unread messages including mentions.|other": "%(count)s unread messages including mentions.",
|
"%(count)s unread messages including mentions.|other": "%(count)s unread messages including mentions.",
|
||||||
|
"%(count)s unread messages including mentions.|one": "1 unread mention.",
|
||||||
"%(count)s unread messages.|other": "%(count)s unread messages.",
|
"%(count)s unread messages.|other": "%(count)s unread messages.",
|
||||||
|
"%(count)s unread messages.|one": "1 unread message.",
|
||||||
"Unread mentions.": "Unread mentions.",
|
"Unread mentions.": "Unread mentions.",
|
||||||
|
"Unread messages.": "Unread messages.",
|
||||||
"Add a topic": "Add a topic",
|
"Add a topic": "Add a topic",
|
||||||
"Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.": "Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.",
|
"Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.": "Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.",
|
||||||
"This room has already been upgraded.": "This room has already been upgraded.",
|
"This room has already been upgraded.": "This room has already been upgraded.",
|
||||||
|
|
Loading…
Reference in a new issue