cozy-ui 130.2.0 → 130.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cozy-ui.min.css +1 -1
- package/package.json +1 -1
- package/react/ActionsBar/locales/ru.json +4 -0
- package/react/ActionsBar/locales/vi.json +4 -0
- package/react/ActionsBar/locales/withActionsLocales.jsx +5 -1
- package/react/ActionsMenu/Actions/locales/ru.json +29 -0
- package/react/ActionsMenu/Actions/locales/vi.json +29 -0
- package/react/ActionsMenu/Actions/locales/withActionsLocales.jsx +5 -1
- package/react/AppSections/Sections.jsx +5 -1
- package/react/AppSections/locales/ru.json +37 -0
- package/react/AppSections/locales/vi.json +37 -0
- package/react/AppTile/index.jsx +3 -1
- package/react/AppTile/locales/ru.json +9 -0
- package/react/AppTile/locales/vi.json +9 -0
- package/react/Contacts/AddModal/ContactAddressDialog/locales/index.jsx +5 -1
- package/react/Contacts/AddModal/ContactAddressDialog/locales/ru.json +25 -0
- package/react/Contacts/AddModal/ContactAddressDialog/locales/vi.json +25 -0
- package/react/Contacts/AddModal/ContactForm/locales/index.jsx +5 -1
- package/react/Contacts/AddModal/ContactForm/locales/ru.json +75 -0
- package/react/Contacts/AddModal/ContactForm/locales/vi.json +75 -0
- package/react/Contacts/AddModal/CustomLabelDialog/locales/index.jsx +5 -1
- package/react/Contacts/AddModal/CustomLabelDialog/locales/ru.json +15 -0
- package/react/Contacts/AddModal/CustomLabelDialog/locales/vi.json +15 -0
- package/react/Contacts/AddModal/locales/index.jsx +5 -1
- package/react/Contacts/AddModal/locales/ru.json +13 -0
- package/react/Contacts/AddModal/locales/vi.json +13 -0
- package/react/Contacts/GroupsSelect/locales/index.jsx +5 -1
- package/react/Contacts/GroupsSelect/locales/ru.json +21 -0
- package/react/Contacts/GroupsSelect/locales/vi.json +21 -0
- package/react/Contacts/Header/locales/index.jsx +5 -1
- package/react/Contacts/Header/locales/ru.json +15 -0
- package/react/Contacts/Header/locales/vi.json +15 -0
- package/react/ContactsList/locales/ru.json +5 -0
- package/react/ContactsList/locales/vi.json +5 -0
- package/react/ContactsList/locales/withContactsListLocales.jsx +5 -1
- package/react/ContactsListModal/locales/ru.json +11 -0
- package/react/ContactsListModal/locales/vi.json +11 -0
- package/react/CozyDialogs/SpecificDialogs/locales/ru.json +27 -0
- package/react/CozyDialogs/SpecificDialogs/locales/vi.json +27 -0
- package/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.jsx +5 -1
- package/react/CozyDialogs/locales.js +8 -0
- package/react/DatePicker/locales/ru.json +8 -0
- package/react/DatePicker/locales/vi.json +8 -0
- package/react/DatePicker/locales/withOwnLocales.jsx +5 -1
- package/react/FilePicker/FilePickerFooter.jsx +3 -1
- package/react/FilePicker/locales/ru.json +8 -0
- package/react/FilePicker/locales/vi.json +8 -0
- package/react/ListItem/hoc/withListItemLocales.jsx +5 -1
- package/react/ListItem/locales/ru.json +75 -0
- package/react/ListItem/locales/vi.json +75 -0
- package/react/Nav/locales/ru.json +6 -0
- package/react/Nav/locales/vi.json +6 -0
- package/react/Nav/locales/withNavLocales.jsx +5 -1
- package/react/PasswordField/index.jsx +5 -1
- package/react/PasswordField/locales/ru.json +6 -0
- package/react/PasswordField/locales/vi.json +6 -0
- package/react/Paywall/locales/ru.json +95 -0
- package/react/Paywall/locales/vi.json +95 -0
- package/react/Paywall/locales/withPaywallLocales.jsx +5 -1
- package/react/QualificationGrid/locales/ru.json +15 -0
- package/react/QualificationGrid/locales/vi.json +15 -0
- package/react/QualificationGrid/locales/withLocales.jsx +5 -1
- package/react/QualificationModal/locales/index.jsx +5 -1
- package/react/QualificationModal/locales/ru.json +6 -0
- package/react/QualificationModal/locales/vi.json +6 -0
- package/react/SearchBar/locales/ru.json +5 -0
- package/react/SearchBar/locales/vi.json +5 -0
- package/react/SearchBar/locales/withOnlyLocales.jsx +5 -1
- package/react/Storage/locales/index.jsx +5 -1
- package/react/Storage/locales/ru.json +7 -0
- package/react/Storage/locales/vi.json +7 -0
- package/react/UploadQueue/index.jsx +5 -1
- package/react/UploadQueue/locales/ru.json +10 -0
- package/react/UploadQueue/locales/vi.json +10 -0
- package/react/deprecated/ActionMenu/Actions/locales/ru.json +8 -0
- package/react/deprecated/ActionMenu/Actions/locales/vi.json +8 -0
- package/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.jsx +5 -1
- package/react/hooks/useConfirmExit/index.jsx +3 -1
- package/react/hooks/useConfirmExit/locales/ru.json +8 -0
- package/react/hooks/useConfirmExit/locales/vi.json +8 -0
- package/stylus/objects/sidebar.styl +1 -4
- package/transpiled/react/ActionsBar/locales/withActionsLocales.d.ts +4 -0
- package/transpiled/react/ActionsBar/locales/withActionsLocales.js +11 -1
- package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.d.ts +4 -0
- package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.js +61 -1
- package/transpiled/react/AppSections/Sections.js +77 -1
- package/transpiled/react/AppTile/index.js +21 -1
- package/transpiled/react/Contacts/AddModal/ContactAddressDialog/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/AddModal/ContactAddressDialog/locales/index.js +53 -1
- package/transpiled/react/Contacts/AddModal/ContactForm/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/AddModal/ContactForm/locales/index.js +153 -1
- package/transpiled/react/Contacts/AddModal/CustomLabelDialog/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/AddModal/CustomLabelDialog/locales/index.js +33 -1
- package/transpiled/react/Contacts/AddModal/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/AddModal/locales/index.js +29 -1
- package/transpiled/react/Contacts/GroupsSelect/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/GroupsSelect/locales/index.js +45 -1
- package/transpiled/react/Contacts/Header/locales/index.d.ts +4 -0
- package/transpiled/react/Contacts/Header/locales/index.js +33 -1
- package/transpiled/react/ContactsList/locales/withContactsListLocales.d.ts +4 -0
- package/transpiled/react/ContactsList/locales/withContactsListLocales.js +13 -1
- package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.d.ts +4 -0
- package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.js +57 -1
- package/transpiled/react/CozyDialogs/locales.d.ts +12 -0
- package/transpiled/react/CozyDialogs/locales.js +8 -0
- package/transpiled/react/DatePicker/locales/withOwnLocales.d.ts +4 -0
- package/transpiled/react/DatePicker/locales/withOwnLocales.js +19 -1
- package/transpiled/react/FilePicker/FilePickerFooter.js +19 -1
- package/transpiled/react/ListItem/hoc/withListItemLocales.d.ts +4 -0
- package/transpiled/react/ListItem/hoc/withListItemLocales.js +153 -1
- package/transpiled/react/Nav/locales/withNavLocales.d.ts +4 -0
- package/transpiled/react/Nav/locales/withNavLocales.js +15 -1
- package/transpiled/react/PasswordField/index.d.ts +4 -0
- package/transpiled/react/PasswordField/index.js +15 -1
- package/transpiled/react/Paywall/locales/withPaywallLocales.js +193 -1
- package/transpiled/react/QualificationGrid/locales/withLocales.d.ts +4 -0
- package/transpiled/react/QualificationGrid/locales/withLocales.js +33 -1
- package/transpiled/react/QualificationModal/locales/index.d.ts +4 -0
- package/transpiled/react/QualificationModal/locales/index.js +15 -1
- package/transpiled/react/SearchBar/locales/withOnlyLocales.d.ts +4 -0
- package/transpiled/react/SearchBar/locales/withOnlyLocales.js +13 -1
- package/transpiled/react/Storage/locales/index.d.ts +4 -0
- package/transpiled/react/Storage/locales/index.js +17 -1
- package/transpiled/react/UploadQueue/index.js +23 -1
- package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.d.ts +4 -0
- package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.js +19 -1
- package/transpiled/react/hooks/useConfirmExit/index.js +19 -1
- package/transpiled/react/stylesheet.css +1 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"action": {
|
|
3
|
+
"loading": "Đang tải...",
|
|
4
|
+
"withoutIAP": "Tôi hiểu"
|
|
5
|
+
},
|
|
6
|
+
"onlyOfficePaywall": {
|
|
7
|
+
"premium": {
|
|
8
|
+
"title": "Nâng cấp gói của bạn",
|
|
9
|
+
"content": "Gói của bạn không cho phép **chỉnh sửa tài liệu trực tuyến**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình.",
|
|
10
|
+
"action": "Xem các gói của chúng tôi"
|
|
11
|
+
},
|
|
12
|
+
"public": {
|
|
13
|
+
"title": "Thông tin",
|
|
14
|
+
"content": "Bạn không thể chỉnh sửa tập tin này trực tuyến. Vui lòng yêu cầu chủ sở hữu tài liệu cập nhật đăng ký Cozy của họ.",
|
|
15
|
+
"action": "Tôi hiểu"
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"title": "Thông tin",
|
|
19
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
20
|
+
"action": "Tôi hiểu"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"passwordSharingPaywall": {
|
|
24
|
+
"premium": {
|
|
25
|
+
"title": "Nâng cấp gói của bạn",
|
|
26
|
+
"content": "Gói của bạn không cho phép **chia sẻ mật khẩu**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình.",
|
|
27
|
+
"action": "Xem các gói của chúng tôi"
|
|
28
|
+
},
|
|
29
|
+
"default": {
|
|
30
|
+
"title": "Thông tin",
|
|
31
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
32
|
+
"action": "Tôi hiểu"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"maxAccountsByKonnectorPaywall": {
|
|
36
|
+
"premium": {
|
|
37
|
+
"title": "Nâng cấp gói của bạn",
|
|
38
|
+
"content": "Gói của bạn cho phép bạn kết nối tối đa **%{smart_count} tài khoản %{konnectorName}** trong Cozy của bạn.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình. |||| Gói của bạn cho phép bạn kết nối tối đa **%{smart_count} tài khoản %{konnectorName}** trong Cozy của bạn.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình.",
|
|
39
|
+
"action": "Xem các gói của chúng tôi"
|
|
40
|
+
},
|
|
41
|
+
"default": {
|
|
42
|
+
"title": "Thông tin",
|
|
43
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
44
|
+
"action": "Tôi hiểu"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"maxAccountsPaywall": {
|
|
48
|
+
"premium": {
|
|
49
|
+
"title": "Nâng cấp gói của bạn",
|
|
50
|
+
"content": "Gói của bạn cho phép bạn kết nối tối đa **%{smart_count} tài khoản** trong Cozy của bạn.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình. |||| Gói của bạn cho phép bạn kết nối tối đa **%{smart_count} tài khoản** trong Cozy của bạn.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình.",
|
|
51
|
+
"action": "Xem các gói của chúng tôi"
|
|
52
|
+
},
|
|
53
|
+
"default": {
|
|
54
|
+
"title": "Thông tin",
|
|
55
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
56
|
+
"action": "Tôi hiểu"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"maxPapersPaywall": {
|
|
60
|
+
"premium": {
|
|
61
|
+
"title": "Nâng cấp gói của bạn",
|
|
62
|
+
"content": "Gói của bạn cho phép bạn thêm thủ công tối đa **%{smart_count} giấy tờ**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể sửa đổi gói Cozy của mình. |||| Gói của bạn cho phép bạn thêm thủ công tối đa **%{smart_count} giấy tờ**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể sửa đổi gói Cozy của mình.",
|
|
63
|
+
"action": "Xem các gói của chúng tôi"
|
|
64
|
+
},
|
|
65
|
+
"default": {
|
|
66
|
+
"title": "Thông tin",
|
|
67
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
68
|
+
"action": "Tôi hiểu"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"quotaPaywall": {
|
|
72
|
+
"premium": {
|
|
73
|
+
"title": "Nâng cấp gói của bạn",
|
|
74
|
+
"content": "Dung lượng đĩa của bạn đã đầy.\n\nVui lòng xóa các tập tin, làm trống thùng rác hoặc nâng cấp gói trước khi tải lên tập tin.",
|
|
75
|
+
"action": "Xem các gói của chúng tôi"
|
|
76
|
+
},
|
|
77
|
+
"default": {
|
|
78
|
+
"title": "Thông tin",
|
|
79
|
+
"content": "Dung lượng đĩa của bạn đã đầy.\n\nVui lòng xóa các tập tin, làm trống thùng rác trước khi tải lên tập tin.",
|
|
80
|
+
"action": "Tôi hiểu"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"maxDaysToCapturePaywall": {
|
|
84
|
+
"premium": {
|
|
85
|
+
"title": "Nâng cấp gói của bạn",
|
|
86
|
+
"content": "Gói của bạn cho phép bạn chỉ ghi lại **%{smart_count} ngày chuyến đi**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình. |||| Gói của bạn cho phép bạn chỉ ghi lại **%{smart_count} ngày chuyến đi**.\n\nĐể mở khóa tính năng này, hoặc đơn giản là hỗ trợ chúng tôi, bạn có thể thay đổi gói Cozy của mình.",
|
|
87
|
+
"action": "Xem các gói của chúng tôi"
|
|
88
|
+
},
|
|
89
|
+
"default": {
|
|
90
|
+
"title": "Thông tin",
|
|
91
|
+
"content": "Gói hiện tại của bạn không cho phép bạn tận dụng tính năng này.",
|
|
92
|
+
"action": "Tôi hiểu"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import en from './en.json'
|
|
2
2
|
import fr from './fr.json'
|
|
3
|
+
import ru from './ru.json'
|
|
4
|
+
import vi from './vi.json'
|
|
3
5
|
import withOnlyLocales from '../../providers/I18n/withOnlyLocales'
|
|
4
6
|
|
|
5
7
|
const locales = {
|
|
6
8
|
en,
|
|
7
|
-
fr
|
|
9
|
+
fr,
|
|
10
|
+
ru,
|
|
11
|
+
vi
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
export default withOnlyLocales(locales)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"themes": {
|
|
3
|
+
"activity": "Деятельность",
|
|
4
|
+
"family": "Семья",
|
|
5
|
+
"finance": "Финансы",
|
|
6
|
+
"health": "Здоровье",
|
|
7
|
+
"home": "Дом",
|
|
8
|
+
"identity": "Личность",
|
|
9
|
+
"invoice": "Счет",
|
|
10
|
+
"others": "Прочее",
|
|
11
|
+
"transport": "Транспорт",
|
|
12
|
+
"undefined": "Не определено",
|
|
13
|
+
"work_study": "Работа"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"themes": {
|
|
3
|
+
"activity": "Hoạt động",
|
|
4
|
+
"family": "Gia đình",
|
|
5
|
+
"finance": "Tài chính",
|
|
6
|
+
"health": "Sức khỏe",
|
|
7
|
+
"home": "Nhà",
|
|
8
|
+
"identity": "Danh tính",
|
|
9
|
+
"invoice": "Hóa đơn",
|
|
10
|
+
"others": "Khác",
|
|
11
|
+
"transport": "Giao thông",
|
|
12
|
+
"undefined": "Chưa xác định",
|
|
13
|
+
"work_study": "Công việc"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import en from './en.json'
|
|
2
2
|
import fr from './fr.json'
|
|
3
|
+
import ru from './ru.json'
|
|
4
|
+
import vi from './vi.json'
|
|
3
5
|
import withOnlyLocales from '../../providers/I18n/withOnlyLocales'
|
|
4
6
|
|
|
5
7
|
export const locales = {
|
|
6
8
|
en,
|
|
7
|
-
fr
|
|
9
|
+
fr,
|
|
10
|
+
ru,
|
|
11
|
+
vi
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
export default withOnlyLocales(locales)
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import en from './en.json'
|
|
2
2
|
import fr from './fr.json'
|
|
3
|
+
import ru from './ru.json'
|
|
4
|
+
import vi from './vi.json'
|
|
3
5
|
import withOnlyLocales from '../../providers/I18n/withOnlyLocales'
|
|
4
6
|
|
|
5
7
|
export const locales = {
|
|
6
8
|
en,
|
|
7
|
-
fr
|
|
9
|
+
fr,
|
|
10
|
+
ru,
|
|
11
|
+
vi
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
export default withOnlyLocales(locales)
|
|
@@ -6,6 +6,8 @@ import Item from './Item'
|
|
|
6
6
|
import localeEn from './locales/en.json'
|
|
7
7
|
import localeEs from './locales/es.json'
|
|
8
8
|
import localeFr from './locales/fr.json'
|
|
9
|
+
import localeRu from './locales/ru.json'
|
|
10
|
+
import localeVi from './locales/vi.json'
|
|
9
11
|
import styles from './styles.styl'
|
|
10
12
|
import List from '../List'
|
|
11
13
|
import Typography from '../Typography'
|
|
@@ -17,7 +19,9 @@ import { withStyles } from '../styles'
|
|
|
17
19
|
const locales = {
|
|
18
20
|
en: localeEn,
|
|
19
21
|
es: localeEs,
|
|
20
|
-
fr: localeFr
|
|
22
|
+
fr: localeFr,
|
|
23
|
+
ru: localeRu,
|
|
24
|
+
vi: localeVi
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
const CANCEL = 'cancel'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"header": "Загрузка %{smart_count} фото в %{app} |||| Загрузка %{smart_count} фото в %{app}",
|
|
3
|
+
"header_mobile": "Загружено %{done} из %{smart_count}",
|
|
4
|
+
"header_done": "Успешно загружено %{done} из %{smart_count}",
|
|
5
|
+
"close": "закрыть",
|
|
6
|
+
"item": {
|
|
7
|
+
"pending": "В ожидании",
|
|
8
|
+
"remainingTime": "Осталось %{time}"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"header": "Đang tải lên %{smart_count} ảnh vào %{app} |||| Đang tải lên %{smart_count} ảnh vào %{app}",
|
|
3
|
+
"header_mobile": "Đã tải lên %{done} trong số %{smart_count}",
|
|
4
|
+
"header_done": "Đã tải lên thành công %{done} trong số %{smart_count}",
|
|
5
|
+
"close": "đóng",
|
|
6
|
+
"item": {
|
|
7
|
+
"pending": "Đang chờ",
|
|
8
|
+
"remainingTime": "Còn lại %{time}"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import en from './en.json'
|
|
2
2
|
import fr from './fr.json'
|
|
3
|
+
import ru from './ru.json'
|
|
4
|
+
import vi from './vi.json'
|
|
3
5
|
import withLocales from '../../../../providers/I18n/withLocales'
|
|
4
6
|
|
|
5
7
|
export const locales = {
|
|
6
8
|
en,
|
|
7
|
-
fr
|
|
9
|
+
fr,
|
|
10
|
+
ru,
|
|
11
|
+
vi
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
export default withLocales(locales)
|
|
@@ -3,6 +3,8 @@ import React, { useCallback, useRef, useState } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import en from './locales/en.json'
|
|
5
5
|
import fr from './locales/fr.json'
|
|
6
|
+
import ru from './locales/ru.json'
|
|
7
|
+
import vi from './locales/vi.json'
|
|
6
8
|
import { ConfirmDialog } from '../../CozyDialogs'
|
|
7
9
|
import Button from '../../deprecated/Button'
|
|
8
10
|
import withLocales from '../../providers/I18n/withLocales'
|
|
@@ -57,7 +59,7 @@ ConfirmModal.propTypes = {
|
|
|
57
59
|
confirmLabel: PropTypes.string
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
const dictRequire = { en, fr }
|
|
62
|
+
const dictRequire = { en, fr, ru, vi }
|
|
61
63
|
const LocalizedConfirmModal = withLocales(dictRequire)(ConfirmModal)
|
|
62
64
|
|
|
63
65
|
/**
|
|
@@ -11,15 +11,12 @@
|
|
|
11
11
|
$sidebar
|
|
12
12
|
width rem(236)
|
|
13
13
|
background-color var(--defaultBackgroundColor)
|
|
14
|
-
overflow-y
|
|
14
|
+
overflow-y auto
|
|
15
15
|
overflow-x hidden
|
|
16
16
|
display flex
|
|
17
17
|
flex-direction column
|
|
18
18
|
flex 0 0 auto
|
|
19
19
|
|
|
20
|
-
&:hover
|
|
21
|
-
overflow-y auto
|
|
22
|
-
|
|
23
20
|
&--border
|
|
24
21
|
border-right rem(1) solid var(--dividerColor)
|
|
25
22
|
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export namespace locales {
|
|
2
2
|
export { en };
|
|
3
3
|
export { fr };
|
|
4
|
+
export { ru };
|
|
5
|
+
export { vi };
|
|
4
6
|
}
|
|
5
7
|
declare var _default: Component;
|
|
6
8
|
export default _default;
|
|
7
9
|
import en from "./en.json";
|
|
8
10
|
import fr from "./fr.json";
|
|
11
|
+
import ru from "./ru.json";
|
|
12
|
+
import vi from "./vi.json";
|
|
@@ -6,9 +6,19 @@ var fr = {
|
|
|
6
6
|
selected: "%{smart_count} \xE9l\xE9ment s\xE9lectionn\xE9 |||| %{smart_count} \xE9l\xE9ments s\xE9lectionn\xE9s",
|
|
7
7
|
selected_light: "%{smart_count} \xE9l\xE9ment |||| %{smart_count} \xE9l\xE9ments"
|
|
8
8
|
};
|
|
9
|
+
var ru = {
|
|
10
|
+
selected: "%{smart_count} \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u044B\u0431\u0440\u0430\u043D |||| %{smart_count} \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043E",
|
|
11
|
+
selected_light: "%{smart_count} \u044D\u043B\u0435\u043C\u0435\u043D\u0442 |||| %{smart_count} \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"
|
|
12
|
+
};
|
|
13
|
+
var vi = {
|
|
14
|
+
selected: "%{smart_count} m\u1EE5c \u0111\u01B0\u1EE3c ch\u1ECDn |||| %{smart_count} m\u1EE5c \u0111\u01B0\u1EE3c ch\u1ECDn",
|
|
15
|
+
selected_light: "%{smart_count} m\u1EE5c |||| %{smart_count} m\u1EE5c"
|
|
16
|
+
};
|
|
9
17
|
import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
|
|
10
18
|
export var locales = {
|
|
11
19
|
en: en,
|
|
12
|
-
fr: fr
|
|
20
|
+
fr: fr,
|
|
21
|
+
ru: ru,
|
|
22
|
+
vi: vi
|
|
13
23
|
};
|
|
14
24
|
export default withOnlyLocales(locales);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export namespace locales {
|
|
2
2
|
export { en };
|
|
3
3
|
export { fr };
|
|
4
|
+
export { ru };
|
|
5
|
+
export { vi };
|
|
4
6
|
}
|
|
5
7
|
export function getActionsI18n(): {
|
|
6
8
|
t: any;
|
|
@@ -11,3 +13,5 @@ declare var _default: Component;
|
|
|
11
13
|
export default _default;
|
|
12
14
|
import en from "./en.json";
|
|
13
15
|
import fr from "./fr.json";
|
|
16
|
+
import ru from "./ru.json";
|
|
17
|
+
import vi from "./vi.json";
|
|
@@ -56,11 +56,71 @@ var fr = {
|
|
|
56
56
|
},
|
|
57
57
|
call: "Appeler"
|
|
58
58
|
};
|
|
59
|
+
var ru = {
|
|
60
|
+
menu: "\u041C\u0435\u043D\u044E",
|
|
61
|
+
viewInContacts: "\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432 Cozy \u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B",
|
|
62
|
+
viewInDrive: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C",
|
|
63
|
+
modify: "\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
64
|
+
emailTo: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C email",
|
|
65
|
+
smsTo: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435",
|
|
66
|
+
print: "\u041F\u0435\u0447\u0430\u0442\u044C",
|
|
67
|
+
download: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C",
|
|
68
|
+
favorites: {
|
|
69
|
+
add: {
|
|
70
|
+
label: "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0435",
|
|
71
|
+
success: "%{filename} \u0431\u044B\u043B \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u0432 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0435 |||| \u042D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0431\u044B\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0435"
|
|
72
|
+
},
|
|
73
|
+
remove: {
|
|
74
|
+
label: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E",
|
|
75
|
+
success: "%{filename} \u0431\u044B\u043B \u0443\u0434\u0430\u043B\u0435\u043D \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E |||| \u042D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0431\u044B\u043B\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u044B \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u043E\u0433\u043E"
|
|
76
|
+
},
|
|
77
|
+
error: "\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437."
|
|
78
|
+
},
|
|
79
|
+
others: "\u041F\u0440\u043E\u0447\u0435\u0435",
|
|
80
|
+
editAttribute: "\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0430\u0442\u0440\u0438\u0431\u0443\u0442",
|
|
81
|
+
copyToClipboard: {
|
|
82
|
+
copy: "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
83
|
+
success: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
84
|
+
error: "\u041D\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044F \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430"
|
|
85
|
+
},
|
|
86
|
+
call: "\u0417\u0432\u043E\u043D\u0438\u0442\u044C"
|
|
87
|
+
};
|
|
88
|
+
var vi = {
|
|
89
|
+
menu: "Menu",
|
|
90
|
+
viewInContacts: "Xem trong Cozy Contacts",
|
|
91
|
+
viewInDrive: "M\u1EDF",
|
|
92
|
+
modify: "Ch\u1EC9nh s\u1EEDa",
|
|
93
|
+
emailTo: "G\u1EEDi email",
|
|
94
|
+
smsTo: "G\u1EEDi tin nh\u1EAFn",
|
|
95
|
+
print: "In",
|
|
96
|
+
download: "T\u1EA3i xu\u1ED1ng",
|
|
97
|
+
favorites: {
|
|
98
|
+
add: {
|
|
99
|
+
label: "Th\xEAm v\xE0o y\xEAu th\xEDch",
|
|
100
|
+
success: "%{filename} \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm v\xE0o y\xEAu th\xEDch |||| C\xE1c m\u1EE5c n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm v\xE0o y\xEAu th\xEDch"
|
|
101
|
+
},
|
|
102
|
+
remove: {
|
|
103
|
+
label: "X\xF3a kh\u1ECFi y\xEAu th\xEDch",
|
|
104
|
+
success: "%{filename} \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a kh\u1ECFi y\xEAu th\xEDch |||| C\xE1c m\u1EE5c n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a kh\u1ECFi y\xEAu th\xEDch"
|
|
105
|
+
},
|
|
106
|
+
error: "C\xF3 l\u1ED7i x\u1EA3y ra, vui l\xF2ng th\u1EED l\u1EA1i."
|
|
107
|
+
},
|
|
108
|
+
others: "Kh\xE1c",
|
|
109
|
+
editAttribute: "Ch\u1EC9nh s\u1EEDa thu\u1ED9c t\xEDnh",
|
|
110
|
+
copyToClipboard: {
|
|
111
|
+
copy: "Sao ch\xE9p",
|
|
112
|
+
success: "\u0110\xE3 sao ch\xE9p v\xE0o clipboard",
|
|
113
|
+
error: "Kh\xF4ng th\u1EC3 sao ch\xE9p v\xE0o clipboard"
|
|
114
|
+
},
|
|
115
|
+
call: "G\u1ECDi"
|
|
116
|
+
};
|
|
59
117
|
import { getI18n } from "cozy-ui/transpiled/react/providers/I18n/helpers";
|
|
60
118
|
import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
|
|
61
119
|
export var locales = {
|
|
62
120
|
en: en,
|
|
63
|
-
fr: fr
|
|
121
|
+
fr: fr,
|
|
122
|
+
ru: ru,
|
|
123
|
+
vi: vi
|
|
64
124
|
};
|
|
65
125
|
export var getActionsI18n = function getActionsI18n() {
|
|
66
126
|
return getI18n(undefined, function (lang) {
|
|
@@ -97,6 +97,80 @@ var fr = {
|
|
|
97
97
|
shortcuts: "App suppl\xE9mentaires"
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
+
var ru = {
|
|
101
|
+
app_categories: {
|
|
102
|
+
all: "\u0412\u0441\u0435 \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",
|
|
103
|
+
banking: "\u0411\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u043E\u0435 \u0434\u0435\u043B\u043E",
|
|
104
|
+
clouds: "\u041E\u0431\u043B\u0430\u043A\u0430 \u0438 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430",
|
|
105
|
+
cozy: "\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435",
|
|
106
|
+
education: "\u041E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435",
|
|
107
|
+
energy: "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u043A\u0430",
|
|
108
|
+
finance: "\u0417\u0430\u043D\u044F\u0442\u043E\u0441\u0442\u044C \u0438 \u0444\u0438\u043D\u0430\u043D\u0441\u044B",
|
|
109
|
+
health: "\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",
|
|
110
|
+
host_provider: "\u0425\u043E\u0441\u0442\u0438\u043D\u0433",
|
|
111
|
+
insurance: "\u0421\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435",
|
|
112
|
+
isp: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C \u0438 \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442",
|
|
113
|
+
konnectors: "\u0421\u0435\u0440\u0432\u0438\u0441\u044B",
|
|
114
|
+
list_separator: ", ",
|
|
115
|
+
mes_infos: "\u042D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442 MesInfos",
|
|
116
|
+
online_services: "\u041E\u043D\u043B\u0430\u0439\u043D-\u0441\u0435\u0440\u0432\u0438\u0441\u044B",
|
|
117
|
+
others: "\u041F\u0440\u043E\u0447\u0435\u0435",
|
|
118
|
+
partners: "\u041F\u0430\u0440\u0442\u043D\u0435\u0440\u044B",
|
|
119
|
+
press: "\u041F\u0440\u0435\u0441\u0441\u0430",
|
|
120
|
+
productivity: "\u041F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C",
|
|
121
|
+
ptnb: "\u042D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442 PTNB",
|
|
122
|
+
public_service: "\u0413\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u0443\u0441\u043B\u0443\u0433\u0438",
|
|
123
|
+
shopping: "\u041F\u043E\u043A\u0443\u043F\u043A\u0438",
|
|
124
|
+
social: "\u0421\u043E\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0441\u0435\u0442\u0438",
|
|
125
|
+
tech: "\u0422\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438",
|
|
126
|
+
telecom: "\u0422\u0435\u043B\u0435\u043A\u043E\u043C\u043C\u0443\u043D\u0438\u043A\u0430\u0446\u0438\u0438",
|
|
127
|
+
transport: "\u0422\u0440\u0430\u043D\u0441\u043F\u043E\u0440\u0442",
|
|
128
|
+
pro: "\u0420\u0430\u0431\u043E\u0442\u0430",
|
|
129
|
+
shortcuts: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"
|
|
130
|
+
},
|
|
131
|
+
sections: {
|
|
132
|
+
applications: "\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F",
|
|
133
|
+
konnectors: "\u0421\u0435\u0440\u0432\u0438\u0441\u044B",
|
|
134
|
+
shortcuts: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
var vi = {
|
|
138
|
+
app_categories: {
|
|
139
|
+
all: "T\u1EA5t c\u1EA3 danh m\u1EE5c",
|
|
140
|
+
banking: "Ng\xE2n h\xE0ng",
|
|
141
|
+
clouds: "\u0110\xE1m m\xE2y v\xE0 kho l\u01B0u tr\u1EEF",
|
|
142
|
+
cozy: "Thi\u1EBFt y\u1EBFu",
|
|
143
|
+
education: "Gi\xE1o d\u1EE5c",
|
|
144
|
+
energy: "N\u0103ng l\u01B0\u1EE3ng",
|
|
145
|
+
finance: "Vi\u1EC7c l\xE0m v\xE0 t\xE0i ch\xEDnh",
|
|
146
|
+
health: "S\u1EE9c kh\u1ECFe",
|
|
147
|
+
host_provider: "M\xE1y ch\u1EE7",
|
|
148
|
+
insurance: "B\u1EA3o hi\u1EC3m",
|
|
149
|
+
isp: "Di \u0111\u1ED9ng v\xE0 Internet",
|
|
150
|
+
konnectors: "D\u1ECBch v\u1EE5",
|
|
151
|
+
list_separator: ", ",
|
|
152
|
+
mes_infos: "Th\xED nghi\u1EC7m MesInfos",
|
|
153
|
+
online_services: "D\u1ECBch v\u1EE5 tr\u1EF1c tuy\u1EBFn",
|
|
154
|
+
others: "Kh\xE1c",
|
|
155
|
+
partners: "\u0110\u1ED1i t\xE1c",
|
|
156
|
+
press: "B\xE1o ch\xED",
|
|
157
|
+
productivity: "N\u0103ng su\u1EA5t",
|
|
158
|
+
ptnb: "Th\xED nghi\u1EC7m PTNB",
|
|
159
|
+
public_service: "D\u1ECBch v\u1EE5 c\xF4ng",
|
|
160
|
+
shopping: "Mua s\u1EAFm",
|
|
161
|
+
social: "M\u1EA1ng x\xE3 h\u1ED9i",
|
|
162
|
+
tech: "C\xF4ng ngh\u1EC7",
|
|
163
|
+
telecom: "Vi\u1EC5n th\xF4ng",
|
|
164
|
+
transport: "Giao th\xF4ng",
|
|
165
|
+
pro: "C\xF4ng vi\u1EC7c",
|
|
166
|
+
shortcuts: "\u1EE8ng d\u1EE5ng b\u1ED5 sung"
|
|
167
|
+
},
|
|
168
|
+
sections: {
|
|
169
|
+
applications: "\u1EE8ng d\u1EE5ng",
|
|
170
|
+
konnectors: "D\u1ECBch v\u1EE5",
|
|
171
|
+
shortcuts: "\u1EE8ng d\u1EE5ng b\u1ED5 sung"
|
|
172
|
+
}
|
|
173
|
+
};
|
|
100
174
|
import * as searchUtils from "cozy-ui/transpiled/react/AppSections/search";
|
|
101
175
|
import Typography from "cozy-ui/transpiled/react/Typography";
|
|
102
176
|
import { useBreakpoints } from "cozy-ui/transpiled/react/providers/Breakpoints";
|
|
@@ -104,7 +178,9 @@ import { useI18n, useExtendI18n } from "cozy-ui/transpiled/react/providers/I18n"
|
|
|
104
178
|
import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
|
|
105
179
|
var locales = {
|
|
106
180
|
en: en,
|
|
107
|
-
fr: fr
|
|
181
|
+
fr: fr,
|
|
182
|
+
ru: ru,
|
|
183
|
+
vi: vi
|
|
108
184
|
};
|
|
109
185
|
|
|
110
186
|
var SectionTitle = function SectionTitle(_ref) {
|
|
@@ -22,6 +22,24 @@ var fr = {
|
|
|
22
22
|
favorite: "Ajout\xE9 sur l'accueil"
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
+
var ru = {
|
|
26
|
+
app_item: {
|
|
27
|
+
by: "\u041E\u0442",
|
|
28
|
+
installed: "\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E",
|
|
29
|
+
maintenance: "\u041D\u0430 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0438",
|
|
30
|
+
update: "\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E",
|
|
31
|
+
favorite: "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
var vi = {
|
|
35
|
+
app_item: {
|
|
36
|
+
by: "B\u1EDFi",
|
|
37
|
+
installed: "\u0110\xE3 c\xE0i \u0111\u1EB7t",
|
|
38
|
+
maintenance: "\u0110ang b\u1EA3o tr\xEC",
|
|
39
|
+
update: "C\xF3 c\u1EADp nh\u1EADt m\u1EDBi",
|
|
40
|
+
favorite: "\u0110\xE3 th\xEAm v\xE0o trang ch\u1EE7"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
25
43
|
var styles = {
|
|
26
44
|
"AppTile-icon": "styles__AppTile-icon___1f0c0",
|
|
27
45
|
"AppTile-icon--default": "styles__AppTile-icon--default___1tjiF",
|
|
@@ -39,7 +57,9 @@ import { AppDoctype } from "cozy-ui/transpiled/react/proptypes";
|
|
|
39
57
|
import { createUseI18n } from "cozy-ui/transpiled/react/providers/I18n";
|
|
40
58
|
var locales = {
|
|
41
59
|
en: en,
|
|
42
|
-
fr: fr
|
|
60
|
+
fr: fr,
|
|
61
|
+
ru: ru,
|
|
62
|
+
vi: vi
|
|
43
63
|
};
|
|
44
64
|
var dataset;
|
|
45
65
|
|