@tuwaio/payments-sdk 0.0.0 → 0.0.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/LICENSE +201 -0
- package/README.md +75 -1
- package/dist/OwnConnection-ET76SUMX-4JFMOO7Z.cjs +1 -0
- package/dist/OwnConnection-ET76SUMX-G7ZHJN57.js +1 -0
- package/dist/checkout-C05-kSiE.d.cts +1616 -0
- package/dist/checkout-C05-kSiE.d.ts +1616 -0
- package/dist/checkout.cjs +1 -0
- package/dist/checkout.d.cts +2 -0
- package/dist/checkout.d.ts +2 -0
- package/dist/checkout.js +1 -0
- package/dist/chunk-LB2KDA4M.js +2 -0
- package/dist/chunk-MJOZIUWN.cjs +1 -0
- package/dist/chunk-NQ26UU24.cjs +1 -0
- package/dist/chunk-TN5VGRRA.cjs +2 -0
- package/dist/chunk-UJ2TJGKY.js +1 -0
- package/dist/chunk-VTOKR3DS.js +1 -0
- package/dist/de-53SSE6O2-GWJEBBVJ.js +1 -0
- package/dist/de-53SSE6O2-SX2QT2XZ.cjs +1 -0
- package/dist/es-LP3HJ4KB-7RFRVGPQ.cjs +1 -0
- package/dist/es-LP3HJ4KB-JN7LQABB.js +1 -0
- package/dist/evm.cjs +1 -0
- package/dist/evm.d.cts +34 -0
- package/dist/evm.d.ts +34 -0
- package/dist/evm.js +1 -0
- package/dist/i18n.cjs +1 -0
- package/dist/i18n.d.cts +10 -0
- package/dist/i18n.d.ts +10 -0
- package/dist/i18n.js +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2979 -0
- package/dist/index.d.ts +2979 -0
- package/dist/index.js +2 -0
- package/dist/it-JJ5Z5EUF-2BNC5I2D.cjs +1 -0
- package/dist/it-JJ5Z5EUF-HOA77BWJ.js +1 -0
- package/dist/locales-DzMinYsr.d-DzMinYsr.d.cts +1221 -0
- package/dist/locales-DzMinYsr.d-DzMinYsr.d.ts +1221 -0
- package/dist/solana.cjs +1 -0
- package/dist/solana.d.cts +42 -0
- package/dist/solana.d.ts +42 -0
- package/dist/solana.js +1 -0
- package/dist/styles.css +1324 -0
- package/dist/types-Bp6JUt56.d-ByIsb1F7.d.cts +350 -0
- package/dist/types-Bp6JUt56.d-C5vQkYhR.d.ts +350 -0
- package/dist/uk-EI4N5BMM-5PL2AYKV.js +1 -0
- package/dist/uk-EI4N5BMM-UN76BFNO.cjs +1 -0
- package/dist/zhCN-BZBMKUUA-E7M3WG4Q.js +1 -0
- package/dist/zhCN-BZBMKUUA-VSNNE3YC.cjs +1 -0
- package/package.json +129 -6
- package/socket.json +17 -0
|
@@ -0,0 +1,1221 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* All texts of the Nova Payments checkout, screen readers' included. `{name}` placeholders are filled by the
|
|
3
|
+
* checkout. Pass a partial object as `labels` of `NovaPaymentsProvider` to override some of them in every language.
|
|
4
|
+
*/
|
|
5
|
+
type NovaPaymentsLabels = {
|
|
6
|
+
/** Shared texts. */
|
|
7
|
+
common: {
|
|
8
|
+
/** Close buttons, and the accessible name of the close icon (default: `Close`) */
|
|
9
|
+
close: string;
|
|
10
|
+
/** Retry buttons (default: `Try again`) */
|
|
11
|
+
retry: string;
|
|
12
|
+
/** While the checkout loads (default: `Loading the checkout…`) */
|
|
13
|
+
loading: string;
|
|
14
|
+
/** Accessible title of the checkout dialog; `{merchant}` is the seller's name (default: `Pay {merchant}`) */
|
|
15
|
+
dialogTitle: string;
|
|
16
|
+
};
|
|
17
|
+
/** The checkout cannot be opened. */
|
|
18
|
+
error: {
|
|
19
|
+
/** Heading (default: `The checkout can't be opened`) */
|
|
20
|
+
title: string;
|
|
21
|
+
/** The link is wrong or no longer works (`checkout_not_found`) */
|
|
22
|
+
notFound: string;
|
|
23
|
+
/** Any other failure */
|
|
24
|
+
generic: string;
|
|
25
|
+
};
|
|
26
|
+
/** The stepper in the header. */
|
|
27
|
+
steps: {
|
|
28
|
+
/** Buyer details (default: `Details`) */
|
|
29
|
+
details: string;
|
|
30
|
+
/** Payment method (default: `Method`) */
|
|
31
|
+
method: string;
|
|
32
|
+
/** Payment (default: `Pay`) */
|
|
33
|
+
pay: string;
|
|
34
|
+
/** Confirmation on the network (default: `Confirm`) */
|
|
35
|
+
confirm: string;
|
|
36
|
+
/** Automatic payments of a subscription (default: `Auto-pay`) */
|
|
37
|
+
autoPay: string;
|
|
38
|
+
/** Accessible name of the current step: `{current}`, `{total}`, `{name}` (default: `Step {current} of {total}: {name}`) */
|
|
39
|
+
progress: string;
|
|
40
|
+
/** Accessible name of the stepper (default: `Payment steps`) */
|
|
41
|
+
label: string;
|
|
42
|
+
};
|
|
43
|
+
/** The language menu in the header. */
|
|
44
|
+
language: {
|
|
45
|
+
/** Accessible name of the button; `{language}` is the current language (default: `Language: {language}`) */
|
|
46
|
+
button: string;
|
|
47
|
+
/** Title of the menu (default: `Language`) */
|
|
48
|
+
title: string;
|
|
49
|
+
/** Under the list before payment (default: `Your invoice and receipt use this language too.`) */
|
|
50
|
+
note: string;
|
|
51
|
+
/** Under the list once the receipt is issued */
|
|
52
|
+
noteAfterPaid: string;
|
|
53
|
+
};
|
|
54
|
+
/** The method step: the token, its network and how to pay. */
|
|
55
|
+
method: {
|
|
56
|
+
/** Heading (default: `Choose how to pay`) */
|
|
57
|
+
title: string;
|
|
58
|
+
/** Under the heading; `{minutes}` is how long a price holds (default: `The price locks for {minutes} minutes when you continue.`) */
|
|
59
|
+
subtitle: string;
|
|
60
|
+
/** Name of the token group (default: `Token`) */
|
|
61
|
+
token: string;
|
|
62
|
+
/** Under a token with several networks; `{count}` (default: `{count} networks`) */
|
|
63
|
+
networks: string;
|
|
64
|
+
/** Name of the network group; `{symbol}` (default: `{symbol} network`) */
|
|
65
|
+
network: string;
|
|
66
|
+
/** Badge of the connected wallet's network (default: `Your wallet`) */
|
|
67
|
+
yourWallet: string;
|
|
68
|
+
/** Badge of a method the merchant marks (default: `Popular`) */
|
|
69
|
+
popular: string;
|
|
70
|
+
/** A method whose gas the merchant may pay (default: `No gas fee`) */
|
|
71
|
+
noGasFee: string;
|
|
72
|
+
/** A method whose gas the buyer pays (default: `You pay the network fee`) */
|
|
73
|
+
buyerPaysGas: string;
|
|
74
|
+
/** Discount of a method; `{percent}` (default: `−{percent}%`) */
|
|
75
|
+
discount: string;
|
|
76
|
+
/** Markup of a method; `{percent}` (default: `+{percent}%`) */
|
|
77
|
+
markup: string;
|
|
78
|
+
/** Name of the payment way group (default: `Pay with`) */
|
|
79
|
+
payWith: string;
|
|
80
|
+
/** Pay from a wallet in this browser (default: `Wallet`) */
|
|
81
|
+
wallet: string;
|
|
82
|
+
/** Under "Wallet" without a connected wallet (default: `MetaMask, Rabby, Phantom…`) */
|
|
83
|
+
walletHint: string;
|
|
84
|
+
/** Pay by scanning a QR code (default: `QR code`) */
|
|
85
|
+
qr: string;
|
|
86
|
+
/** Under "QR code" (default: `Phone wallet`) */
|
|
87
|
+
qrHint: string;
|
|
88
|
+
/** Main button (default: `Continue`) */
|
|
89
|
+
continue: string;
|
|
90
|
+
/** While the price is being locked (default: `Getting the price…`) */
|
|
91
|
+
quoting: string;
|
|
92
|
+
/** Under the button with both policies; `{terms}`, `{refundPolicy}` are links (default: `By continuing you agree to the seller's {terms} and {refundPolicy}.`) */
|
|
93
|
+
agreeBoth: string;
|
|
94
|
+
/** Under the button with one policy; `{link}` (default: `By continuing you agree to the seller's {link}.`) */
|
|
95
|
+
agreeOne: string;
|
|
96
|
+
/** Under a consent of the seller the buyer must tick before continuing (default: `Required to continue.`) */
|
|
97
|
+
consentRequired: string;
|
|
98
|
+
/** No method takes the invoice */
|
|
99
|
+
noMethods: string;
|
|
100
|
+
/** The page can pay the chosen method neither from a wallet nor with a QR code */
|
|
101
|
+
methodUnavailable: string;
|
|
102
|
+
tooManyPayments: string;
|
|
103
|
+
tooManyPayers: string;
|
|
104
|
+
/** A smart wallet chose a native coin, whose transfer no receipt shows (`native_from_contract`). */
|
|
105
|
+
nativeFromSmartWallet: string;
|
|
106
|
+
/** The seller named the paying wallet, and it is another one (`payer_not_expected`) */
|
|
107
|
+
payerNotExpected: string;
|
|
108
|
+
/** Too many tries (`rate_limited`) (default: `Too many tries. Wait a minute and try again.`) */
|
|
109
|
+
rateLimited: string;
|
|
110
|
+
paymentFailed: string;
|
|
111
|
+
restSameMethod: string;
|
|
112
|
+
/** Quasar cannot read the price of the method now: its feed or network is down (`price_unavailable`) */
|
|
113
|
+
priceUnavailable: string;
|
|
114
|
+
};
|
|
115
|
+
/** The buyer details step. */
|
|
116
|
+
buyer: {
|
|
117
|
+
/** Heading (default: `Your details`) */
|
|
118
|
+
title: string;
|
|
119
|
+
/** Under the heading (default: `The seller needs them for the invoice and the receipt.`) */
|
|
120
|
+
subtitle: string;
|
|
121
|
+
/** Email field (default: `Email`) */
|
|
122
|
+
email: string;
|
|
123
|
+
/** Name field of a person (default: `Name`) */
|
|
124
|
+
name: string;
|
|
125
|
+
/** Name field of a company (default: `Company`) */
|
|
126
|
+
companyName: string;
|
|
127
|
+
/** First address line (default: `Address`) */
|
|
128
|
+
addressLine1: string;
|
|
129
|
+
/** Second address line (default: `Address, line 2`) */
|
|
130
|
+
addressLine2: string;
|
|
131
|
+
/** Postal code (default: `Postal code`) */
|
|
132
|
+
postalCode: string;
|
|
133
|
+
/** City (default: `City`) */
|
|
134
|
+
city: string;
|
|
135
|
+
/** Country (default: `Country`) */
|
|
136
|
+
country: string;
|
|
137
|
+
/** Placeholder of the country list (default: `Choose a country`) */
|
|
138
|
+
chooseCountry: string;
|
|
139
|
+
/** Tax ID (default: `VAT or tax ID`) */
|
|
140
|
+
taxId: string;
|
|
141
|
+
/** Company registration number (default: `Company number`) */
|
|
142
|
+
registrationNumber: string;
|
|
143
|
+
/** Marks an optional field (default: `optional`) */
|
|
144
|
+
optional: string;
|
|
145
|
+
/** Checkbox for a company invoice (default: `I need an invoice for my company`) */
|
|
146
|
+
companyInvoice: string;
|
|
147
|
+
/** A required field is empty (default: `Required`) */
|
|
148
|
+
required: string;
|
|
149
|
+
/** The email is not one (default: `Enter an email like name@example.com`) */
|
|
150
|
+
invalidEmail: string;
|
|
151
|
+
/** The country is not on the list (default: `Choose a country from the list`) */
|
|
152
|
+
invalidCountry: string;
|
|
153
|
+
/** Quasar refused the details (default: `Your details could not be saved. Check them and try again.`) */
|
|
154
|
+
refused: string;
|
|
155
|
+
/** Main button (default: `Continue`) */
|
|
156
|
+
continue: string;
|
|
157
|
+
};
|
|
158
|
+
/** The pay step: the wallet, the locked price, the network fee and the main action. */
|
|
159
|
+
pay: {
|
|
160
|
+
/** Heading, read by screen readers (default: `Pay`) */
|
|
161
|
+
title: string;
|
|
162
|
+
/** The connected wallet under its name: `{address}`, `{network}` (default: `{address} · {network}`) */
|
|
163
|
+
walletLine: string;
|
|
164
|
+
/** Button that changes the wallet (default: `Change`) */
|
|
165
|
+
change: string;
|
|
166
|
+
/** Accessible name of that button (default: `Change wallet`) */
|
|
167
|
+
changeWallet: string;
|
|
168
|
+
/** Above the amount (default: `You send`) */
|
|
169
|
+
youSend: string;
|
|
170
|
+
/** Instead of `youSend` on the quote of the rest of an underpaid invoice (default: `You send the rest`) */
|
|
171
|
+
youSendRest: string;
|
|
172
|
+
/** Accessible name of the copy button (default: `Copy amount`) */
|
|
173
|
+
copyAmount: string;
|
|
174
|
+
/** After copying (default: `Copied`) */
|
|
175
|
+
copied: string;
|
|
176
|
+
/** Under the amount: `{network}` (default: `on {network}`) */
|
|
177
|
+
onNetwork: string;
|
|
178
|
+
/** The invoice value of the amount: `{amount}`, `{currency}` (default: `= {amount} {currency}`) */
|
|
179
|
+
fiatValue: string;
|
|
180
|
+
/** The price lock: `{time}` is a countdown (default: `Price locked for {time}`) */
|
|
181
|
+
priceLocked: string;
|
|
182
|
+
/** Button that locks a new price (default: `Refresh price`) */
|
|
183
|
+
refreshPrice: string;
|
|
184
|
+
/** In the last minute of the price: `{time}` (default: `This price ends in {time}. Keep it?`) */
|
|
185
|
+
priceEnding: string;
|
|
186
|
+
/** Button that locks the price again: `{minutes}` (default: `Keep this price · +{minutes} min`) */
|
|
187
|
+
keepPrice: string;
|
|
188
|
+
/** The price lock ran out (default: `The price lock ran out.`) */
|
|
189
|
+
priceExpired: string;
|
|
190
|
+
/** Button that locks a new price after it ran out (default: `Get a new price`) */
|
|
191
|
+
newPrice: string;
|
|
192
|
+
/** Row of the rate (default: `Rate`) */
|
|
193
|
+
rate: string;
|
|
194
|
+
/** The rate: `{symbol}`, `{price}`, `{currency}` (default: `1 {symbol} = {price} {currency}`) */
|
|
195
|
+
rateValue: string;
|
|
196
|
+
/** Row of the network fee (default: `Network fee`) */
|
|
197
|
+
networkFee: string;
|
|
198
|
+
/** The merchant pays the gas: `{merchant}` (default: `{merchant} pays · you only sign`) */
|
|
199
|
+
merchantPaysGas: string;
|
|
200
|
+
/** The buyer pays the gas: `{amount}` is the estimate (default: `≈ {amount} · from your wallet`) */
|
|
201
|
+
gasEstimate: string;
|
|
202
|
+
/** The buyer pays the gas, estimate unknown (default: `Paid from your wallet`) */
|
|
203
|
+
gasFromWallet: string;
|
|
204
|
+
/** Row of the recipient (default: `To`) */
|
|
205
|
+
to: string;
|
|
206
|
+
/** Row of the invoice total, with a token transfer fee (default: `Invoice total`) */
|
|
207
|
+
invoiceTotal: string;
|
|
208
|
+
/** Instead of the invoice total on the quote of a rest (default: `Rest of the invoice`) */
|
|
209
|
+
invoiceRest: string;
|
|
210
|
+
/** Button back to the underpaid invoice from the quote of its rest (default: `Back`) */
|
|
211
|
+
backFromRest: string;
|
|
212
|
+
/**
|
|
213
|
+
* On a rest in an asset that moves against the invoice currency: `{time}`, `{merchant}` (default: `This rate holds until
|
|
214
|
+
* {time}. A payment after that waits for {merchant} to accept it.`)
|
|
215
|
+
*/
|
|
216
|
+
restRateUntil: string;
|
|
217
|
+
/** The same, past that time: `{merchant}` (default: `This rate was locked earlier, so this payment waits for {merchant} to accept it.`) */
|
|
218
|
+
restRateEnded: string;
|
|
219
|
+
/** Instead of the price lock on a rest in such an asset: `{time}` (default: `Time left to send: {time}`) */
|
|
220
|
+
restTimeLeft: string;
|
|
221
|
+
/** Row of the token's transfer fee: `{percent}` (default: `Token transfer fee {percent}%`) */
|
|
222
|
+
transferFee: string;
|
|
223
|
+
/** Row of what the merchant receives: `{merchant}` (default: `{merchant} receives`) */
|
|
224
|
+
merchantReceives: string;
|
|
225
|
+
/** Why the buyer sends more with a transfer fee */
|
|
226
|
+
transferFeeNote: string;
|
|
227
|
+
/** Main button of a gasless payment: `{amount}` with its symbol (default: `Sign to pay {amount}`) */
|
|
228
|
+
signToPay: string;
|
|
229
|
+
/** Main button when the buyer pays the gas: `{amount}` (default: `Pay {amount}`) */
|
|
230
|
+
payAmount: string;
|
|
231
|
+
/** Main button on the wrong network: `{network}` (default: `Switch to {network}`) */
|
|
232
|
+
switchTo: string;
|
|
233
|
+
/** Main button without a wallet of the method's family (default: `Connect a wallet`) */
|
|
234
|
+
connect: string;
|
|
235
|
+
/** Link back to the method step (default: `Back to methods`) */
|
|
236
|
+
back: string;
|
|
237
|
+
/** Pays the gas instead of signing (default: `Pay with gas instead`) */
|
|
238
|
+
payWithGas: string;
|
|
239
|
+
/** Goes back to the gasless payment: `{merchant}` (default: `Let {merchant} pay the gas`) */
|
|
240
|
+
payGasless: string;
|
|
241
|
+
/** Under the button: `{merchant}` (default: `Payments go straight to {merchant} and can't be reversed; refunds come from the seller.`) */
|
|
242
|
+
disclaimer: string;
|
|
243
|
+
/** After it, only when the merchant checks paying wallets (`amlScreening` of the checkout): `{merchant}` (default: `{merchant} checks paying wallets against sanctions lists and, where available, other risk signals.`) */
|
|
244
|
+
disclaimerScreening: string;
|
|
245
|
+
/** Heading of the wrong network banner (default: `Wrong network`) */
|
|
246
|
+
wrongNetwork: string;
|
|
247
|
+
/** Text of the banner: `{current}`, `{network}` (default: `Your wallet is on {current}. This payment goes on {network}.`) */
|
|
248
|
+
wrongNetworkText: string;
|
|
249
|
+
/** Under the switch button (default: `Your wallet asks you to approve the switch.`) */
|
|
250
|
+
switchHint: string;
|
|
251
|
+
/** Heading of the reminder about the network of a Solana payment off mainnet: `{network}` (default: `Pay on {network}`) */
|
|
252
|
+
solanaNetwork: string;
|
|
253
|
+
/** Its text: `{network}` (default: `Solana wallets choose their network themselves: switch yours to {network} before you pay.`) */
|
|
254
|
+
solanaNetworkText: string;
|
|
255
|
+
/** The steps in Phantom: `{network}` (default: `In Phantom: Settings › Developer Settings › Testnet Mode, then {network}.`) */
|
|
256
|
+
solanaHintPhantom: string;
|
|
257
|
+
/** The steps in Solflare: `{cluster}`, the cluster as Solflare names it (default: `In Solflare: Settings › General › Network › {cluster}.`) */
|
|
258
|
+
solanaHintSolflare: string;
|
|
259
|
+
/** In other Solana wallets: `{wallet}` (default: `Choose the network in the settings of {wallet}.`) */
|
|
260
|
+
solanaHintOther: string;
|
|
261
|
+
/** Heading of a short balance (default: `Not enough`) */
|
|
262
|
+
notEnough: string;
|
|
263
|
+
/** The balance: `{amount}`, `{network}` (default: `Your wallet has {amount} on {network}`) */
|
|
264
|
+
walletHas: string;
|
|
265
|
+
/** The difference: `{short}`, `{need}` (default: `{short} short of {need}.`) */
|
|
266
|
+
shortBy: string;
|
|
267
|
+
/** Above the methods the wallet can pay (default: `Pay from what this wallet has`) */
|
|
268
|
+
payFromBalance: string;
|
|
269
|
+
/** Balance under such a method: `{amount}` (default: `You have {amount}`) */
|
|
270
|
+
youHave: string;
|
|
271
|
+
/** Before the seller's top-up link: `{symbol}` (default: `Or add {symbol} to this wallet and come back:`) */
|
|
272
|
+
topUp: string;
|
|
273
|
+
/** The seller's top-up link: `{symbol}` (default: `Get {symbol}`) */
|
|
274
|
+
getToken: string;
|
|
275
|
+
/** Without a way to connect a wallet in this app */
|
|
276
|
+
connectUnavailable: string;
|
|
277
|
+
switchFailed: string;
|
|
278
|
+
notAuthorized: string;
|
|
279
|
+
walletFailed: string;
|
|
280
|
+
sentUnconfirmed: string;
|
|
281
|
+
/** The buyer declined in the wallet: `{wallet}` (default: `You declined the request in {wallet}.`) */
|
|
282
|
+
declined: string;
|
|
283
|
+
/** Button after a declined request (default: `Try again`) */
|
|
284
|
+
tryAgain: string;
|
|
285
|
+
/** The transaction failed: `{network}` */
|
|
286
|
+
failed: string;
|
|
287
|
+
/**
|
|
288
|
+
* The transaction succeeded on chain but does not pay the invoice (a wrong amount, asset or recipient, no Solana Pay
|
|
289
|
+
* reference, sent before the price was locked…): it may have moved money, so never say that it failed or that
|
|
290
|
+
* nothing was charged. Also on the method step and on an expired or cancelled invoice: `{merchant}` (default: `This
|
|
291
|
+
* transaction does not pay the invoice. If money left your wallet, contact {merchant}.`)
|
|
292
|
+
*/
|
|
293
|
+
mismatch: string;
|
|
294
|
+
/**
|
|
295
|
+
* Instead of `mismatch` when Quasar credited the transaction to another invoice of the seller, the one whose quoted
|
|
296
|
+
* wallet sent it (`tx_already_used`): `{merchant}` (default: `This transaction pays another invoice. If it was your
|
|
297
|
+
* payment for this one, contact {merchant} with the transaction hash.`)
|
|
298
|
+
*/
|
|
299
|
+
mismatchTakenElsewhere: string;
|
|
300
|
+
/**
|
|
301
|
+
* Instead of `mismatch` when another invoice of the seller holds the transaction for a refund only
|
|
302
|
+
* (`tx_already_used` with `held`): it pays neither invoice, so never say that it pays one: `{merchant}` (default:
|
|
303
|
+
* `This transaction is tied to another invoice, which holds it for a refund to the wallet that sent it. It does not
|
|
304
|
+
* count for this invoice. If it was your payment for this one, contact {merchant} with the transaction hash.`)
|
|
305
|
+
*/
|
|
306
|
+
mismatchHeldElsewhere: string;
|
|
307
|
+
/**
|
|
308
|
+
* Instead of `mismatch` for a transfer from a wallet that did not confirm the invoice (`payer_mismatch`,
|
|
309
|
+
* `payer_unconfirmed`): it does not pay the invoice, and no hold promises a refund (a held invoice shows its own
|
|
310
|
+
* outcome): `{merchant}` (default: `This transfer came from a wallet that did not confirm this invoice, so it does
|
|
311
|
+
* not pay it. If money left your wallet, contact {merchant}.`)
|
|
312
|
+
*/
|
|
313
|
+
mismatchOtherWallet: string;
|
|
314
|
+
/**
|
|
315
|
+
* Instead of `mismatchOtherWallet` when Quasar recorded the transfer as a held transfer, which the seller returns:
|
|
316
|
+
* `{merchant}` (default: `This transfer came from a wallet that did not confirm this invoice, so it does not pay
|
|
317
|
+
* it. {merchant} returns it to the wallet that sent it, and you can still pay this invoice from the wallet that
|
|
318
|
+
* confirmed it.`)
|
|
319
|
+
*/
|
|
320
|
+
mismatchOtherWalletHeld: string;
|
|
321
|
+
/**
|
|
322
|
+
* An automatic charge landed after the buyer chose another way to pay; `{merchant}` (default: `An automatic charge
|
|
323
|
+
* reached {merchant} after you chose another way to pay, so it does not pay this invoice. {merchant} returns it to your
|
|
324
|
+
* wallet, and you can still pay the invoice.`)
|
|
325
|
+
*/
|
|
326
|
+
/** A payment sent or charged under an earlier price of the invoice: `{merchant}`. */
|
|
327
|
+
mismatchChargeHeld: string;
|
|
328
|
+
/** A part past what the invoice takes: `{merchant}`. */
|
|
329
|
+
mismatchTooManyParts: string;
|
|
330
|
+
/** Button after a failed transaction (default: `Pay again`) */
|
|
331
|
+
payAgain: string;
|
|
332
|
+
/** The wallet cannot pay this way: `{wallet}` (default: `{wallet} can't make this payment.`) */
|
|
333
|
+
unsupported: string;
|
|
334
|
+
/** The Solana wallet was on another network, so the payment did not go through: `{wallet}`, `{network}` (default: `{wallet} is on another network, so nothing was paid. Switch it to {network} and pay again.`) */
|
|
335
|
+
wrongCluster: string;
|
|
336
|
+
/** The wallet screening of Quasar is unavailable (default: `The wallet check is unavailable right now.`) */
|
|
337
|
+
screeningUnavailable: string;
|
|
338
|
+
/** Button then (default: `Try again in a minute`) */
|
|
339
|
+
retryLater: string;
|
|
340
|
+
/** No answer from Quasar */
|
|
341
|
+
noAnswer: string;
|
|
342
|
+
/** Title of the payment in the app's transaction history and toasts: `{merchant}` (default: `Payment to {merchant}`) */
|
|
343
|
+
txTitle: string;
|
|
344
|
+
/** Its description: `{amount}` with its symbol, `{invoice}` the invoice number (default: `{amount} · {invoice}`) */
|
|
345
|
+
txDescription: string;
|
|
346
|
+
};
|
|
347
|
+
/** The window while the wallet asks the buyer. */
|
|
348
|
+
walletPrompt: {
|
|
349
|
+
/** Heading of a gasless signature: `{wallet}` (default: `Sign in {wallet}`) */
|
|
350
|
+
signIn: string;
|
|
351
|
+
/** Heading of a transaction: `{wallet}` (default: `Confirm in {wallet}`) */
|
|
352
|
+
confirmIn: string;
|
|
353
|
+
/** Heading while switching the network: `{wallet}` (default: `Approve the switch in {wallet}`) */
|
|
354
|
+
switchIn: string;
|
|
355
|
+
/** Text of a gasless signature: `{amount}`, `{merchant}`, `{network}` */
|
|
356
|
+
signText: string;
|
|
357
|
+
/** Text of a transaction: `{amount}`, `{merchant}`, `{network}` */
|
|
358
|
+
confirmText: string;
|
|
359
|
+
/** Above the things to check: `{wallet}` (default: `Check in {wallet} before signing`) */
|
|
360
|
+
check: string;
|
|
361
|
+
/** Row of the amount (default: `Amount`) */
|
|
362
|
+
amount: string;
|
|
363
|
+
/** Row of the recipient (default: `To`) */
|
|
364
|
+
to: string;
|
|
365
|
+
/** Row of the network (default: `Network`) */
|
|
366
|
+
network: string;
|
|
367
|
+
/** Row of the price lock (default: `Price locked`) */
|
|
368
|
+
priceLocked: string;
|
|
369
|
+
/** Before the retry button (default: `The wallet window didn't open?`) */
|
|
370
|
+
notOpened: string;
|
|
371
|
+
/** Retry button (default: `Try again`) */
|
|
372
|
+
tryAgain: string;
|
|
373
|
+
/** For a transaction that may still wait in the wallet: `{wallet}` */
|
|
374
|
+
stillWaiting: string;
|
|
375
|
+
/** Closes the window (default: `Cancel`) */
|
|
376
|
+
cancel: string;
|
|
377
|
+
/** While Quasar takes the payment (default: `Handing the payment to Quasar…`) */
|
|
378
|
+
submitting: string;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* The step that confirms the paying wallet: right after the wallet and the method, before the price, the wallet signs
|
|
382
|
+
* Quasar's message (a free signature that moves no money) for an EVM payment it sends itself; one signature per
|
|
383
|
+
* invoice and wallet.
|
|
384
|
+
*/
|
|
385
|
+
payerProof: {
|
|
386
|
+
/** Heading (default: `Confirm your wallet`) */
|
|
387
|
+
title: string;
|
|
388
|
+
/** The one sentence under it (default: `Confirm this wallet — it is free and moves no money.`) */
|
|
389
|
+
text: string;
|
|
390
|
+
/** Above the summary of the message (default: `What you sign`) */
|
|
391
|
+
summary: string;
|
|
392
|
+
/** Row of the invoice number (default: `Invoice`) */
|
|
393
|
+
invoice: string;
|
|
394
|
+
/** Row of the seller (default: `Seller`) */
|
|
395
|
+
merchant: string;
|
|
396
|
+
/** Row of the invoice total (default: `Amount`) */
|
|
397
|
+
amount: string;
|
|
398
|
+
/** Row of the wallet (default: `Wallet`) */
|
|
399
|
+
wallet: string;
|
|
400
|
+
/** Row of the site the message names, in the wallet's window (default: `Site`) */
|
|
401
|
+
site: string;
|
|
402
|
+
/** Another wallet already confirmed the invoice, and needs no new signature; `{wallet}` */
|
|
403
|
+
alreadyConfirmed: string;
|
|
404
|
+
/**
|
|
405
|
+
* Why it is asked (default: `Payments from this wallet count for this invoice once it signs. Your wallet shows a
|
|
406
|
+
* message to sign, not a payment: no fee, nothing leaves the wallet.`)
|
|
407
|
+
*/
|
|
408
|
+
why: string;
|
|
409
|
+
/** For a smart wallet: `{wallet}` (default: `{wallet} may ask for your passkey or fingerprint to sign.`) */
|
|
410
|
+
passkey: string;
|
|
411
|
+
/** The main button, which opens the wallet's signature request: `{wallet}` (default: `Confirm in {wallet}`) */
|
|
412
|
+
confirm: string;
|
|
413
|
+
/** The main button while the request waits in the wallet: `{wallet}` (default: `Waiting for {wallet}…`) */
|
|
414
|
+
waiting: string;
|
|
415
|
+
/**
|
|
416
|
+
* Under the buttons (default: `One signature per wallet for this invoice: a new price, token or network needs no
|
|
417
|
+
* new one.`)
|
|
418
|
+
*/
|
|
419
|
+
note: string;
|
|
420
|
+
/**
|
|
421
|
+
* Instead of `note` for a smart wallet, whose signature counts on its network only (default: `One signature per
|
|
422
|
+
* wallet for this invoice: a new price or token needs no new one; another network asks again.`)
|
|
423
|
+
*/
|
|
424
|
+
noteSmart: string;
|
|
425
|
+
/**
|
|
426
|
+
* Text of the wallet window: `{invoice}`, `{merchant}` (default: `Sign the message that confirms this wallet pays
|
|
427
|
+
* invoice {invoice} of {merchant}. It is free and moves no money.`)
|
|
428
|
+
*/
|
|
429
|
+
promptText: string;
|
|
430
|
+
/**
|
|
431
|
+
* The same for a smart wallet: `{wallet}`, `{invoice}`, `{merchant}` (default: `Confirm with your passkey in
|
|
432
|
+
* {wallet}. It signs the message that confirms this wallet pays invoice {invoice} of {merchant}; it is free and
|
|
433
|
+
* moves no money.`)
|
|
434
|
+
*/
|
|
435
|
+
promptPasskey: string;
|
|
436
|
+
/**
|
|
437
|
+
* The buyer refused the signature: `{wallet}` (default: `You declined the signature in {wallet}. It is free and
|
|
438
|
+
* moves no money: sign it to pay from this wallet, or choose another wallet or method.`)
|
|
439
|
+
*/
|
|
440
|
+
declined: string;
|
|
441
|
+
/** The wallet cannot sign messages: `{wallet}` (default: `{wallet} can't sign this confirmation. Choose another wallet or method.`) */
|
|
442
|
+
unsupported: string;
|
|
443
|
+
/** The wallet failed to sign: `{wallet}` (default: `{wallet} did not sign the confirmation. Try again.`) */
|
|
444
|
+
failed: string;
|
|
445
|
+
/** Quasar could not verify the signature (`payer_proof_invalid`) */
|
|
446
|
+
invalid: string;
|
|
447
|
+
/** The network could not check a smart wallet's signature (`payer_proof_unavailable`) */
|
|
448
|
+
unavailable: string;
|
|
449
|
+
/** The wallet is on another network than the method's (`payer_chain_mismatch`): `{wallet}`, `{network}` */
|
|
450
|
+
wrongNetwork: string;
|
|
451
|
+
/** Too many wallets confirmed the invoice (`too_many_payers`): `{merchant}` */
|
|
452
|
+
tooManyWallets: string;
|
|
453
|
+
switchDeclined: string;
|
|
454
|
+
willSwitch: string;
|
|
455
|
+
/**
|
|
456
|
+
* The main button of the pay step when the buyer pays the gas (or through the paymaster) of a method the gasless
|
|
457
|
+
* relay could pay: the wallet confirms the invoice first (default: `Confirm this wallet to pay`)
|
|
458
|
+
*/
|
|
459
|
+
confirmToPay: string;
|
|
460
|
+
/** The note above it */
|
|
461
|
+
payNote: string;
|
|
462
|
+
/**
|
|
463
|
+
* Line in the wallet window: the wallet may present the message as a sign-in: `{wallet}`, `{site}` (default:
|
|
464
|
+
* `{wallet} may show it as a sign-in request for {site}.`)
|
|
465
|
+
*/
|
|
466
|
+
signInRequest: string;
|
|
467
|
+
};
|
|
468
|
+
/** The QR code step: Solana Pay, or this checkout on a phone. */
|
|
469
|
+
qr: {
|
|
470
|
+
/** Heading of Solana Pay (default: `Scan with a Solana wallet`) */
|
|
471
|
+
solanaTitle: string;
|
|
472
|
+
/** Under it (default: `Open Phantom, Solflare or Backpack`) */
|
|
473
|
+
solanaHint: string;
|
|
474
|
+
/** Instead of it on the rest of an underpaid invoice: `{wallet}` (default: `Scan with the wallet that paid first, {wallet}.`) */
|
|
475
|
+
restHint: string;
|
|
476
|
+
/** First step (default: `Scan the code (Solana Pay)`) */
|
|
477
|
+
scanStep: string;
|
|
478
|
+
/** Second step (default: `Approve the amount below`) */
|
|
479
|
+
approveStep: string;
|
|
480
|
+
/** Text alternative of the Solana Pay code: `{amount}` (default: `QR code of a Solana Pay request for {amount}`) */
|
|
481
|
+
solanaCode: string;
|
|
482
|
+
/** While waiting (default: `Waiting for the payment…`) */
|
|
483
|
+
waiting: string;
|
|
484
|
+
/** Why not to pay from an exchange */
|
|
485
|
+
exchangeWarning: string;
|
|
486
|
+
/** Link that opens the request in a wallet app (default: `Open in wallet app`) */
|
|
487
|
+
openInWallet: string;
|
|
488
|
+
/** Heading of the phone hand-off (default: `Pay on your phone`) */
|
|
489
|
+
handoffTitle: string;
|
|
490
|
+
/** Under it */
|
|
491
|
+
handoffHint: string;
|
|
492
|
+
/** Text alternative of the hand-off code (default: `QR code that opens this checkout on your phone`) */
|
|
493
|
+
handoffCode: string;
|
|
494
|
+
/** That this page follows the payment */
|
|
495
|
+
handoffNote: string;
|
|
496
|
+
/** Copies the link of the payment page (default: `Copy link`) */
|
|
497
|
+
copyLink: string;
|
|
498
|
+
/** Link back to the method step (default: `Back to methods`) */
|
|
499
|
+
back: string;
|
|
500
|
+
};
|
|
501
|
+
/** The confirm step: the transaction is on its way. */
|
|
502
|
+
confirm: {
|
|
503
|
+
/** Heading (default: `Confirming your payment`) */
|
|
504
|
+
title: string;
|
|
505
|
+
/** Under the heading: `{network}` (default: `Usually under two minutes on {network}.`) */
|
|
506
|
+
hint: string;
|
|
507
|
+
/** First step (default: `Sent`) */
|
|
508
|
+
sent: string;
|
|
509
|
+
/** Second step while it runs (default: `Confirming`) */
|
|
510
|
+
confirming: string;
|
|
511
|
+
/** Second step once the network confirmed the transaction (default: `Confirmed`) */
|
|
512
|
+
confirmed: string;
|
|
513
|
+
/** Last step (default: `Paid`) */
|
|
514
|
+
paid: string;
|
|
515
|
+
/** Last step when the transaction failed (default: `Failed`) */
|
|
516
|
+
failed: string;
|
|
517
|
+
/** Row of the network (default: `Network`) */
|
|
518
|
+
network: string;
|
|
519
|
+
/** Row of the amount (default: `Amount`) */
|
|
520
|
+
amount: string;
|
|
521
|
+
/** Row of the transaction (default: `Transaction`) */
|
|
522
|
+
transaction: string;
|
|
523
|
+
/** The same row on an invoice paid in parts, where it names the last one; the receipt names them all (default: `Last transfer`) */
|
|
524
|
+
lastTransfer: string;
|
|
525
|
+
/** Row of the sender (default: `From`) */
|
|
526
|
+
from: string;
|
|
527
|
+
/** That the window may close */
|
|
528
|
+
canClose: string;
|
|
529
|
+
/**
|
|
530
|
+
* Instead of `canClose` once the deadline passed while the payment this page handed over before the deadline is on
|
|
531
|
+
* its way and the invoice is still `open` or `underpaid` (Quasar waits for a payment it learned of before the
|
|
532
|
+
* deadline); `{merchant}` may be used (default: `Your payment was sent before the deadline and is being confirmed.`)
|
|
533
|
+
*/
|
|
534
|
+
afterDeadline: string;
|
|
535
|
+
/**
|
|
536
|
+
* Instead of `canClose` once the deadline passed while a payment this page handed over at or after the deadline, or
|
|
537
|
+
* at a time it does not know (it was reloaded), is on its way and the invoice is still `open` or `underpaid`:
|
|
538
|
+
* `{merchant}` (default: `Your payment is being confirmed. If it arrives after the invoice closes, {merchant}
|
|
539
|
+
* accepts it or returns it.`)
|
|
540
|
+
*/
|
|
541
|
+
pastDeadline: string;
|
|
542
|
+
/**
|
|
543
|
+
* Instead of `canClose` while a payment of the invoice that this page did not hand over is on its way (the page was
|
|
544
|
+
* reopened or reloaded, another tab paid, Quasar found a Solana Pay transfer), before the deadline (default: `A
|
|
545
|
+
* payment for this invoice is on its way. Wait until it is confirmed before paying again.`)
|
|
546
|
+
*/
|
|
547
|
+
invoicePayment: string;
|
|
548
|
+
/** Accessible name of the explorer link of the transaction (default: `View on the explorer`) */
|
|
549
|
+
viewOnExplorer: string;
|
|
550
|
+
/** Accessible name of the copy button of the transaction (default: `Copy the transaction`) */
|
|
551
|
+
copyHash: string;
|
|
552
|
+
};
|
|
553
|
+
/** The paid outcome. */
|
|
554
|
+
paid: {
|
|
555
|
+
/** Heading (default: `Payment received`) */
|
|
556
|
+
title: string;
|
|
557
|
+
/** Under the amount: `{network}`, `{date}` (default: `on {network} · {date}`) */
|
|
558
|
+
summary: string;
|
|
559
|
+
/** The receipt card (default: `Receipt`) */
|
|
560
|
+
receipt: string;
|
|
561
|
+
/** Under it (default: `PDF of the payment, also kept by the seller`) */
|
|
562
|
+
receiptHint: string;
|
|
563
|
+
/** Download link of the receipt (default: `Download`) */
|
|
564
|
+
download: string;
|
|
565
|
+
/** A part refunded later: `{amount}`, `{currency}` (default: `Refunded {amount} {currency}`) */
|
|
566
|
+
refunded: string;
|
|
567
|
+
/** Button back to the seller: `{merchant}` (default: `Back to {merchant}`) */
|
|
568
|
+
back: string;
|
|
569
|
+
/** Auto-return countdown: `{merchant}`, `{seconds}` (default: `Returning to {merchant} in {seconds} s`) */
|
|
570
|
+
returning: string;
|
|
571
|
+
/** Stops the auto-return (default: `Stay here`) */
|
|
572
|
+
stay: string;
|
|
573
|
+
/** Button of the automatic payments offer of a subscription (default: `Pay the next periods automatically`) */
|
|
574
|
+
autoPayOffer: string;
|
|
575
|
+
/** When automatic payments are on (default: `Automatic payments are on.`) */
|
|
576
|
+
autoPayActive: string;
|
|
577
|
+
/** Opens the screen that turns them off, beside that text (default: `Turn off`) */
|
|
578
|
+
autoPayOff: string;
|
|
579
|
+
/** After they were turned off: `{merchant}` */
|
|
580
|
+
autoPayTurnedOff: string;
|
|
581
|
+
};
|
|
582
|
+
/** Turning off automatic payments: the wallet that allowed them sends the transaction that revokes the permission. */
|
|
583
|
+
autoPayOff: {
|
|
584
|
+
/** Heading (default: `Turn off automatic payments?`) */
|
|
585
|
+
title: string;
|
|
586
|
+
/** What it means: `{merchant}` */
|
|
587
|
+
subtitle: string;
|
|
588
|
+
/** Row of the wallet (default: `Wallet`) */
|
|
589
|
+
wallet: string;
|
|
590
|
+
/** Row of the limit (default: `Allowed now`) */
|
|
591
|
+
allowed: string;
|
|
592
|
+
/** Who pays for the transaction: `{network}` */
|
|
593
|
+
fee: string;
|
|
594
|
+
/** Main button: `{wallet}` (default: `Turn off in {wallet}`) */
|
|
595
|
+
confirm: string;
|
|
596
|
+
/** Main button once the wallet sent it (default: `Check again`) */
|
|
597
|
+
checkAgain: string;
|
|
598
|
+
/** Goes back (default: `Keep them on`) */
|
|
599
|
+
keep: string;
|
|
600
|
+
/** Main button when that wallet is not connected (default: `Connect that wallet`) */
|
|
601
|
+
connect: string;
|
|
602
|
+
/** When that wallet is not connected: `{wallet}` */
|
|
603
|
+
otherWallet: string;
|
|
604
|
+
useThisWallet: string;
|
|
605
|
+
/** While the wallet asks: `{wallet}` (default: `Confirm in {wallet}…`) */
|
|
606
|
+
inWallet: string;
|
|
607
|
+
/** While the network confirms (default: `Waiting for the network…`) */
|
|
608
|
+
waiting: string;
|
|
609
|
+
/** The network does not show the revocation yet */
|
|
610
|
+
notYet: string;
|
|
611
|
+
/** The wallet cannot send it: `{wallet}` */
|
|
612
|
+
unsupported: string;
|
|
613
|
+
};
|
|
614
|
+
/** The automatic payments offer of a subscription (ERC-7715), after a paid period. */
|
|
615
|
+
autoPay: {
|
|
616
|
+
/** Heading (default: `Pay next periods automatically?`) */
|
|
617
|
+
title: string;
|
|
618
|
+
/** Under it */
|
|
619
|
+
subtitle: string;
|
|
620
|
+
/** Above the limit: `{merchant}` (default: `You allow {merchant} to take`) */
|
|
621
|
+
allow: string;
|
|
622
|
+
/** The limit: `{amount}` with its symbol (default: `up to {amount}`) */
|
|
623
|
+
limit: string;
|
|
624
|
+
/** The period: `{period}` (for example `30 days`) (default: `every {period}`) */
|
|
625
|
+
every: string;
|
|
626
|
+
/** Row of the paying wallet (default: `From`) */
|
|
627
|
+
from: string;
|
|
628
|
+
/** Row of the merchant's wallet the charges are paid to (default: `To`) */
|
|
629
|
+
to: string;
|
|
630
|
+
/** Row of the expiry (default: `Valid until`) */
|
|
631
|
+
validUntil: string;
|
|
632
|
+
/** Its value: `{date}` (default: `{date}, or until you turn it off`) */
|
|
633
|
+
validUntilValue: string;
|
|
634
|
+
/** First note, on who sends the charges: `{merchant}` (default: `Quasar sends each charge for {merchant}, only to {merchant}'s wallet and within this limit.`) */
|
|
635
|
+
collector: string;
|
|
636
|
+
/** Second note (default: `Each charge comes with an invoice and a receipt by email.`) */
|
|
637
|
+
invoices: string;
|
|
638
|
+
/** Third note: `{merchant}` (default: `{merchant} can't take more than this limit in a period.`) */
|
|
639
|
+
cap: string;
|
|
640
|
+
/** Fourth note, how to turn it off: `{merchant}` */
|
|
641
|
+
turnOff: string;
|
|
642
|
+
/** Main button (default: `Allow automatic payments`) */
|
|
643
|
+
confirm: string;
|
|
644
|
+
/** Declines (default: `Not now, I'll pay each invoice`) */
|
|
645
|
+
skip: string;
|
|
646
|
+
/** Under the buttons (default: `Your wallet shows this permission (ERC-7715) before you approve it.`) */
|
|
647
|
+
walletNote: string;
|
|
648
|
+
/** Heading while the wallet asks: `{wallet}` (default: `Approve in {wallet}`) */
|
|
649
|
+
approveIn: string;
|
|
650
|
+
/** The wallet cannot grant it: `{wallet}` (default: `{wallet} can't allow automatic payments.`) */
|
|
651
|
+
unavailable: string;
|
|
652
|
+
smartAccountNote: string;
|
|
653
|
+
smartAccountPrompt: string;
|
|
654
|
+
smartAccountNeeded: string;
|
|
655
|
+
notGranted: string;
|
|
656
|
+
invalid: string;
|
|
657
|
+
};
|
|
658
|
+
/** The outcomes other than paid. */
|
|
659
|
+
outcome: {
|
|
660
|
+
/** Heading of an underpaid invoice (default: `Part of the payment arrived`) */
|
|
661
|
+
underpaidTitle: string;
|
|
662
|
+
/** What arrived: `{received}`, `{total}` (default: `{received} of {total} received.`) */
|
|
663
|
+
underpaidText: string;
|
|
664
|
+
/** What is left: `{rest}`, `{network}` (default: `Send the rest, {rest}, from the same wallet on {network}.`) */
|
|
665
|
+
underpaidRest: string;
|
|
666
|
+
/** Until when: `{merchant}`, `{date}` */
|
|
667
|
+
underpaidNote: string;
|
|
668
|
+
/**
|
|
669
|
+
* Instead of what is left and until when, once the rest cannot be paid: its method is off (default: `The rest of this
|
|
670
|
+
* invoice can no longer be paid here.`)
|
|
671
|
+
*/
|
|
672
|
+
underpaidClosed: string;
|
|
673
|
+
/** With it, when the merchant can refund: `{date}`, `{merchant}` (default: `After {date}, {merchant} can refund what arrived.`) */
|
|
674
|
+
underpaidClosedRefund: string;
|
|
675
|
+
/**
|
|
676
|
+
* In an asset that moves against the invoice currency, once the rate ended: `{merchant}` (default: `The rate of this
|
|
677
|
+
* invoice has ended, so a rest paid now waits for {merchant} to accept it.`)
|
|
678
|
+
*/
|
|
679
|
+
underpaidRateEnded: string;
|
|
680
|
+
/**
|
|
681
|
+
* The first wallet failed the wallet check at the quote of the rest: `{merchant}` (default: `This wallet did not pass
|
|
682
|
+
* the wallet check, so it cannot pay the rest. Contact {merchant}.`)
|
|
683
|
+
*/
|
|
684
|
+
underpaidBlocked: string;
|
|
685
|
+
/**
|
|
686
|
+
* Instead of paying the rest when another wallet than the one that paid first is connected, or Quasar refused the
|
|
687
|
+
* rest from it (`payer_mismatch`): `{wallet}`, the first wallet's short address (default: `Only the wallet that paid
|
|
688
|
+
* first, {wallet}, can pay the rest. Connect that wallet to pay it.`)
|
|
689
|
+
*/
|
|
690
|
+
payRestFirstWallet: string;
|
|
691
|
+
/** Button that pays the rest (default: `Pay the rest`) */
|
|
692
|
+
payRest: string;
|
|
693
|
+
/** Heading of a payment on review: `{merchant}` (default: `Payment received, {merchant} is checking it`) */
|
|
694
|
+
heldTitle: string;
|
|
695
|
+
/** Reason `screening`, also while the reason is unknown or not read yet: `{merchant}` (default: `{merchant} checks the payment before confirming the order.`) */
|
|
696
|
+
heldScreening: string;
|
|
697
|
+
/** Reason `late`: `{merchant}` */
|
|
698
|
+
heldLate: string;
|
|
699
|
+
/** Reason `overpaid`: `{merchant}` */
|
|
700
|
+
heldOverpaid: string;
|
|
701
|
+
/** Reason `quote_expired`: `{merchant}` (default: `The payment arrived after the price lock ran out. {merchant} accepts it or returns it.`) */
|
|
702
|
+
heldQuoteExpired: string;
|
|
703
|
+
/** Under it (default: `The seller contacts you if anything is needed.`) */
|
|
704
|
+
heldNote: string;
|
|
705
|
+
/** Heading of a refunded invoice (default: `Refunded`) */
|
|
706
|
+
refundedTitle: string;
|
|
707
|
+
/** Its text: `{merchant}`, `{amount}`, `{currency}` (default: `{merchant} refunded this invoice: {amount} {currency}.`) */
|
|
708
|
+
refundedText: string;
|
|
709
|
+
/** Heading of an expired invoice (default: `This invoice has expired`) */
|
|
710
|
+
expiredTitle: string;
|
|
711
|
+
/** Its text when nothing arrived: `{date}`, `{merchant}` */
|
|
712
|
+
expiredText: string;
|
|
713
|
+
/** Its text when part of the payment arrived before it expired: `{date}`, `{amount}` with its symbol (default: `It was payable until {date}. Part of the payment arrived: {amount}.`) */
|
|
714
|
+
expiredPartText: string;
|
|
715
|
+
/** The same without the amount, when no locked quote tells its token: `{date}` (default: `It was payable until {date}. Part of the payment arrived.`) */
|
|
716
|
+
expiredPartNoAmount: string;
|
|
717
|
+
/** The seller closed an invoice that received part of its payment: `{merchant}`, `{amount}`. */
|
|
718
|
+
closedPartText: string;
|
|
719
|
+
/** Under it: `{merchant}` (default: `{merchant} can refund it to the wallet that paid; contact {merchant}.`) */
|
|
720
|
+
expiredPartRefund: string;
|
|
721
|
+
/** Under it */
|
|
722
|
+
expiredNote: string;
|
|
723
|
+
/**
|
|
724
|
+
* Instead of `expiredText` and `expiredNote` when the invoice expired while the payment this page sent was still
|
|
725
|
+
* confirming: `{merchant}`. Quasar records a payment that arrives after the invoice closed and holds it for the
|
|
726
|
+
* seller (default: `The invoice closed while your payment was confirming. If it arrives, it is recorded and shown to
|
|
727
|
+
* {merchant}, who accepts it or returns it.`)
|
|
728
|
+
*/
|
|
729
|
+
expiredWhileConfirming: string;
|
|
730
|
+
/**
|
|
731
|
+
* Instead of `expiredText` and `expiredNote` when the invoice expired after the checkout showed a QR code, which
|
|
732
|
+
* the buyer may have paid with from a phone: `{merchant}` (default: `If you paid with the QR code, {merchant}
|
|
733
|
+
* accepts the payment when it arrives or returns it.`)
|
|
734
|
+
*/
|
|
735
|
+
expiredAfterQr: string;
|
|
736
|
+
/**
|
|
737
|
+
* Instead of `expiredText` and `expiredNote` when the invoice expired after Quasar could not confirm a payment it
|
|
738
|
+
* still reads again (not found, no receipt in time, replaced: the checkout store's `error.rechecked`), or while it
|
|
739
|
+
* reports a payment it reads again, which may still arrive: `{merchant}`. Quasar reads such a payment again for up
|
|
740
|
+
* to 24 hours after it learned of it (default: `Your payment could not be confirmed yet.
|
|
741
|
+
* Check your wallet: if the payment left it, Quasar checks it again for 24 hours. If it arrives, it is recorded and
|
|
742
|
+
* shown to {merchant}, who accepts it or returns it.`)
|
|
743
|
+
*/
|
|
744
|
+
expiredUnconfirmed: string;
|
|
745
|
+
/**
|
|
746
|
+
* Heading when Quasar could not confirm the payment on a payable invoice: it may still arrive, so the checkout offers
|
|
747
|
+
* no payment (default: `We could not confirm your payment`)
|
|
748
|
+
*/
|
|
749
|
+
unconfirmedTitle: string;
|
|
750
|
+
/** Its text (default: `Check your wallet before paying again: your payment may still be on its way.`) */
|
|
751
|
+
unconfirmedText: string;
|
|
752
|
+
/**
|
|
753
|
+
* Under it while Quasar still reads the payment again (the checkout store's `error.rechecked`): `{merchant}`.
|
|
754
|
+
* Quasar reads such a payment again for up to 24 hours after it learned of it (default: `Quasar checks your payment
|
|
755
|
+
* again for 24 hours. If it arrives, it is recorded and shown to {merchant}.`)
|
|
756
|
+
*/
|
|
757
|
+
unconfirmedNote: string;
|
|
758
|
+
/**
|
|
759
|
+
* Under it instead of `unconfirmedNote` when Quasar does not read the payment again (a relay operation lost,
|
|
760
|
+
* `transaction_failed`, a Quasar that does not say), and on the expired and cancelled outcomes after such a
|
|
761
|
+
* payment, next to its transaction: `{merchant}` (default: `Quasar does not check this payment again. If it left
|
|
762
|
+
* your wallet, contact {merchant} with the transaction hash.`)
|
|
763
|
+
*/
|
|
764
|
+
unconfirmedContact: string;
|
|
765
|
+
/**
|
|
766
|
+
* Instead of `unconfirmedContact` when the checkout gave up handing over a transaction the wallet sent (an hour
|
|
767
|
+
* without an answer): `{merchant}` (default: `Quasar did not receive this payment. If it left your wallet, contact
|
|
768
|
+
* {merchant} with the transaction hash.`)
|
|
769
|
+
*/
|
|
770
|
+
unconfirmedNotReceived: string;
|
|
771
|
+
/**
|
|
772
|
+
* Instead of `unconfirmedContact` when Quasar closed the payment with no result on chain within 24 hours
|
|
773
|
+
* (`unresolved_after_24h`), also on the pay and method steps: `{merchant}` (default: `Quasar did not find this
|
|
774
|
+
* payment on the network within 24 hours and no longer checks it. If it left your wallet, contact {merchant} with
|
|
775
|
+
* the transaction hash.`)
|
|
776
|
+
*/
|
|
777
|
+
unconfirmedClosed: string;
|
|
778
|
+
/**
|
|
779
|
+
* Under it instead of `unconfirmedNote` while the checkout hands over again a transaction the wallet sent, which
|
|
780
|
+
* Quasar has not received yet (default: `This page keeps handing your payment over to Quasar. Keep it open until the
|
|
781
|
+
* payment shows here.`)
|
|
782
|
+
*/
|
|
783
|
+
unconfirmedRetrying: string;
|
|
784
|
+
/**
|
|
785
|
+
* Instead of `unconfirmedText` and `unconfirmedNote`, and on the expired and cancelled outcomes, next to its
|
|
786
|
+
* transaction, when the page of another invoice handed the transaction over first (EVM invoices share the seller's
|
|
787
|
+
* address, so anyone who saw the hash may have done so): Quasar recorded this invoice's claim and credits the
|
|
788
|
+
* transaction to the invoice that the wallet that sent it confirmed, and the checkout offers no payment meanwhile:
|
|
789
|
+
* `{merchant}` (default: `This transaction was handed over for another invoice first. Quasar credits it to the
|
|
790
|
+
* invoice the wallet that sent it confirmed, and this page shows the result while it follows the payment. Do not pay
|
|
791
|
+
* again; if your payment does not show here, contact {merchant} with the transaction hash.`)
|
|
792
|
+
*/
|
|
793
|
+
unconfirmedTakenElsewhere: string;
|
|
794
|
+
unconfirmedInvoiceFull: string;
|
|
795
|
+
/**
|
|
796
|
+
* Instead of `unconfirmedText` and `unconfirmedNote`, and on the expired and cancelled outcomes, next to its
|
|
797
|
+
* transaction, when the network confirmed the payment but Quasar could not record it (`settlement_failed`) and
|
|
798
|
+
* does not say that it still tries: the money reached the seller's address, so the checkout offers no payment:
|
|
799
|
+
* `{merchant}` (default: `The network confirmed your payment, but Quasar has not recorded it. Do not pay again;
|
|
800
|
+
* contact {merchant} with the transaction hash.`)
|
|
801
|
+
*/
|
|
802
|
+
unconfirmedSettlementFailed: string;
|
|
803
|
+
/**
|
|
804
|
+
* Instead of `unconfirmedText` and `unconfirmedNote`, when the wallet used the number of the transaction for another one
|
|
805
|
+
* Quasar could not find (`nonce_spent_unexplained`): money may have left the wallet, so the checkout offers no payment.
|
|
806
|
+
* `{merchant}` (default: `Your wallet used the number of this transaction for another one, which Quasar could not find,
|
|
807
|
+
* so money may have left your wallet. Do not pay again yet. If you sped it up, name its hash below; otherwise contact
|
|
808
|
+
* {merchant} with this transaction hash.`)
|
|
809
|
+
*/
|
|
810
|
+
unconfirmedNonceSpent: string;
|
|
811
|
+
/**
|
|
812
|
+
* A payment a tracker saw on the network that was not mined for a day, which Quasar reads hourly for a week and records if
|
|
813
|
+
* it lands: `{merchant}` (default: `Quasar reads this payment for a week after it learned of it, and records it if it goes
|
|
814
|
+
* through. Check your wallet; if it left and you need help, contact {merchant} with this transaction hash.`)
|
|
815
|
+
*/
|
|
816
|
+
unconfirmedUnmined: string;
|
|
817
|
+
/**
|
|
818
|
+
* Instead of `unconfirmedSettlementFailed` while Quasar still settles the payment again daily (`rechecked`, for 30
|
|
819
|
+
* days after it learned of it): `{merchant}` (default: `The network confirmed your payment, but Quasar has not
|
|
820
|
+
* recorded it yet. Quasar tries again daily, for 30 days after it learned of the payment. Do not pay again; contact
|
|
821
|
+
* {merchant} with the transaction hash.`)
|
|
822
|
+
*/
|
|
823
|
+
unconfirmedSettlementRetrying: string;
|
|
824
|
+
/**
|
|
825
|
+
* On the expired and cancelled outcomes while this page follows a payment on its way (`followingUntil` of the
|
|
826
|
+
* checkout store): `{time}` (default: `This page follows the payment until {time}. Later, reload it to see the
|
|
827
|
+
* outcome.`)
|
|
828
|
+
*/
|
|
829
|
+
followingUntil: string;
|
|
830
|
+
/** Opens the field for the hash the wallet shows (default: `Does your wallet show another transaction?`) */
|
|
831
|
+
nameHash: string;
|
|
832
|
+
/** The name of that field (default: `Transaction hash`) */
|
|
833
|
+
nameHashField: string;
|
|
834
|
+
/** Its button (default: `Check this transaction`) */
|
|
835
|
+
nameHashSend: string;
|
|
836
|
+
/** The text is no transaction of the network of the payment (default: `This is not a transaction of this network.`) */
|
|
837
|
+
nameHashInvalid: string;
|
|
838
|
+
/** Quasar did not take it (default: `Quasar could not take this transaction. Contact the seller with its hash.`) */
|
|
839
|
+
nameHashRefused: string;
|
|
840
|
+
/**
|
|
841
|
+
* The button that goes back to the payment once the buyer checked the wallet (default: `The payment did not leave
|
|
842
|
+
* my wallet`)
|
|
843
|
+
*/
|
|
844
|
+
unconfirmedPayAgain: string;
|
|
845
|
+
/** Heading of a cancelled invoice (default: `This invoice was cancelled`) */
|
|
846
|
+
cancelledTitle: string;
|
|
847
|
+
/** Its text: `{merchant}` (default: `{merchant} cancelled it; nothing was charged.`) */
|
|
848
|
+
cancelledText: string;
|
|
849
|
+
/**
|
|
850
|
+
* Instead of `cancelledText` while a payment may still arrive (on its way, not confirmed yet, read again by Quasar),
|
|
851
|
+
* which Quasar records and holds for the seller: `{merchant}` (default: `{merchant} cancelled it. If your payment
|
|
852
|
+
* arrives, it is recorded and shown to {merchant}, who accepts it or returns it.`)
|
|
853
|
+
*/
|
|
854
|
+
cancelledWhilePaying: string;
|
|
855
|
+
/**
|
|
856
|
+
* Instead of `cancelledText` when the invoice was cancelled after the checkout showed a QR code, which the buyer may
|
|
857
|
+
* have paid with from a phone: `{merchant}` (default: `{merchant} cancelled it. If you paid with the QR code,
|
|
858
|
+
* {merchant} accepts the payment when it arrives or returns it.`)
|
|
859
|
+
*/
|
|
860
|
+
cancelledAfterQr: string;
|
|
861
|
+
/** Heading of a corrected invoice: `{merchant}` (default: `{merchant} corrected this invoice`) */
|
|
862
|
+
replacedTitle: string;
|
|
863
|
+
/** Its text: `{number}` of the new invoice (default: `{number} replaces it. This invoice can no longer be paid.`) */
|
|
864
|
+
replacedText: string;
|
|
865
|
+
/** Under it (default: `Already paid? Your payment moved to the new invoice.`) */
|
|
866
|
+
replacedPaid: string;
|
|
867
|
+
/** Opens the new invoice: `{number}` (default: `Open {number}`) */
|
|
868
|
+
openReplacement: string;
|
|
869
|
+
/** Heading when the wallet check refused the payer (default: `This wallet can't pay this invoice`) */
|
|
870
|
+
blockedTitle: string;
|
|
871
|
+
/** Its text: `{merchant}` */
|
|
872
|
+
blockedText: string;
|
|
873
|
+
/** Button that connects another wallet (default: `Use another wallet`) */
|
|
874
|
+
useAnotherWallet: string;
|
|
875
|
+
/** Contacts the seller: `{merchant}` (default: `Contact {merchant}`) */
|
|
876
|
+
contact: string;
|
|
877
|
+
/** Subject of the email to the seller: `{number}` (default: `Invoice {number}`) */
|
|
878
|
+
contactSubject: string;
|
|
879
|
+
};
|
|
880
|
+
/** The question when the buyer closes the checkout before a transaction is sent. */
|
|
881
|
+
leave: {
|
|
882
|
+
/** Heading (default: `Leave the checkout?`) */
|
|
883
|
+
title: string;
|
|
884
|
+
/** Its text: `{date}` */
|
|
885
|
+
text: string;
|
|
886
|
+
/** Its text without a deadline */
|
|
887
|
+
textNoDate: string;
|
|
888
|
+
/** About the locked price (default: `The locked price is released; you get a new one when you come back.`) */
|
|
889
|
+
price: string;
|
|
890
|
+
/** Keeps the checkout open (default: `Stay and pay`) */
|
|
891
|
+
stay: string;
|
|
892
|
+
/** Closes it (default: `Leave`) */
|
|
893
|
+
leave: string;
|
|
894
|
+
};
|
|
895
|
+
/** The order panel: the seller, the deadline, the lines and the total. */
|
|
896
|
+
summary: {
|
|
897
|
+
/** Badge of a test invoice (default: `Test`) */
|
|
898
|
+
test: string;
|
|
899
|
+
/** Accessible description of the test badge */
|
|
900
|
+
testHint: string;
|
|
901
|
+
/** Button that shows the seller details (default: `Seller details`) */
|
|
902
|
+
sellerDetails: string;
|
|
903
|
+
/** Company number of the seller (default: `Company number`) */
|
|
904
|
+
registration: string;
|
|
905
|
+
/** Tax number of the seller (default: `VAT ID`) */
|
|
906
|
+
taxId: string;
|
|
907
|
+
/** Link to the merchant's terms (default: `Terms`) */
|
|
908
|
+
terms: string;
|
|
909
|
+
/** Link to the merchant's refund policy (default: `Refund policy`) */
|
|
910
|
+
refundPolicy: string;
|
|
911
|
+
/** Link to the merchant's privacy notice (default: `Privacy`) */
|
|
912
|
+
privacy: string;
|
|
913
|
+
/** What Quasar is and is not; `{seller}` is the seller's name */
|
|
914
|
+
sellerRole: string;
|
|
915
|
+
/** Above the countdown, which also shows while the payment confirms (default: `Payment deadline`) */
|
|
916
|
+
payWithin: string;
|
|
917
|
+
/**
|
|
918
|
+
* Instead of it once the rest of an underpaid invoice cannot be paid: the time still runs until the invoice closes,
|
|
919
|
+
* and then the seller can refund what arrived (default: `Refund possible after`)
|
|
920
|
+
*/
|
|
921
|
+
refundAfter: string;
|
|
922
|
+
/** Under the countdown; `{date}` is the deadline (default: `until {date}`) */
|
|
923
|
+
until: string;
|
|
924
|
+
/** Announced 10 and 5 minutes before the deadline; `{minutes}` (default: `{minutes} minutes left to pay`) */
|
|
925
|
+
minutesLeft: string;
|
|
926
|
+
/** Announced a minute before the deadline (default: `1 minute left to pay`) */
|
|
927
|
+
oneMinuteLeft: string;
|
|
928
|
+
/** Label of the invoice number (default: `Invoice`) */
|
|
929
|
+
invoice: string;
|
|
930
|
+
/** Quantity and unit price of a line: `{quantity}`, `{price}` (default: `{quantity} × {price}`) */
|
|
931
|
+
quantity: string;
|
|
932
|
+
/** Sum of the lines before tax (default: `Subtotal`) */
|
|
933
|
+
subtotal: string;
|
|
934
|
+
/** Tax row; `{rate}` is the rate when all lines share one (default: `VAT {rate}%`) */
|
|
935
|
+
taxRate: string;
|
|
936
|
+
/** Tax row when the lines have different rates (default: `VAT`) */
|
|
937
|
+
tax: string;
|
|
938
|
+
/** Total row (default: `Total`) */
|
|
939
|
+
total: string;
|
|
940
|
+
/** Under the order (default: `Secured by Quasar`) */
|
|
941
|
+
secured: string;
|
|
942
|
+
/** Before the seller's support email (default: `Help`) */
|
|
943
|
+
help: string;
|
|
944
|
+
/**
|
|
945
|
+
* On a phone: the number of lines and the tax; `{count}`, `{tax}` (default: `{count} items · incl. VAT {tax}`).
|
|
946
|
+
* Used when the plural rule of the language does not pick `one` for the count.
|
|
947
|
+
*/
|
|
948
|
+
compact: string;
|
|
949
|
+
/**
|
|
950
|
+
* On a phone, when the plural rule of the language picks `one` for the number of lines (1; in Ukrainian
|
|
951
|
+
* also 21, 31…); `{count}`, `{tax}` (default: `{count} item · incl. VAT {tax}`)
|
|
952
|
+
*/
|
|
953
|
+
compactOne: string;
|
|
954
|
+
/** On a phone, for an invoice without tax; `{count}` (default: `{count} items`). Picked as `compact` is. */
|
|
955
|
+
compactNoTax: string;
|
|
956
|
+
/** On a phone, for an invoice without tax, as `compactOne` is picked; `{count}` (default: `{count} item`) */
|
|
957
|
+
compactNoTaxOne: string;
|
|
958
|
+
/** On a phone: button that shows the order (default: `Details`) */
|
|
959
|
+
showOrder: string;
|
|
960
|
+
};
|
|
961
|
+
/** A refund the merchant sends from a wallet (`RefundButton`). */
|
|
962
|
+
refund: {
|
|
963
|
+
/** The button that opens the refund (default: `Refund`) */
|
|
964
|
+
button: string;
|
|
965
|
+
/** Title of the window; `{invoice}` is the invoice number (default: `Refund {invoice}`) */
|
|
966
|
+
title: string;
|
|
967
|
+
/** Heading of the amount step (default: `What to refund`) */
|
|
968
|
+
amountTitle: string;
|
|
969
|
+
/** Option: an amount of the invoice currency (default: `An amount`) */
|
|
970
|
+
modeFiat: string;
|
|
971
|
+
/** Under that option; `{currency}` (default: `In {currency}, converted at the rate of now`) */
|
|
972
|
+
modeFiatText: string;
|
|
973
|
+
/** Option: the tokens the payment brought (default: `Everything received`) */
|
|
974
|
+
modeExact: string;
|
|
975
|
+
/** Under that option (default: `The tokens the payment brought, as they are`) */
|
|
976
|
+
modeExactText: string;
|
|
977
|
+
/** Label of the amount; `{currency}` (default: `Amount, {currency}`) */
|
|
978
|
+
amount: string;
|
|
979
|
+
/** Under the amount; `{amount}` is what is left to refund (default: `Up to {amount}`) */
|
|
980
|
+
amountHint: string;
|
|
981
|
+
/** Label of the reason (default: `Reason (optional)`) */
|
|
982
|
+
reason: string;
|
|
983
|
+
/** Button of the amount step (default: `Continue`) */
|
|
984
|
+
continue: string;
|
|
985
|
+
/** Heading when the price moved since the payment (default: `The price has moved`) */
|
|
986
|
+
movedTitle: string;
|
|
987
|
+
/** Why this amount takes another number of tokens: `{symbol}` */
|
|
988
|
+
movedText: string;
|
|
989
|
+
/** Row of what the refund sends (default: `This refund sends`) */
|
|
990
|
+
movedSend: string;
|
|
991
|
+
/** Row of the amount at the rate of the payment (default: `At the rate of the payment`) */
|
|
992
|
+
movedAtPayment: string;
|
|
993
|
+
/** Row of what the payment brought (default: `The payment brought`) */
|
|
994
|
+
movedReceived: string;
|
|
995
|
+
/** How to return the tokens as they came: `{exact}`, the name of that choice */
|
|
996
|
+
movedExact: string;
|
|
997
|
+
/** Goes on with the amount (default: `Continue with this amount`) */
|
|
998
|
+
movedContinue: string;
|
|
999
|
+
/** Goes back to the amount (default: `Back`) */
|
|
1000
|
+
movedBack: string;
|
|
1001
|
+
/** While Quasar prices the refund (default: `Asking Quasar for the refund…`) */
|
|
1002
|
+
requesting: string;
|
|
1003
|
+
/** Heading of the wallet step (default: `Connect a wallet`) */
|
|
1004
|
+
connectTitle: string;
|
|
1005
|
+
/** Text of the wallet step; `{network}`, `{symbol}` (default: `The refund goes out on {network}, the network of the payment. Any wallet that holds {symbol} there can send it.`) */
|
|
1006
|
+
connectText: string;
|
|
1007
|
+
/** Button of the wallet step (default: `Connect wallet`) */
|
|
1008
|
+
connect: string;
|
|
1009
|
+
/** The page cannot connect a wallet (default: `This page can't connect a wallet. Send the refund from your wallet, then record it.`) */
|
|
1010
|
+
connectUnavailable: string;
|
|
1011
|
+
/** Heading of the confirm step (default: `Confirm the refund`) */
|
|
1012
|
+
confirmTitle: string;
|
|
1013
|
+
/** Row: what is sent (default: `Send`) */
|
|
1014
|
+
send: string;
|
|
1015
|
+
/** Its value; `{amount}`, `{network}` (default: `{amount} on {network}`) */
|
|
1016
|
+
/** Row: the recipient (default: `To`) */
|
|
1017
|
+
to: string;
|
|
1018
|
+
/** After the recipient (default: `the payer`) */
|
|
1019
|
+
thePayer: string;
|
|
1020
|
+
/** After the recipient of the refund of a held transfer (default: `the sender of this transfer`) */
|
|
1021
|
+
theSender: string;
|
|
1022
|
+
/** Row: the sending wallet (default: `From`) */
|
|
1023
|
+
from: string;
|
|
1024
|
+
/** Under the sending wallet; `{amount}` (default: `Holds {amount}`) */
|
|
1025
|
+
balance: string;
|
|
1026
|
+
/** Row: the network fee (default: `Network fee`) */
|
|
1027
|
+
networkFee: string;
|
|
1028
|
+
/** Its value; `{amount}` (default: `≈ {amount} · from your wallet`) */
|
|
1029
|
+
feeEstimate: string;
|
|
1030
|
+
/** Button that sends the refund (default: `Send refund`) */
|
|
1031
|
+
sendRefund: string;
|
|
1032
|
+
/** Button when the wallet is on another network; `{network}` (default: `Switch to {network}`) */
|
|
1033
|
+
switchTo: string;
|
|
1034
|
+
/** While the wallet asks; `{wallet}` (default: `Confirm in {wallet}`) */
|
|
1035
|
+
walletTitle: string;
|
|
1036
|
+
/** Under it; `{amount}`, `{network}` (default: `Confirm the transfer of {amount} on {network}.`) */
|
|
1037
|
+
walletText: string;
|
|
1038
|
+
/** While the wallet switches network; `{wallet}` (default: `Approve the switch in {wallet}`) */
|
|
1039
|
+
switchTitle: string;
|
|
1040
|
+
/** While Quasar takes the transaction (default: `Handing the refund to Quasar…`) */
|
|
1041
|
+
submitting: string;
|
|
1042
|
+
/** Heading while the network confirms it (default: `On its way`) */
|
|
1043
|
+
onItsWay: string;
|
|
1044
|
+
/** Row: status (default: `Status`) */
|
|
1045
|
+
status: string;
|
|
1046
|
+
/** Status: pending (default: `Pending`) */
|
|
1047
|
+
pending: string;
|
|
1048
|
+
/** Row: the transaction (default: `Transaction`) */
|
|
1049
|
+
transaction: string;
|
|
1050
|
+
/** Row: the network (default: `Network`) */
|
|
1051
|
+
network: string;
|
|
1052
|
+
/** Its value; `{network}` (default: `{network} · waiting for confirmation`) */
|
|
1053
|
+
waiting: string;
|
|
1054
|
+
/** Note while it is confirmed (default: `You can close this window: the invoice shows how the refund goes.`) */
|
|
1055
|
+
canClose: string;
|
|
1056
|
+
/** Heading once confirmed (default: `Refunded`) */
|
|
1057
|
+
refunded: string;
|
|
1058
|
+
/** Row: the credit note (default: `Credit note`) */
|
|
1059
|
+
creditNote: string;
|
|
1060
|
+
/** Button that closes the window once refunded (default: `Done`) */
|
|
1061
|
+
done: string;
|
|
1062
|
+
/** Heading when the transaction failed (default: `The refund failed`) */
|
|
1063
|
+
/** Under the heading when part of the refund reached the buyer: asking again sends only what is missing. */
|
|
1064
|
+
failedShort: string;
|
|
1065
|
+
failedTitle: string;
|
|
1066
|
+
/** Heading when the merchant took the refund back before it was sent (default: `You took the refund back`). */
|
|
1067
|
+
failedWithdrawnTitle: string;
|
|
1068
|
+
/** Heading when the merchant cancelled the refund in the wallet (default: `You cancelled the refund`). */
|
|
1069
|
+
failedCancelledTitle: string;
|
|
1070
|
+
/** The refund's own transaction cannot settle it (`over_limit`, `tx_of_another_refund`). */
|
|
1071
|
+
failedByHand: string;
|
|
1072
|
+
/** Under it; `{network}` (default: `The transaction failed on {network}; only the network fee was spent. Send the refund again.`) */
|
|
1073
|
+
failedText: string;
|
|
1074
|
+
/** Why it failed: `refund_from_buyer` (the wallet it goes to, or one that paid, sent it). */
|
|
1075
|
+
failedFromBuyer: string;
|
|
1076
|
+
/** Why it failed: `transaction_failed` (not found in time, or replaced). */
|
|
1077
|
+
failedNotFound: string;
|
|
1078
|
+
/** Why it failed: `dropped` (not on the network). */
|
|
1079
|
+
failedDropped: string;
|
|
1080
|
+
/** Why it failed: `too_early` (older than the payment). */
|
|
1081
|
+
failedTooEarly: string;
|
|
1082
|
+
/** Why it failed: `no_matching_transfer` (it sent nothing to the recipient). */
|
|
1083
|
+
failedNoTransfer: string;
|
|
1084
|
+
/** Why it failed: `withdrawn` (taken back before it was sent). */
|
|
1085
|
+
failedWithdrawn: string;
|
|
1086
|
+
/** Why it failed: `cancelled` (cancelled in the wallet, in a block not final yet: a reorganization may bring it back). */
|
|
1087
|
+
failedCancelling: string;
|
|
1088
|
+
/** Why it failed: `cancelled_final` (cancelled in the wallet, in a final block: nothing can arrive). */
|
|
1089
|
+
failedCancelled: string;
|
|
1090
|
+
/** Why it failed: `resend_confirmed` (the merchant confirmed that it did not leave the wallet). */
|
|
1091
|
+
failedResendConfirmed: string;
|
|
1092
|
+
/** After the failure of a held transfer's refund (default: `The transfer stays held. Close this window: its row says what to do next.`) */
|
|
1093
|
+
failedHeldNote: string;
|
|
1094
|
+
/** Heading of a refund the wallet did not send (default: `Not sent`) */
|
|
1095
|
+
notSent: string;
|
|
1096
|
+
/** The wallet holds too little; `{symbol}`, `{address}`, `{balance}` (default: `Not enough {symbol} on {address}: it holds {balance}.`) */
|
|
1097
|
+
notEnough: string;
|
|
1098
|
+
/** The merchant declined in the wallet; `{wallet}` (default: `You declined the request in {wallet}.`) */
|
|
1099
|
+
declined: string;
|
|
1100
|
+
/** The wallet cannot send it; `{wallet}` (default: `{wallet} can't send this refund.`) */
|
|
1101
|
+
unsupported: string;
|
|
1102
|
+
/** The wallet sent it on another network; `{wallet}`, `{network}` (default: `{wallet} is on another network, so nothing was sent. Switch it to {network} and send again.`) */
|
|
1103
|
+
wrongNetwork: string;
|
|
1104
|
+
/** The wallet failed (default: `The wallet did not send the refund. Try again.`) */
|
|
1105
|
+
failed: string;
|
|
1106
|
+
/** Quasar does not know the payer (default: `The payer's wallet is not known, so this refund can't be sent from here.`) */
|
|
1107
|
+
noRecipient: string;
|
|
1108
|
+
/** Quasar did not answer: the window sent nothing (default: `Quasar does not answer, so nothing was sent. Try again in a moment.`) */
|
|
1109
|
+
unreachable: string;
|
|
1110
|
+
/** Refused: `amount_exceeds_refundable` (default: `The amount is more than what is left to refund.`) */
|
|
1111
|
+
refusedAmount: string;
|
|
1112
|
+
/** Refused: the payment cannot be refunded any more (default: `This payment cannot be refunded any more.`) */
|
|
1113
|
+
refusedNotRefundable: string;
|
|
1114
|
+
/** Refused: `held_refund_must_be_whole` (default: `A held transfer is returned whole.`) */
|
|
1115
|
+
refusedWhole: string;
|
|
1116
|
+
/** Refused: `sender_blocked` (default: `A compliance check blocks the wallet to refund. Nothing can be sent to it.`) */
|
|
1117
|
+
refusedBlocked: string;
|
|
1118
|
+
/** Refused: `refund_not_waiting` (default: `This refund no longer waits for a transaction. Nothing was sent.`) */
|
|
1119
|
+
refusedNotWaiting: string;
|
|
1120
|
+
/** Refused: `refund_may_have_landed` (default: `An earlier transaction of this refund may have gone through. Check it before asking again.`) */
|
|
1121
|
+
refusedMayHaveLanded: string;
|
|
1122
|
+
/** Refused: the price cannot be read (default: `The price cannot be read right now. Try again in a moment.`) */
|
|
1123
|
+
refusedPrice: string;
|
|
1124
|
+
/** Refused: `mainnet_disabled_on_node` (default: `This node accepts test networks only.`) */
|
|
1125
|
+
refusedTestOnly: string;
|
|
1126
|
+
/** Refused for a reason this package does not name (default: `Quasar refused this refund. Nothing was sent.`) */
|
|
1127
|
+
refusedOther: string;
|
|
1128
|
+
/** A refund on its way for a while (default: `Quasar has not seen this transaction land yet. If your wallet shows another hash, because it was sped up or cancelled there, record that one.`) */
|
|
1129
|
+
slowNote: string;
|
|
1130
|
+
/** Under a refusal: nothing went out (default: `Nothing was sent: the refund waits for its transaction.`) */
|
|
1131
|
+
nothingSent: string;
|
|
1132
|
+
/** The wallet sent it, Quasar did not take it (default: `The refund was sent, but Quasar hasn't taken its transaction yet. Hand it over again: nothing is sent twice.`) */
|
|
1133
|
+
notHandedOver: string;
|
|
1134
|
+
/** Button that hands the transaction over again (default: `Hand it over again`) */
|
|
1135
|
+
handOver: string;
|
|
1136
|
+
/** Button of the other way: record a refund sent elsewhere (default: `Record refund`) */
|
|
1137
|
+
record: string;
|
|
1138
|
+
/** Note of that button (default: `Sent it another way? Record the refund with its transaction: Quasar checks it on-chain.`) */
|
|
1139
|
+
recordHint: string;
|
|
1140
|
+
/** Button that closes the window (default: `Close`) */
|
|
1141
|
+
close: string;
|
|
1142
|
+
/** Title of the transaction in Pulsar; `{invoice}` (default: `Refund of {invoice}`) */
|
|
1143
|
+
txTitle: string;
|
|
1144
|
+
/** Its description; `{amount}` (default: `{amount} to the payer`) */
|
|
1145
|
+
txDescription: string;
|
|
1146
|
+
/** Its description for the refund of a held transfer; `{amount}` (default: `{amount} to the sender of the transfer`) */
|
|
1147
|
+
txDescriptionSender: string;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* The languages of the checkout, the six of Quasar documents, with their names in themselves: the
|
|
1153
|
+
* language menu shows `name` with its own `lang`, so a reader finds their language whatever the page shows.
|
|
1154
|
+
*/
|
|
1155
|
+
declare const CHECKOUT_LOCALES: readonly [{
|
|
1156
|
+
readonly code: "en";
|
|
1157
|
+
readonly name: "English";
|
|
1158
|
+
readonly short: "EN";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly code: "uk";
|
|
1161
|
+
readonly name: "Українська";
|
|
1162
|
+
readonly short: "UK";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly code: "zh-CN";
|
|
1165
|
+
readonly name: "简体中文";
|
|
1166
|
+
readonly short: "ZH";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly code: "es";
|
|
1169
|
+
readonly name: "Español";
|
|
1170
|
+
readonly short: "ES";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly code: "it";
|
|
1173
|
+
readonly name: "Italiano";
|
|
1174
|
+
readonly short: "IT";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly code: "de";
|
|
1177
|
+
readonly name: "Deutsch";
|
|
1178
|
+
readonly short: "DE";
|
|
1179
|
+
}];
|
|
1180
|
+
/** A language of the checkout: a BCP 47 tag of {@link CHECKOUT_LOCALES}. */
|
|
1181
|
+
type CheckoutLocale = (typeof CHECKOUT_LOCALES)[number]['code'];
|
|
1182
|
+
/**
|
|
1183
|
+
* Whether the labels of a language are at hand: always for English and for a language the package does not have
|
|
1184
|
+
* (both get English), for the other languages of {@link CHECKOUT_LOCALES} once {@link loadLabels} has loaded them.
|
|
1185
|
+
*
|
|
1186
|
+
* @param locale - A language.
|
|
1187
|
+
* @returns `true` when {@link labelsForLocale} gives the labels of the language.
|
|
1188
|
+
*/
|
|
1189
|
+
declare function hasLabels(locale: string | null | undefined): boolean;
|
|
1190
|
+
/**
|
|
1191
|
+
* The built-in labels of a language, as far as they are loaded.
|
|
1192
|
+
*
|
|
1193
|
+
* @param locale - A language of the checkout; anything else gets English.
|
|
1194
|
+
* @returns The labels: English for a language the package does not have, or whose labels are not loaded yet (see
|
|
1195
|
+
* {@link loadLabels}).
|
|
1196
|
+
*/
|
|
1197
|
+
declare function labelsForLocale(locale: string | null | undefined): NovaPaymentsLabels;
|
|
1198
|
+
/**
|
|
1199
|
+
* Loads the built-in labels of a language. Each language but English is a separate file that the page downloads the
|
|
1200
|
+
* first time it is asked for; the labels stay in memory for the page.
|
|
1201
|
+
*
|
|
1202
|
+
* @param locale - A language of the checkout; anything else gets English without loading anything.
|
|
1203
|
+
* @returns The labels. A file that fails to load (the network dropped) leaves the language in English until the page
|
|
1204
|
+
* reloads.
|
|
1205
|
+
*/
|
|
1206
|
+
declare function loadLabels(locale: string | null | undefined): Promise<NovaPaymentsLabels>;
|
|
1207
|
+
/** Labels with some texts of some groups left out, as `labels` of `NovaPaymentsProvider` takes them. */
|
|
1208
|
+
type NovaPaymentsLabelOverrides = {
|
|
1209
|
+
[Group in keyof NovaPaymentsLabels]?: Partial<NovaPaymentsLabels[Group]>;
|
|
1210
|
+
};
|
|
1211
|
+
/**
|
|
1212
|
+
* Applies overrides to labels group by group: a group without overrides stays the same object.
|
|
1213
|
+
*
|
|
1214
|
+
* @param labels - The labels of a language.
|
|
1215
|
+
* @param overrides - Texts to replace.
|
|
1216
|
+
* @returns The labels with the overrides.
|
|
1217
|
+
*/
|
|
1218
|
+
declare function mergeLabels(labels: NovaPaymentsLabels, overrides: NovaPaymentsLabelOverrides | undefined): NovaPaymentsLabels;
|
|
1219
|
+
|
|
1220
|
+
export { CHECKOUT_LOCALES as C, loadLabels as c, hasLabels as h, labelsForLocale as l, mergeLabels as m };
|
|
1221
|
+
export type { NovaPaymentsLabels as N, CheckoutLocale as a, NovaPaymentsLabelOverrides as b };
|