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