fix i18n formatting issues
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@
|
||||
"action_cancel": "cancel",
|
||||
"upload_finishing": "finishing...",
|
||||
"no_contacts": "You have no contacts :-(",
|
||||
"contacts_not_found_short": "No contacts match '{query}'",
|
||||
"contacts_not_found_short": "No contacts match ''{query}''",
|
||||
"title_group_members": "Group Members",
|
||||
"title_all_contacts": "All Contacts",
|
||||
"button_ok": "OK",
|
||||
|
||||
+1
-1
@@ -109,7 +109,7 @@
|
||||
"action_cancel": "отменить",
|
||||
"upload_finishing": "завершение...",
|
||||
"no_contacts": "Ничего нет :-(",
|
||||
"contacts_not_found_short": "Нет контактов для запроса '{query}'",
|
||||
"contacts_not_found_short": "Нет контактов для запроса ''{query}''",
|
||||
"title_all_contacts": "Все контакты",
|
||||
"error_invalid_id": "Неверный ID",
|
||||
"group_user_id_prompt": "ID чата или пользователя",
|
||||
|
||||
+2
-2
@@ -93,8 +93,8 @@
|
||||
"menu_item_archive_topic": "归档",
|
||||
"action_cancel": "取消",
|
||||
"upload_finishing": "正在结束...",
|
||||
"no_contacts": "你尚无联系人 :-(",
|
||||
"contacts_not_found_short": "无联系人匹配 '{query}'",
|
||||
"no_contacts": "你尚无联系人 (-.-)",
|
||||
"contacts_not_found_short": "无联系人匹配「{query}」",
|
||||
"title_group_members": "群组成员",
|
||||
"title_all_contacts": "全部联系人",
|
||||
"button_ok": "好",
|
||||
|
||||
+4
-4
@@ -132,7 +132,7 @@
|
||||
"action_cancel": "cancel",
|
||||
"upload_finishing": "finishing...",
|
||||
"no_contacts": "You have no contacts :-(",
|
||||
"contacts_not_found_short": "No contacts match '{query}'",
|
||||
"contacts_not_found_short": "No contacts match ''{query}''",
|
||||
"title_group_members": "Group Members",
|
||||
"title_all_contacts": "All Contacts",
|
||||
"button_ok": "OK",
|
||||
@@ -283,7 +283,7 @@
|
||||
"action_cancel": "отменить",
|
||||
"upload_finishing": "завершение...",
|
||||
"no_contacts": "Ничего нет :-(",
|
||||
"contacts_not_found_short": "Нет контактов для запроса '{query}'",
|
||||
"contacts_not_found_short": "Нет контактов для запроса ''{query}''",
|
||||
"title_all_contacts": "Все контакты",
|
||||
"error_invalid_id": "Неверный ID",
|
||||
"group_user_id_prompt": "ID чата или пользователя",
|
||||
@@ -440,8 +440,8 @@
|
||||
"menu_item_archive_topic": "归档",
|
||||
"action_cancel": "取消",
|
||||
"upload_finishing": "正在结束...",
|
||||
"no_contacts": "你尚无联系人 :-(",
|
||||
"contacts_not_found_short": "无联系人匹配 '{query}'",
|
||||
"no_contacts": "你尚无联系人 (-.-)",
|
||||
"contacts_not_found_short": "无联系人匹配「{query}」",
|
||||
"title_group_members": "群组成员",
|
||||
"title_all_contacts": "全部联系人",
|
||||
"button_ok": "好",
|
||||
|
||||
@@ -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});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user