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
+1 -1
View File
@@ -131,7 +131,7 @@
"action_cancel": "cancel", "action_cancel": "cancel",
"upload_finishing": "finishing...", "upload_finishing": "finishing...",
"no_contacts": "You have no contacts :-(", "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_group_members": "Group Members",
"title_all_contacts": "All Contacts", "title_all_contacts": "All Contacts",
"button_ok": "OK", "button_ok": "OK",
+1 -1
View File
@@ -109,7 +109,7 @@
"action_cancel": "отменить", "action_cancel": "отменить",
"upload_finishing": "завершение...", "upload_finishing": "завершение...",
"no_contacts": "Ничего нет :-(", "no_contacts": "Ничего нет :-(",
"contacts_not_found_short": "Нет контактов для запроса '{query}'", "contacts_not_found_short": "Нет контактов для запроса ''{query}''",
"title_all_contacts": "Все контакты", "title_all_contacts": "Все контакты",
"error_invalid_id": "Неверный ID", "error_invalid_id": "Неверный ID",
"group_user_id_prompt": "ID чата или пользователя", "group_user_id_prompt": "ID чата или пользователя",
+2 -2
View File
@@ -93,8 +93,8 @@
"menu_item_archive_topic": "归档", "menu_item_archive_topic": "归档",
"action_cancel": "取消", "action_cancel": "取消",
"upload_finishing": "正在结束...", "upload_finishing": "正在结束...",
"no_contacts": "你尚无联系人 :-(", "no_contacts": "你尚无联系人 (-.-)",
"contacts_not_found_short": "无联系人匹配 '{query}'", "contacts_not_found_short": "无联系人匹配「{query}」",
"title_group_members": "群组成员", "title_group_members": "群组成员",
"title_all_contacts": "全部联系人", "title_all_contacts": "全部联系人",
"button_ok": "好", "button_ok": "好",
+4 -4
View File
@@ -132,7 +132,7 @@
"action_cancel": "cancel", "action_cancel": "cancel",
"upload_finishing": "finishing...", "upload_finishing": "finishing...",
"no_contacts": "You have no contacts :-(", "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_group_members": "Group Members",
"title_all_contacts": "All Contacts", "title_all_contacts": "All Contacts",
"button_ok": "OK", "button_ok": "OK",
@@ -283,7 +283,7 @@
"action_cancel": "отменить", "action_cancel": "отменить",
"upload_finishing": "завершение...", "upload_finishing": "завершение...",
"no_contacts": "Ничего нет :-(", "no_contacts": "Ничего нет :-(",
"contacts_not_found_short": "Нет контактов для запроса '{query}'", "contacts_not_found_short": "Нет контактов для запроса ''{query}''",
"title_all_contacts": "Все контакты", "title_all_contacts": "Все контакты",
"error_invalid_id": "Неверный ID", "error_invalid_id": "Неверный ID",
"group_user_id_prompt": "ID чата или пользователя", "group_user_id_prompt": "ID чата или пользователя",
@@ -440,8 +440,8 @@
"menu_item_archive_topic": "归档", "menu_item_archive_topic": "归档",
"action_cancel": "取消", "action_cancel": "取消",
"upload_finishing": "正在结束...", "upload_finishing": "正在结束...",
"no_contacts": "你尚无联系人 :-(", "no_contacts": "你尚无联系人 (-.-)",
"contacts_not_found_short": "无联系人匹配 '{query}'", "contacts_not_found_short": "无联系人匹配「{query}」",
"title_group_members": "群组成员", "title_group_members": "群组成员",
"title_all_contacts": "全部联系人", "title_all_contacts": "全部联系人",
"button_ok": "好", "button_ok": "好",
+3 -3
View File
@@ -11,9 +11,9 @@ const messages = defineMessages({
defaultMessage: 'You have no contacts :-(', defaultMessage: 'You have no contacts :-(',
description: 'Shown in ContactsView when the user has no contacts' description: 'Shown in ContactsView when the user has no contacts'
}, },
contacts_not_found: { contacts_not_found_short: {
id: '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' description: 'Shown in ContactsView when search returned no results'
} }
}); });
@@ -112,7 +112,7 @@ class GroupManager extends React.Component {
const {formatMessage} = this.props.intl; const {formatMessage} = this.props.intl;
const msg = !val ? const msg = !val ?
formatMessage(messages.no_contacts) : 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}); this.setState({contactFilter: val, noContactsMessage: msg});
} }
+4 -4
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long