mirror of
https://github.com/mempool/mempool.git
synced 2025-09-25 21:47:16 +02:00
Merge pull request #5911 from mempool/nymkappa/click-here
fix copy, add missing error string
This commit is contained in:
@@ -591,7 +591,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@if (accelerationResponse?.receiptUrl) {
|
@if (accelerationResponse?.receiptUrl) {
|
||||||
<div class="d-flex flex-row justify-content-center align-items-center">
|
<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>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
@@ -33,6 +33,8 @@ export const MempoolErrors = {
|
|||||||
'faucet_above_maximum': `Requested amount is too high`,
|
'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': `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`,
|
'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 };
|
} as { [error: string]: string };
|
||||||
|
|
||||||
export function isMempoolError(error: string) {
|
export function isMempoolError(error: string) {
|
||||||
|
Reference in New Issue
Block a user