From 1bba1cfeb138bb4ca899edc32621c7b9e9d93576 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Tue, 2 Apr 2024 11:35:03 +0800 Subject: [PATCH] [accelerator] deposit -> top up --- frontend/src/app/docs/api-docs/api-docs-data.ts | 10 +++++----- .../mempool-error/mempool-error.component.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/docs/api-docs/api-docs-data.ts b/frontend/src/app/docs/api-docs/api-docs-data.ts index e75254213..a05ecac17 100644 --- a/frontend/src/app/docs/api-docs/api-docs-data.ts +++ b/frontend/src/app/docs/api-docs/api-docs-data.ts @@ -10036,18 +10036,18 @@ export const restApiDocsData = [ type: "endpoint", category: "accelerator-private", httpRequestMethod: "GET", - fragment: "accelerator-deposit-history", - title: "GET Deposit History", + fragment: "accelerator-top-up-history", + title: "GET Top Up History", description: { - default: "

Returns a list of deposits the user has made as prepayment for the accelerator service.

" + default: "

Returns a list of top ups the user has made as prepayment for the accelerator service.

" }, - urlString: "/v1/services/accelerator/deposit-history", + urlString: "/v1/services/accelerator/top-up-history", showConditions: [""], showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { codeTemplate: { - curl: `/api/v1/services/accelerator/deposit-history`, + curl: `/api/v1/services/accelerator/top-up-history`, commonJS: ``, esModule: `` }, diff --git a/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts b/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts index 88e24bed2..ac5ac72a1 100644 --- a/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts +++ b/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts @@ -14,7 +14,7 @@ const MempoolErrors = { 'mempool_rejected_raw_tx': `Our mempool rejected this transaction`, 'no_mining_pool_available': `No mining pool available at the moment`, 'not_available': `You current subscription does not allow you to access this feature.`, - 'not_enough_balance': `Your account balance is too low. Please make a deposit.`, + 'not_enough_balance': `Your balance is too low. Please top up your account.`, 'not_verified': `You must verify your account to use this feature.`, 'recommended_fees_not_available': `Recommended fees are not available right now.`, 'too_many_relatives': `This transaction has too many relatives.`,