fix i18n formatting issues

This commit is contained in:
or-else
2020-05-10 14:02:52 +03:00
parent ad97c5638f
commit c3e5b1cabc
9 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ const messages = defineMessages({
defaultMessage: 'You have no contacts :-(',
description: 'Shown in ContactsView when the user has no contacts'
},
contacts_not_found: {
contacts_not_found_short: {
id: 'contacts_not_found_short',
defaultMessage: "No contacts match '{query}'",
defaultMessage: "No contacts match ''{query}''",
description: 'Shown in ContactsView when search returned no results'
}
});
@@ -112,7 +112,7 @@ class GroupManager extends React.Component {
const {formatMessage} = this.props.intl;
const msg = !val ?
formatMessage(messages.no_contacts) :
formatMessage(messages.contacts_not_found, {query: val});
formatMessage(messages.contacts_not_found_short, {query: val});
this.setState({contactFilter: val, noContactsMessage: msg});
}