From 95a436cdafb14cb2b50586fcff58409544e4460f Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 18 Nov 2020 14:49:52 +0000 Subject: [PATCH] Use room(s) style in message --- src/components/views/settings/EventIndexPanel.js | 4 ++-- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/settings/EventIndexPanel.js b/src/components/views/settings/EventIndexPanel.js index 1fe18cb207..7391fd479e 100644 --- a/src/components/views/settings/EventIndexPanel.js +++ b/src/components/views/settings/EventIndexPanel.js @@ -130,10 +130,10 @@ export default class EventIndexPanel extends React.Component {
{_t("Securely cache encrypted messages locally for them " + - "to appear in search results, using %(size)s to store messages from %(count)s rooms.", + "to appear in search results, using %(size)s to store messages from %(rooms)s room(s).", { size: formatBytes(this.state.eventIndexSize, 0), - count: formatCountLong(this.state.roomCount), + rooms: formatCountLong(this.state.roomCount), }, )}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 12baf4c60d..fd61b214ea 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -935,7 +935,7 @@ "Failed to set display name": "Failed to set display name", "Encryption": "Encryption", "Individually verify each session used by a user to mark it as trusted, not trusting cross-signed devices.": "Individually verify each session used by a user to mark it as trusted, not trusting cross-signed devices.", - "Securely cache encrypted messages locally for them to appear in search results, using %(size)s to store messages from %(count)s rooms.": "Securely cache encrypted messages locally for them to appear in search results, using %(size)s to store messages from %(count)s rooms.", + "Securely cache encrypted messages locally for them to appear in search results, using %(size)s to store messages from %(rooms)s room(s).": "Securely cache encrypted messages locally for them to appear in search results, using %(size)s to store messages from %(rooms)s room(s).", "Manage": "Manage", "Securely cache encrypted messages locally for them to appear in search results.": "Securely cache encrypted messages locally for them to appear in search results.", "%(brand)s is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom %(brand)s Desktop with search components added.": "%(brand)s is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom %(brand)s Desktop with search components added.",