Fix missing i18n for RoomTile ARIA labels and +a case for notif-off bold

pull/21833/head
Michael Telatynski 2019-10-29 16:34:56 +00:00
parent 814917d9ed
commit 98096d206b
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 }); 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"

View File

@ -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.",