Merge pull request #5911 from mempool/nymkappa/click-here

fix copy, add missing error string
This commit is contained in:
nymkappa
2025-05-23 20:34:59 +02:00
committed by GitHub
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) {