@djangocfg/ext-payments 1.0.20 → 1.0.22

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/dist/i18n.d.ts ADDED
@@ -0,0 +1,171 @@
1
+ import * as _djangocfg_ext_base_i18n from '@djangocfg/ext-base/i18n';
2
+ import { ExtensionKeys, PathKeys } from '@djangocfg/ext-base/i18n';
3
+
4
+ /**
5
+ * Payments Extension I18n Types
6
+ */
7
+
8
+ /**
9
+ * All valid keys for payments translations (with namespace)
10
+ */
11
+ type PaymentsKeys = ExtensionKeys<'payments', PaymentsTranslations>;
12
+ /**
13
+ * Keys without namespace prefix (for createTypedExtensionT)
14
+ */
15
+ type PaymentsLocalKeys = PathKeys<PaymentsTranslations>;
16
+ interface PaymentsTranslations {
17
+ /** Balance section */
18
+ balance: {
19
+ available: string;
20
+ totalDeposited: string;
21
+ totalWithdrawn: string;
22
+ };
23
+ /** Action buttons */
24
+ actions: {
25
+ addFunds: string;
26
+ withdraw: string;
27
+ continue: string;
28
+ requestWithdrawal: string;
29
+ cancel: string;
30
+ close: string;
31
+ copyAddress: string;
32
+ copied: string;
33
+ viewAll: string;
34
+ tryAgain: string;
35
+ refreshStatus: string;
36
+ createNewPayment: string;
37
+ openInPaymentProvider: string;
38
+ };
39
+ /** Payment status labels */
40
+ paymentStatus: {
41
+ waiting: string;
42
+ confirming: string;
43
+ completed: string;
44
+ failed: string;
45
+ expired: string;
46
+ paymentExpired: string;
47
+ };
48
+ /** Withdrawal status labels */
49
+ withdrawalStatus: {
50
+ pending: string;
51
+ approved: string;
52
+ processing: string;
53
+ completed: string;
54
+ rejected: string;
55
+ cancelled: string;
56
+ };
57
+ /** Payment descriptions */
58
+ paymentDescriptions: {
59
+ sendCrypto: string;
60
+ expired: string;
61
+ completed: string;
62
+ failed: string;
63
+ confirming: string;
64
+ createNew: string;
65
+ };
66
+ /** Withdrawal descriptions */
67
+ withdrawalDescriptions: {
68
+ pendingApproval: string;
69
+ processing: string;
70
+ completed: string;
71
+ rejected: string;
72
+ cancelled: string;
73
+ };
74
+ /** Form labels */
75
+ form: {
76
+ amount: string;
77
+ amountUsd: string;
78
+ currency: string;
79
+ walletAddress: string;
80
+ selectCurrency: string;
81
+ enterWalletAddress: string;
82
+ search: string;
83
+ payWith: string;
84
+ withdrawAs: string;
85
+ amountToSend: string;
86
+ equivalent: string;
87
+ network: string;
88
+ paymentAddress: string;
89
+ transactionHash: string;
90
+ paymentId: string;
91
+ orderId: string;
92
+ created: string;
93
+ };
94
+ /** Validation messages */
95
+ validation: {
96
+ minimumDeposit: string;
97
+ minimumWithdrawal: string;
98
+ selectCurrency: string;
99
+ invalidWalletAddress: string;
100
+ };
101
+ /** Success/Error messages */
102
+ messages: {
103
+ paymentCreated: string;
104
+ paymentFailed: string;
105
+ withdrawalCreated: string;
106
+ withdrawalFailed: string;
107
+ withdrawalCancelled: string;
108
+ addressCopied: string;
109
+ failedToLoadPayment: string;
110
+ failedToCreateWithdrawal: string;
111
+ };
112
+ /** Sheet titles */
113
+ sheets: {
114
+ addFundsTitle: string;
115
+ addFundsDescription: string;
116
+ withdrawTitle: string;
117
+ withdrawDescription: string;
118
+ paymentTitle: string;
119
+ withdrawalTitle: string;
120
+ };
121
+ /** Activity list */
122
+ activity: {
123
+ title: string;
124
+ noActivity: string;
125
+ deposit: string;
126
+ withdrawal: string;
127
+ payment: string;
128
+ transactionsWillAppear: string;
129
+ };
130
+ /** Estimate & fees */
131
+ estimate: {
132
+ gettingRate: string;
133
+ calculating: string;
134
+ enterAmountToSee: string;
135
+ youWillSend: string;
136
+ youWillReceive: string;
137
+ serviceFee: string;
138
+ networkFee: string;
139
+ rate: string;
140
+ minimumAmount: string;
141
+ };
142
+ /** Withdrawal specific */
143
+ withdraw: {
144
+ insufficientBalance: string;
145
+ approvalWarning: string;
146
+ submitting: string;
147
+ creating: string;
148
+ expiresIn: string;
149
+ };
150
+ }
151
+
152
+ declare const en: PaymentsTranslations;
153
+
154
+ declare const ru: PaymentsTranslations;
155
+
156
+ declare const ko: PaymentsTranslations;
157
+
158
+ /** Payments extension namespace */
159
+ declare const PAYMENTS_NAMESPACE: "payments";
160
+ /**
161
+ * Payments extension i18n instance
162
+ */
163
+ declare const paymentsI18n: _djangocfg_ext_base_i18n.ExtensionI18n<PaymentsTranslations>;
164
+ /**
165
+ * All payments translations ready to merge with app translations
166
+ */
167
+ declare const paymentsTranslations: Record<string, {
168
+ [namespace: string]: PaymentsTranslations;
169
+ }>;
170
+
171
+ export { PAYMENTS_NAMESPACE, type PaymentsKeys, type PaymentsLocalKeys, type PaymentsTranslations, en, ko, paymentsI18n, paymentsTranslations, ru };
package/dist/i18n.js ADDED
@@ -0,0 +1,391 @@
1
+ // src/i18n/index.ts
2
+ import { createExtensionI18n } from "@djangocfg/ext-base/i18n";
3
+
4
+ // src/i18n/locales/en.ts
5
+ var en = {
6
+ balance: {
7
+ available: "Available Balance",
8
+ totalDeposited: "Total Deposited",
9
+ totalWithdrawn: "Total Withdrawn"
10
+ },
11
+ actions: {
12
+ addFunds: "Add Funds",
13
+ withdraw: "Withdraw",
14
+ continue: "Continue",
15
+ requestWithdrawal: "Request Withdrawal",
16
+ cancel: "Cancel",
17
+ close: "Close",
18
+ copyAddress: "Copy Address",
19
+ copied: "Copied!",
20
+ viewAll: "View All",
21
+ tryAgain: "Try Again",
22
+ refreshStatus: "Refresh Status",
23
+ createNewPayment: "Create New Payment",
24
+ openInPaymentProvider: "Open in Payment Provider"
25
+ },
26
+ paymentStatus: {
27
+ waiting: "Waiting for payment",
28
+ confirming: "Confirming",
29
+ completed: "Completed",
30
+ failed: "Failed",
31
+ expired: "Expired",
32
+ paymentExpired: "Payment Expired"
33
+ },
34
+ withdrawalStatus: {
35
+ pending: "Pending Approval",
36
+ approved: "Approved",
37
+ processing: "Processing",
38
+ completed: "Completed",
39
+ rejected: "Rejected",
40
+ cancelled: "Cancelled"
41
+ },
42
+ paymentDescriptions: {
43
+ sendCrypto: "Send cryptocurrency to complete payment",
44
+ expired: "This payment has expired",
45
+ completed: "Payment completed successfully",
46
+ failed: "Payment failed",
47
+ confirming: "Confirming your payment",
48
+ createNew: "Please create a new payment to continue"
49
+ },
50
+ withdrawalDescriptions: {
51
+ pendingApproval: "Waiting for admin approval",
52
+ processing: "Your withdrawal is being processed",
53
+ completed: "Withdrawal completed successfully",
54
+ rejected: "Withdrawal was rejected",
55
+ cancelled: "Withdrawal was cancelled"
56
+ },
57
+ form: {
58
+ amount: "Amount",
59
+ amountUsd: "Amount (USD)",
60
+ currency: "Currency",
61
+ walletAddress: "Wallet Address",
62
+ selectCurrency: "Select currency...",
63
+ enterWalletAddress: "Enter your wallet address",
64
+ search: "Search...",
65
+ payWith: "Pay with",
66
+ withdrawAs: "Withdraw as",
67
+ amountToSend: "Amount to send",
68
+ equivalent: "Equivalent",
69
+ network: "Network",
70
+ paymentAddress: "Payment Address",
71
+ transactionHash: "Transaction Hash",
72
+ paymentId: "Payment ID",
73
+ orderId: "Order #",
74
+ created: "Created"
75
+ },
76
+ validation: {
77
+ minimumDeposit: "Minimum $1",
78
+ minimumWithdrawal: "Minimum $10",
79
+ selectCurrency: "Select a currency",
80
+ invalidWalletAddress: "Invalid wallet address"
81
+ },
82
+ messages: {
83
+ paymentCreated: "Payment created successfully",
84
+ paymentFailed: "Failed to create payment",
85
+ withdrawalCreated: "Withdrawal request created",
86
+ withdrawalFailed: "Failed to create withdrawal request",
87
+ withdrawalCancelled: "Withdrawal cancelled",
88
+ addressCopied: "Address copied to clipboard",
89
+ failedToLoadPayment: "Failed to load payment",
90
+ failedToCreateWithdrawal: "Failed to create withdrawal request"
91
+ },
92
+ sheets: {
93
+ addFundsTitle: "Add Funds",
94
+ addFundsDescription: "Add funds to your wallet using cryptocurrency",
95
+ withdrawTitle: "Withdraw",
96
+ withdrawDescription: "Withdraw funds to your cryptocurrency wallet",
97
+ paymentTitle: "Payment Details",
98
+ withdrawalTitle: "Withdrawal Details"
99
+ },
100
+ activity: {
101
+ title: "Recent Activity",
102
+ noActivity: "No Activity Yet",
103
+ deposit: "Deposit",
104
+ withdrawal: "Withdrawal",
105
+ payment: "Payment",
106
+ transactionsWillAppear: "Your transactions will appear here"
107
+ },
108
+ estimate: {
109
+ gettingRate: "Getting rate...",
110
+ calculating: "Calculating fees...",
111
+ enterAmountToSee: "Enter amount to see conversion",
112
+ youWillSend: "You will send",
113
+ youWillReceive: "You will receive",
114
+ serviceFee: "Service fee",
115
+ networkFee: "Network fee",
116
+ rate: "Rate",
117
+ minimumAmount: "Minimum amount"
118
+ },
119
+ withdraw: {
120
+ insufficientBalance: "Insufficient balance",
121
+ approvalWarning: "Withdrawal requests require admin approval. Processing may take 24-48 hours.",
122
+ submitting: "Submitting...",
123
+ creating: "Creating...",
124
+ expiresIn: "Expires in"
125
+ }
126
+ };
127
+
128
+ // src/i18n/locales/ru.ts
129
+ var ru = {
130
+ balance: {
131
+ available: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441",
132
+ totalDeposited: "\u0412\u0441\u0435\u0433\u043E \u0432\u043D\u0435\u0441\u0435\u043D\u043E",
133
+ totalWithdrawn: "\u0412\u0441\u0435\u0433\u043E \u0432\u044B\u0432\u0435\u0434\u0435\u043D\u043E"
134
+ },
135
+ actions: {
136
+ addFunds: "\u041F\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u044C",
137
+ withdraw: "\u0412\u044B\u0432\u0435\u0441\u0442\u0438",
138
+ continue: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C",
139
+ requestWithdrawal: "\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0432\u044B\u0432\u043E\u0434",
140
+ cancel: "\u041E\u0442\u043C\u0435\u043D\u0430",
141
+ close: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C",
142
+ copyAddress: "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0430\u0434\u0440\u0435\u0441",
143
+ copied: "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E!",
144
+ viewAll: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435",
145
+ tryAgain: "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430",
146
+ refreshStatus: "\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441",
147
+ createNewPayment: "\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436",
148
+ openInPaymentProvider: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0443 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430"
149
+ },
150
+ paymentStatus: {
151
+ waiting: "\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043E\u043F\u043B\u0430\u0442\u044B",
152
+ confirming: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435",
153
+ completed: "\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",
154
+ failed: "\u041E\u0448\u0438\u0431\u043A\u0430",
155
+ expired: "\u0418\u0441\u0442\u0435\u043A\u043B\u043E",
156
+ paymentExpired: "\u041F\u043B\u0430\u0442\u0451\u0436 \u0438\u0441\u0442\u0451\u043A"
157
+ },
158
+ withdrawalStatus: {
159
+ pending: "\u041E\u0436\u0438\u0434\u0430\u0435\u0442 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F",
160
+ approved: "\u041E\u0434\u043E\u0431\u0440\u0435\u043D\u043E",
161
+ processing: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430",
162
+ completed: "\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",
163
+ rejected: "\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E",
164
+ cancelled: "\u041E\u0442\u043C\u0435\u043D\u0435\u043D\u043E"
165
+ },
166
+ paymentDescriptions: {
167
+ sendCrypto: "\u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043F\u043B\u0430\u0442\u0435\u0436\u0430",
168
+ expired: "\u0421\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043F\u043B\u0430\u0442\u0435\u0436\u0430 \u0438\u0441\u0442\u0451\u043A",
169
+ completed: "\u041F\u043B\u0430\u0442\u0451\u0436 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D",
170
+ failed: "\u041F\u043B\u0430\u0442\u0451\u0436 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D",
171
+ confirming: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u043B\u0430\u0442\u0435\u0436\u0430",
172
+ createNew: "\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436 \u0434\u043B\u044F \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F"
173
+ },
174
+ withdrawalDescriptions: {
175
+ pendingApproval: "\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430",
176
+ processing: "\u0412\u0430\u0448 \u0432\u044B\u0432\u043E\u0434 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0435\u0442\u0441\u044F",
177
+ completed: "\u0412\u044B\u0432\u043E\u0434 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D",
178
+ rejected: "\u0412\u044B\u0432\u043E\u0434 \u0431\u044B\u043B \u043E\u0442\u043A\u043B\u043E\u043D\u0451\u043D",
179
+ cancelled: "\u0412\u044B\u0432\u043E\u0434 \u0431\u044B\u043B \u043E\u0442\u043C\u0435\u043D\u0451\u043D"
180
+ },
181
+ form: {
182
+ amount: "\u0421\u0443\u043C\u043C\u0430",
183
+ amountUsd: "\u0421\u0443\u043C\u043C\u0430 (USD)",
184
+ currency: "\u0412\u0430\u043B\u044E\u0442\u0430",
185
+ walletAddress: "\u0410\u0434\u0440\u0435\u0441 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
186
+ selectCurrency: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u043B\u044E\u0442\u0443...",
187
+ enterWalletAddress: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
188
+ search: "\u041F\u043E\u0438\u0441\u043A...",
189
+ payWith: "\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E",
190
+ withdrawAs: "\u0412\u044B\u0432\u0435\u0441\u0442\u0438 \u043A\u0430\u043A",
191
+ amountToSend: "\u0421\u0443\u043C\u043C\u0430 \u043A \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0435",
192
+ equivalent: "\u042D\u043A\u0432\u0438\u0432\u0430\u043B\u0435\u043D\u0442",
193
+ network: "\u0421\u0435\u0442\u044C",
194
+ paymentAddress: "\u0410\u0434\u0440\u0435\u0441 \u0434\u043B\u044F \u043E\u043F\u043B\u0430\u0442\u044B",
195
+ transactionHash: "\u0425\u0435\u0448 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438",
196
+ paymentId: "ID \u043F\u043B\u0430\u0442\u0435\u0436\u0430",
197
+ orderId: "\u0417\u0430\u043A\u0430\u0437 \u2116",
198
+ created: "\u0421\u043E\u0437\u0434\u0430\u043D\u043E"
199
+ },
200
+ validation: {
201
+ minimumDeposit: "\u041C\u0438\u043D\u0438\u043C\u0443\u043C $1",
202
+ minimumWithdrawal: "\u041C\u0438\u043D\u0438\u043C\u0443\u043C $10",
203
+ selectCurrency: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u043B\u044E\u0442\u0443",
204
+ invalidWalletAddress: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430"
205
+ },
206
+ messages: {
207
+ paymentCreated: "\u041F\u043B\u0430\u0442\u0451\u0436 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D",
208
+ paymentFailed: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043B\u0430\u0442\u0451\u0436",
209
+ withdrawalCreated: "\u0417\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u0432\u044B\u0432\u043E\u0434 \u0441\u043E\u0437\u0434\u0430\u043D",
210
+ withdrawalFailed: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u0432\u044B\u0432\u043E\u0434",
211
+ withdrawalCancelled: "\u0412\u044B\u0432\u043E\u0434 \u043E\u0442\u043C\u0435\u043D\u0451\u043D",
212
+ addressCopied: "\u0410\u0434\u0440\u0435\u0441 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D",
213
+ failedToLoadPayment: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043F\u043B\u0430\u0442\u0451\u0436",
214
+ failedToCreateWithdrawal: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u0432\u044B\u0432\u043E\u0434"
215
+ },
216
+ sheets: {
217
+ addFundsTitle: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435",
218
+ addFundsDescription: "\u041F\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u044B",
219
+ withdrawTitle: "\u0412\u044B\u0432\u043E\u0434",
220
+ withdrawDescription: "\u0412\u044B\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043D\u0430 \u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A",
221
+ paymentTitle: "\u0414\u0435\u0442\u0430\u043B\u0438 \u043F\u043B\u0430\u0442\u0435\u0436\u0430",
222
+ withdrawalTitle: "\u0414\u0435\u0442\u0430\u043B\u0438 \u0432\u044B\u0432\u043E\u0434\u0430"
223
+ },
224
+ activity: {
225
+ title: "\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C",
226
+ noActivity: "\u041D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0438",
227
+ deposit: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435",
228
+ withdrawal: "\u0412\u044B\u0432\u043E\u0434",
229
+ payment: "\u041F\u043B\u0430\u0442\u0451\u0436",
230
+ transactionsWillAppear: "\u0412\u0430\u0448\u0438 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438 \u043F\u043E\u044F\u0432\u044F\u0442\u0441\u044F \u0437\u0434\u0435\u0441\u044C"
231
+ },
232
+ estimate: {
233
+ gettingRate: "\u041F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u043A\u0443\u0440\u0441\u0430...",
234
+ calculating: "\u0420\u0430\u0441\u0447\u0451\u0442 \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0439...",
235
+ enterAmountToSee: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0443\u043C\u043C\u0443 \u0434\u043B\u044F \u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438",
236
+ youWillSend: "\u0412\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u0435",
237
+ youWillReceive: "\u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435",
238
+ serviceFee: "\u041A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u0430",
239
+ networkFee: "\u041A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0441\u0435\u0442\u0438",
240
+ rate: "\u041A\u0443\u0440\u0441",
241
+ minimumAmount: "\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0441\u0443\u043C\u043C\u0430"
242
+ },
243
+ withdraw: {
244
+ insufficientBalance: "\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0441\u0440\u0435\u0434\u0441\u0442\u0432",
245
+ approvalWarning: "\u0417\u0430\u043F\u0440\u043E\u0441\u044B \u043D\u0430 \u0432\u044B\u0432\u043E\u0434 \u0442\u0440\u0435\u0431\u0443\u044E\u0442 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430. \u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C 24-48 \u0447\u0430\u0441\u043E\u0432.",
246
+ submitting: "\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430...",
247
+ creating: "\u0421\u043E\u0437\u0434\u0430\u043D\u0438\u0435...",
248
+ expiresIn: "\u0418\u0441\u0442\u0435\u043A\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437"
249
+ }
250
+ };
251
+
252
+ // src/i18n/locales/ko.ts
253
+ var ko = {
254
+ balance: {
255
+ available: "\uC0AC\uC6A9 \uAC00\uB2A5 \uC794\uC561",
256
+ totalDeposited: "\uCD1D \uC785\uAE08\uC561",
257
+ totalWithdrawn: "\uCD1D \uCD9C\uAE08\uC561"
258
+ },
259
+ actions: {
260
+ addFunds: "\uC785\uAE08\uD558\uAE30",
261
+ withdraw: "\uCD9C\uAE08\uD558\uAE30",
262
+ continue: "\uACC4\uC18D",
263
+ requestWithdrawal: "\uCD9C\uAE08 \uC694\uCCAD",
264
+ cancel: "\uCDE8\uC18C",
265
+ close: "\uB2EB\uAE30",
266
+ copyAddress: "\uC8FC\uC18C \uBCF5\uC0AC",
267
+ copied: "\uBCF5\uC0AC\uB428!",
268
+ viewAll: "\uC804\uCCB4 \uBCF4\uAE30",
269
+ tryAgain: "\uB2E4\uC2DC \uC2DC\uB3C4",
270
+ refreshStatus: "\uC0C1\uD0DC \uC0C8\uB85C\uACE0\uCE68",
271
+ createNewPayment: "\uC0C8 \uACB0\uC81C \uB9CC\uB4E4\uAE30",
272
+ openInPaymentProvider: "\uACB0\uC81C \uC81C\uACF5\uC5C5\uCCB4\uC5D0\uC11C \uC5F4\uAE30"
273
+ },
274
+ paymentStatus: {
275
+ waiting: "\uACB0\uC81C \uB300\uAE30 \uC911",
276
+ confirming: "\uD655\uC778 \uC911",
277
+ completed: "\uC644\uB8CC",
278
+ failed: "\uC2E4\uD328",
279
+ expired: "\uB9CC\uB8CC\uB428",
280
+ paymentExpired: "\uACB0\uC81C \uB9CC\uB8CC\uB428"
281
+ },
282
+ withdrawalStatus: {
283
+ pending: "\uC2B9\uC778 \uB300\uAE30 \uC911",
284
+ approved: "\uC2B9\uC778\uB428",
285
+ processing: "\uCC98\uB9AC \uC911",
286
+ completed: "\uC644\uB8CC",
287
+ rejected: "\uAC70\uBD80\uB428",
288
+ cancelled: "\uCDE8\uC18C\uB428"
289
+ },
290
+ paymentDescriptions: {
291
+ sendCrypto: "\uACB0\uC81C\uB97C \uC644\uB8CC\uD558\uB824\uBA74 \uC554\uD638\uD654\uD3D0\uB97C \uBCF4\uB0B4\uC138\uC694",
292
+ expired: "\uC774 \uACB0\uC81C\uAC00 \uB9CC\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
293
+ completed: "\uACB0\uC81C\uAC00 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
294
+ failed: "\uACB0\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
295
+ confirming: "\uACB0\uC81C \uD655\uC778 \uC911",
296
+ createNew: "\uACC4\uC18D\uD558\uB824\uBA74 \uC0C8 \uACB0\uC81C\uB97C \uC0DD\uC131\uD558\uC138\uC694"
297
+ },
298
+ withdrawalDescriptions: {
299
+ pendingApproval: "\uAD00\uB9AC\uC790 \uC2B9\uC778 \uB300\uAE30 \uC911",
300
+ processing: "\uCD9C\uAE08\uC774 \uCC98\uB9AC\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4",
301
+ completed: "\uCD9C\uAE08\uC774 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
302
+ rejected: "\uCD9C\uAE08\uC774 \uAC70\uBD80\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
303
+ cancelled: "\uCD9C\uAE08\uC774 \uCDE8\uC18C\uB418\uC5C8\uC2B5\uB2C8\uB2E4"
304
+ },
305
+ form: {
306
+ amount: "\uAE08\uC561",
307
+ amountUsd: "\uAE08\uC561 (USD)",
308
+ currency: "\uD1B5\uD654",
309
+ walletAddress: "\uC9C0\uAC11 \uC8FC\uC18C",
310
+ selectCurrency: "\uD1B5\uD654 \uC120\uD0DD...",
311
+ enterWalletAddress: "\uC9C0\uAC11 \uC8FC\uC18C \uC785\uB825",
312
+ search: "\uAC80\uC0C9...",
313
+ payWith: "\uACB0\uC81C \uC218\uB2E8",
314
+ withdrawAs: "\uCD9C\uAE08 \uD1B5\uD654",
315
+ amountToSend: "\uBCF4\uB0BC \uAE08\uC561",
316
+ equivalent: "\uD658\uC0B0 \uAE08\uC561",
317
+ network: "\uB124\uD2B8\uC6CC\uD06C",
318
+ paymentAddress: "\uACB0\uC81C \uC8FC\uC18C",
319
+ transactionHash: "\uAC70\uB798 \uD574\uC2DC",
320
+ paymentId: "\uACB0\uC81C ID",
321
+ orderId: "\uC8FC\uBB38 #",
322
+ created: "\uC0DD\uC131\uC77C"
323
+ },
324
+ validation: {
325
+ minimumDeposit: "\uCD5C\uC18C $1",
326
+ minimumWithdrawal: "\uCD5C\uC18C $10",
327
+ selectCurrency: "\uD1B5\uD654\uB97C \uC120\uD0DD\uD558\uC138\uC694",
328
+ invalidWalletAddress: "\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uC9C0\uAC11 \uC8FC\uC18C"
329
+ },
330
+ messages: {
331
+ paymentCreated: "\uACB0\uC81C\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
332
+ paymentFailed: "\uACB0\uC81C \uC0DD\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
333
+ withdrawalCreated: "\uCD9C\uAE08 \uC694\uCCAD\uC774 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
334
+ withdrawalFailed: "\uCD9C\uAE08 \uC694\uCCAD \uC0DD\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
335
+ withdrawalCancelled: "\uCD9C\uAE08\uC774 \uCDE8\uC18C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
336
+ addressCopied: "\uC8FC\uC18C\uAC00 \uD074\uB9BD\uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
337
+ failedToLoadPayment: "\uACB0\uC81C\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
338
+ failedToCreateWithdrawal: "\uCD9C\uAE08 \uC694\uCCAD\uC744 \uC0DD\uC131\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4"
339
+ },
340
+ sheets: {
341
+ addFundsTitle: "\uC785\uAE08",
342
+ addFundsDescription: "\uC554\uD638\uD654\uD3D0\uB85C \uC9C0\uAC11\uC744 \uCDA9\uC804\uD558\uC138\uC694",
343
+ withdrawTitle: "\uCD9C\uAE08",
344
+ withdrawDescription: "\uC554\uD638\uD654\uD3D0 \uC9C0\uAC11\uC73C\uB85C \uC790\uAE08\uC744 \uCD9C\uAE08\uD558\uC138\uC694",
345
+ paymentTitle: "\uACB0\uC81C \uC0C1\uC138",
346
+ withdrawalTitle: "\uCD9C\uAE08 \uC0C1\uC138"
347
+ },
348
+ activity: {
349
+ title: "\uCD5C\uADFC \uD65C\uB3D9",
350
+ noActivity: "\uD65C\uB3D9 \uC5C6\uC74C",
351
+ deposit: "\uC785\uAE08",
352
+ withdrawal: "\uCD9C\uAE08",
353
+ payment: "\uACB0\uC81C",
354
+ transactionsWillAppear: "\uAC70\uB798 \uB0B4\uC5ED\uC774 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4"
355
+ },
356
+ estimate: {
357
+ gettingRate: "\uD658\uC728 \uC870\uD68C \uC911...",
358
+ calculating: "\uC218\uC218\uB8CC \uACC4\uC0B0 \uC911...",
359
+ enterAmountToSee: "\uAE08\uC561\uC744 \uC785\uB825\uD558\uC5EC \uD658\uC0B0\uC744 \uD655\uC778\uD558\uC138\uC694",
360
+ youWillSend: "\uBCF4\uB0BC \uAE08\uC561",
361
+ youWillReceive: "\uBC1B\uC744 \uAE08\uC561",
362
+ serviceFee: "\uC11C\uBE44\uC2A4 \uC218\uC218\uB8CC",
363
+ networkFee: "\uB124\uD2B8\uC6CC\uD06C \uC218\uC218\uB8CC",
364
+ rate: "\uD658\uC728",
365
+ minimumAmount: "\uCD5C\uC18C \uAE08\uC561"
366
+ },
367
+ withdraw: {
368
+ insufficientBalance: "\uC794\uC561 \uBD80\uC871",
369
+ approvalWarning: "\uCD9C\uAE08 \uC694\uCCAD\uC740 \uAD00\uB9AC\uC790 \uC2B9\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. \uCC98\uB9AC\uC5D0 24-48\uC2DC\uAC04\uC774 \uC18C\uC694\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
370
+ submitting: "\uC81C\uCD9C \uC911...",
371
+ creating: "\uC0DD\uC131 \uC911...",
372
+ expiresIn: "\uB9CC\uB8CC\uAE4C\uC9C0"
373
+ }
374
+ };
375
+
376
+ // src/i18n/index.ts
377
+ var PAYMENTS_NAMESPACE = "payments";
378
+ var paymentsI18n = createExtensionI18n({
379
+ namespace: PAYMENTS_NAMESPACE,
380
+ defaultLocale: "en",
381
+ locales: { en, ru, ko }
382
+ });
383
+ var paymentsTranslations = paymentsI18n.getAllTranslations();
384
+ export {
385
+ PAYMENTS_NAMESPACE,
386
+ en,
387
+ ko,
388
+ paymentsI18n,
389
+ paymentsTranslations,
390
+ ru
391
+ };