From aaf4ffc9411d394897c72f39c132ee24cee28013 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 7 May 2024 12:46:31 -0300 Subject: fix codespell --- README | 6 +- packages/aml-backoffice-ui/src/pages/Cases.tsx | 2 +- packages/aml-backoffice-ui/src/stories.test.ts | 2 +- packages/aml-backoffice-ui/src/stories.tsx | 2 +- .../bank-ui/src/pages/PaytoWireTransferForm.tsx | 72 ---------------------- packages/bank-ui/src/pages/RegistrationPage.tsx | 2 +- .../src/pages/account/ShowAccountDetails.tsx | 2 +- .../bank-ui/src/pages/admin/CreateNewAccount.tsx | 2 +- packages/taler-wallet-core/src/db.ts | 2 +- packages/web-util/src/forms/ui-form.ts | 4 +- packages/web-util/src/forms/useField.ts | 2 +- 11 files changed, 13 insertions(+), 85 deletions(-) diff --git a/README b/README index 54626f0de..85c12e7e2 100644 --- a/README +++ b/README @@ -14,12 +14,12 @@ The following dependencies are required to build the wallet: - pnpm - zip -## Prepraring the repository +## Preparing the repository -After running clone you should boostrap the repository. +After running clone you should bootstrap the repository. ```shell -./boostrap +./bootstrap ``` ## Installation diff --git a/packages/aml-backoffice-ui/src/pages/Cases.tsx b/packages/aml-backoffice-ui/src/pages/Cases.tsx index 3a7fc89f2..f66eca33f 100644 --- a/packages/aml-backoffice-ui/src/pages/Cases.tsx +++ b/packages/aml-backoffice-ui/src/pages/Cases.tsx @@ -238,7 +238,7 @@ export function Cases() { - This account doesnt have access. Request account activation + This account doesn't have access. Request account activation sending your public key. diff --git a/packages/aml-backoffice-ui/src/stories.test.ts b/packages/aml-backoffice-ui/src/stories.test.ts index a4f32cf43..265a2165b 100644 --- a/packages/aml-backoffice-ui/src/stories.test.ts +++ b/packages/aml-backoffice-ui/src/stories.test.ts @@ -71,7 +71,7 @@ function DefaultTestingContext({ const value: ExchangeContextType = { cancelRequest: () => null, config, - url: new URL("/", "http://locahost"), + url: new URL("/", "http://localhost"), hints: [], lib: { exchange: undefined!, //FIXME: mock diff --git a/packages/aml-backoffice-ui/src/stories.tsx b/packages/aml-backoffice-ui/src/stories.tsx index a66396696..9a23d82fa 100644 --- a/packages/aml-backoffice-ui/src/stories.tsx +++ b/packages/aml-backoffice-ui/src/stories.tsx @@ -60,7 +60,7 @@ function getWrapperForGroup(): FunctionComponent { const value: ExchangeContextType = { cancelRequest: () => null, config, - url: new URL("/", "http://locahost"), + url: new URL("/", "http://localhost"), hints: [], lib: { exchange: undefined!, //FIXME: mock diff --git a/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx index dfea7166b..3bf891504 100644 --- a/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx +++ b/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx @@ -290,78 +290,6 @@ export function PaytoWireTransferForm({ return (
- {/*
-
- - - {sendingToFixedAccount ? undefined : ( - - )} - {routeCashout ? ( - - Cashout - - ) : undefined} -
-
*/} -
diff --git a/packages/bank-ui/src/pages/RegistrationPage.tsx b/packages/bank-ui/src/pages/RegistrationPage.tsx index 897a02efa..61939c3d6 100644 --- a/packages/bank-ui/src/pages/RegistrationPage.tsx +++ b/packages/bank-ui/src/pages/RegistrationPage.tsx @@ -141,7 +141,7 @@ function RegistrationForm({ case TalerErrorCode.BANK_NON_ADMIN_PATCH_DEBT_LIMIT: return i18n.str`Only admin is allow to set debt limit.`; case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: - return i18n.str`Only the administrator can change the minimun cashout limit.`; + return i18n.str`Only the administrator can change the minimum cashout limit.`; case TalerErrorCode.BANK_NON_ADMIN_SET_TAN_CHANNEL: return i18n.str`Only admin can create accounts with second factor authentication.`; } diff --git a/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx b/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx index 7118da704..6db0e5512 100644 --- a/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx +++ b/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx @@ -186,7 +186,7 @@ export function ShowAccountDetails({ case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: { return notify({ type: "error", - title: i18n.str`Only the administrator can change the minimun cashout limit.`, + title: i18n.str`Only the administrator can change the minimum cashout limit.`, description: resp.detail.hint as TranslatedString, debug: resp.detail, when: AbsoluteTime.now(), diff --git a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx index 3898088ed..68f39fb9f 100644 --- a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx +++ b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx @@ -149,7 +149,7 @@ export function CreateNewAccount({ case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: { return notify({ type: "error", - title: i18n.str`Only the administrator can change the minimun cashout limit.`, + title: i18n.str`Only the administrator can change the minimum cashout limit.`, description: resp.detail.hint as TranslatedString, debug: resp.detail, when: AbsoluteTime.now(), diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 1edafb315..b75e48c39 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -351,7 +351,7 @@ export enum WithdrawalGroupStatus { /** * Another wallet confirmed the withdrawal - * (by POSTing the reseve pub to the bank) + * (by POSTing the reserve pub to the bank) * before we had the chance. * * In this situation, we'll let the other wallet continue diff --git a/packages/web-util/src/forms/ui-form.ts b/packages/web-util/src/forms/ui-form.ts index 212efd506..ef9ad96e1 100644 --- a/packages/web-util/src/forms/ui-form.ts +++ b/packages/web-util/src/forms/ui-form.ts @@ -166,7 +166,7 @@ export type UIFieldBaseDescription = { /* name of the field, useful for a11y */ name: string; - /* if the field should be initialy hidden */ + /* if the field should be initially hidden */ hidden?: boolean; /* ui element to show before */ addonBeforeId?: string; @@ -184,7 +184,7 @@ export type UIFormFieldBaseConfig = UIFieldBaseDescription & { /* readonly and dim */ disabled?: boolean; - /* conversion id to conver the string into the value type + /* conversion id to convert the string into the value type the id should be known to the ui impl */ converterId?: string; diff --git a/packages/web-util/src/forms/useField.ts b/packages/web-util/src/forms/useField.ts index d30962c6f..a250d3100 100644 --- a/packages/web-util/src/forms/useField.ts +++ b/packages/web-util/src/forms/useField.ts @@ -10,7 +10,7 @@ export interface InputFieldHandler { } /** - * @depreacted removing this so we don't depend on context to create a form + * @deprecated removing this so we don't depend on context to create a form * @param name * @returns */ -- cgit v1.2.3