fix copy, add missing error string

This commit is contained in:
nymkappa 2025-05-17 19:37:38 +02:00
parent cba4308447
commit 5a53368e15
No known key found for this signature in database
GPG key ID: E155910B16E8BD04
2 changed files with 3 additions and 1 deletions

View file

@ -591,7 +591,7 @@
</div>
@if (accelerationResponse?.receiptUrl) {
<div class="d-flex flex-row justify-content-center align-items-center">
<span i18n="accelerator.receipt-label"><a [href]="accelerationResponse.receiptUrl" target="_blank">Click here to get a receipt.</a></span>
<span i18n="accelerator.receipt-label"><a [href]="accelerationResponse.receiptUrl" target="_blank">Get a receipt.</a></span>
</div>
}
</div>

View file

@ -33,6 +33,8 @@ export const MempoolErrors = {
'faucet_above_maximum': `Requested amount is too high`,
'payment_method_not_allowed': `You are not allowed to use this payment method`,
'payment_method_not_allowed_out_of_bound': `You are not allowed to use this payment method with this amount`,
'invalid_credentials': `Invalid credentials`,
'forbidden': `You are not allowed to do this.`,
} as { [error: string]: string };
export function isMempoolError(error: string) {