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
pull/21833/head
Michael Telatynski 2019-10-29 16:43:09 +00:00 committed by GitHub
commit aaafaa90da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -389,6 +389,8 @@ module.exports = createReactClass({
ariaLabel += " " + _t("%(count)s unread messages.", { count: notificationCount });
} else if (mentionBadges && !isInvite) {
ariaLabel += " " + _t("Unread mentions.");
} else if (this.props.unread) {
ariaLabel += " " + _t("Unread messages.");
}
return <AccessibleButton tabIndex="0"

View File

@ -960,8 +960,11 @@
"Not now": "Not now",
"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.|one": "1 unread mention.",
"%(count)s unread messages.|other": "%(count)s unread messages.",
"%(count)s unread messages.|one": "1 unread message.",
"Unread mentions.": "Unread mentions.",
"Unread messages.": "Unread messages.",
"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.",
"This room has already been upgraded.": "This room has already been upgraded.",