diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-07 12:46:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-07 12:46:31 -0300 |
commit | aaf4ffc9411d394897c72f39c132ee24cee28013 (patch) | |
tree | 97d751464b38f7e062182ac791ce7c20ab627ccf | |
parent | 6fd830ad57fe12ce6acac453f523dcf00f71a5bb (diff) | |
download | wallet-core-aaf4ffc9411d394897c72f39c132ee24cee28013.tar.xz |
fix codespell
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | packages/aml-backoffice-ui/src/pages/Cases.tsx | 2 | ||||
-rw-r--r-- | packages/aml-backoffice-ui/src/stories.test.ts | 2 | ||||
-rw-r--r-- | packages/aml-backoffice-ui/src/stories.tsx | 2 | ||||
-rw-r--r-- | packages/bank-ui/src/pages/PaytoWireTransferForm.tsx | 72 | ||||
-rw-r--r-- | packages/bank-ui/src/pages/RegistrationPage.tsx | 2 | ||||
-rw-r--r-- | packages/bank-ui/src/pages/account/ShowAccountDetails.tsx | 2 | ||||
-rw-r--r-- | packages/bank-ui/src/pages/admin/CreateNewAccount.tsx | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 2 | ||||
-rw-r--r-- | packages/web-util/src/forms/ui-form.ts | 4 | ||||
-rw-r--r-- | packages/web-util/src/forms/useField.ts | 2 |
11 files changed, 13 insertions, 85 deletions
@@ -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() { <Fragment> <Attention type="danger" title={i18n.str`Operation denied`}> <i18n.Translate> - This account doesnt have access. Request account activation + This account doesn't have access. Request account activation sending your public key. </i18n.Translate> </Attention> 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 ( <div class="grid grid-cols-1 gap-x-8 gap-y-8 pt-6 my-4 md:grid-cols-3 bg-gray-100 px-4 pb-4 rounded-lg"> - {/* <div class=""> - <div class="px-2 grid grid-cols-1 gap-y-4 sm:gap-x-4"> - <label - class={ - "relative flex cursor-pointer rounded-lg border bg-white p-4 shadow-sm focus:outline-none" + - (!isRawPayto - ? "border-indigo-600 ring-2 ring-indigo-600" - : "border-gray-300") - } - > - <input - type="radio" - name="project-type" - value="Newsletter" - class="sr-only" - aria-labelledby="project-type-0-label" - aria-describedby="project-type-0-description-0 project-type-0-description-1" - onChange={() => { - setIsRawPayto(false); - }} - /> - <span class="flex flex-1"> - <span class="flex flex-col"> - <span class="block text-sm font-medium text-gray-900"> - <i18n.Translate>Using a form</i18n.Translate> - </span> - </span> - </span> - </label> - - {sendingToFixedAccount ? undefined : ( - <label - class={ - "relative flex cursor-pointer rounded-lg border bg-white p-4 shadow-sm focus:outline-none" + - (isRawPayto - ? "border-indigo-600 ring-2 ring-indigo-600" - : "border-gray-300") - } - > - <input - type="radio" - name="project-type" - value="Existing Customers" - class="sr-only" - aria-labelledby="project-type-1-label" - aria-describedby="project-type-1-description-0 project-type-1-description-1" - onChange={() => { - - setIsRawPayto(true); - }} - /> - <span class="flex flex-1"> - <span class="flex flex-col"> - <span class="block text-sm font-medium text-gray-900"> - <i18n.Translate>Import payto:// URI</i18n.Translate> - </span> - </span> - </span> - </label> - )} - {routeCashout ? ( - <a - name="do cashout" - href={routeCashout.url({})} - class="bg-white p-4 rounded-lg text-sm font-semibold leading-6 text-gray-900" - > - <i18n.Translate>Cashout</i18n.Translate> - </a> - ) : undefined} - </div> - </div> */} - <div> <fieldset class="px-2 grid grid-cols-1 gap-y-4 sm:gap-x-4"> <legend class="sr-only"> 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<Type> { } /** - * @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 */ |