From 97cabcd1ee7bc034aef305e4ef66a520bb0fc055 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 29 Feb 2024 08:00:31 -0300 Subject: applying changes suggested by codespell --- packages/aml-backoffice-ui/src/forms/declaration.ts | 2 +- .../src/paths/instance/accounts/update/UpdatePage.tsx | 2 +- packages/demobank-ui/src/pages/admin/AccountList.tsx | 2 +- packages/demobank-ui/src/pages/admin/AdminHome.tsx | 8 ++++---- packages/demobank-ui/src/route.ts | 2 +- packages/idb-bridge/src/bridge-idb.ts | 2 +- packages/merchant-backoffice-ui/src/Application.tsx | 2 +- .../src/components/form/JumpToElementById.tsx | 4 ++-- .../src/paths/instance/accounts/update/UpdatePage.tsx | 2 +- .../src/paths/instance/orders/list/index.tsx | 2 +- .../src/paths/instance/products/list/index.tsx | 2 +- .../src/paths/instance/templates/list/index.tsx | 2 +- packages/taler-util/src/amounts.ts | 2 +- packages/taler-util/src/http-client/types.ts | 2 +- packages/taler-util/src/sha256.ts | 2 +- packages/taler-util/src/taler-error-codes.ts | 2 +- packages/taler-wallet-core/src/wallet.ts | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-) (limited to 'packages') diff --git a/packages/aml-backoffice-ui/src/forms/declaration.ts b/packages/aml-backoffice-ui/src/forms/declaration.ts index 345531fb1..ec3bc5189 100644 --- a/packages/aml-backoffice-ui/src/forms/declaration.ts +++ b/packages/aml-backoffice-ui/src/forms/declaration.ts @@ -22,7 +22,7 @@ import { AmlExchangeBackend } from "../utils/types.js"; * import entry point without hard reference. * * This file just export types and UI Forms - * based on what `globalThis` contiain. + * based on what `globalThis` contains. * * `./index.js` must be imported first before * so `globaThis` will have the correct value. diff --git a/packages/auditor-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx b/packages/auditor-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx index e0e0ba7ed..0d20879e8 100644 --- a/packages/auditor-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx +++ b/packages/auditor-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx @@ -61,7 +61,7 @@ export function UpdatePage({ account, onUpdate, onBack }: Props): VNode { repeatPassword: state.credit_facade_credentials?.type !== "basic" ? undefined : !(state.credit_facade_credentials as any).repeatPassword ? i18n.str`required` : - (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesnt match` + (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesn't match` : undefined, }), }; diff --git a/packages/demobank-ui/src/pages/admin/AccountList.tsx b/packages/demobank-ui/src/pages/admin/AccountList.tsx index ee0cdb383..e0d368f04 100644 --- a/packages/demobank-ui/src/pages/admin/AccountList.tsx +++ b/packages/demobank-ui/src/pages/admin/AccountList.tsx @@ -96,7 +96,7 @@ export function AccountList({
{!accounts.length ? (
- {/* FIXME: ADDD empty list */} + {/* FIXME: ADD empty list */}
) : ( diff --git a/packages/demobank-ui/src/pages/admin/AdminHome.tsx b/packages/demobank-ui/src/pages/admin/AdminHome.tsx index 41486fd5b..2cdc39261 100644 --- a/packages/demobank-ui/src/pages/admin/AdminHome.tsx +++ b/packages/demobank-ui/src/pages/admin/AdminHome.tsx @@ -361,7 +361,7 @@ function Metrics({
Cashin
- Transfered from an external account to an account in this bank. + Transferred from an external account to an account in this bank.
Cashout
- Transfered from an account in this bank to an external account. + Transferred from an account in this bank to an external account.
Payin
- Transfered from an account to a Taler exchange. + Transferred from an account to a Taler exchange.
Payout
- Transfered from a Taler exchange to another account. + Transferred from a Taler exchange to another account.
= { } /** - * create a enumaration of value of a mapped type + * create a enumeration of value of a mapped type */ type EnumerationOf = T[keyof T] diff --git a/packages/idb-bridge/src/bridge-idb.ts b/packages/idb-bridge/src/bridge-idb.ts index 1f9aa7f4b..afb3f4224 100644 --- a/packages/idb-bridge/src/bridge-idb.ts +++ b/packages/idb-bridge/src/bridge-idb.ts @@ -997,7 +997,7 @@ export class BridgeIDBFactory { await transaction._waitDone(); - // We re-use the same transaction (as per spec) here. + // We reuse the same transaction (as per spec) here. transaction._active = true; if (db._closed || db._closePending) { diff --git a/packages/merchant-backoffice-ui/src/Application.tsx b/packages/merchant-backoffice-ui/src/Application.tsx index 57ecb5299..cf46a34d5 100644 --- a/packages/merchant-backoffice-ui/src/Application.tsx +++ b/packages/merchant-backoffice-ui/src/Application.tsx @@ -77,7 +77,7 @@ function ApplicationStatusRoutes(): VNode { notification={{ message: i18n.str`Checking the /config endpoint got authorization error`, type: "ERROR", - description: `The /config endpoint of the backend server should be accesible`, + description: `The /config endpoint of the backend server should be accessible`, }} /> diff --git a/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx b/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx index 2ff23dfd3..a0e1d6ae4 100644 --- a/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx @@ -3,7 +3,7 @@ import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { h, VNode } from "preact"; import { useState } from "preact/hooks"; -export function JumpToElementById({ testIfExist, onSelect, palceholder, description }: { palceholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise, onSelect: (id: string) => void }): VNode { +export function JumpToElementById({ testIfExist, onSelect, placeholder, description }: { placeholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise, onSelect: (id: string) => void }): VNode { const { i18n } = useTranslationContext() const [error, setError] = useState( @@ -35,7 +35,7 @@ export function JumpToElementById({ testIfExist, onSelect, palceholder, descript type="text" value={id ?? ""} onChange={(e) => setId(e.currentTarget.value)} - placeholder={palceholder} + placeholder={placeholder} /> {error &&

{error}

} diff --git a/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx index 9514ed0dc..516015df7 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx @@ -67,7 +67,7 @@ export function UpdatePage({ account, onUpdate, onBack }: Props): VNode { repeatPassword: state.credit_facade_credentials?.type !== "basic" ? undefined : !(state.credit_facade_credentials as any).repeatPassword ? i18n.str`required` : - (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesnt match` + (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesn't match` : undefined, }), }; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx index 34c7d348a..92e714fb8 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx @@ -106,7 +106,7 @@ export default function OrderList({ testIfExist={getPaymentURL} onSelect={onSelect} description={i18n.str`jump to order with the given product ID`} - palceholder={i18n.str`order id`} + placeholder={i18n.str`order id`} />