Restore numeric count as well for better pluralisation
This commit is contained in:
parent
95a436cdaf
commit
14e64c10a3
2 changed files with 6 additions and 2 deletions
|
@ -130,9 +130,12 @@ export default class EventIndexPanel extends React.Component {
|
|||
<div>
|
||||
<div className='mx_SettingsTab_subsectionText'>
|
||||
{_t("Securely cache encrypted messages locally for them " +
|
||||
"to appear in search results, using %(size)s to store messages from %(rooms)s room(s).",
|
||||
"to appear in search results, using %(size)s to store messages from %(rooms)s rooms.",
|
||||
{
|
||||
size: formatBytes(this.state.eventIndexSize, 0),
|
||||
// This drives the singular / plural string
|
||||
// selection for "room" / "rooms" only.
|
||||
count: this.state.roomCount,
|
||||
rooms: formatCountLong(this.state.roomCount),
|
||||
},
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue