diff options
Diffstat (limited to 'packages')
17 files changed, 21 insertions, 21 deletions
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({ <div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"> {!accounts.length ? ( <div> - {/* FIXME: ADDD empty list */} + {/* FIXME: ADD empty list */} </div> ) : ( <table class="min-w-full divide-y divide-gray-300"> 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({ <dt class="text-base font-normal text-gray-900"> <i18n.Translate>Cashin</i18n.Translate> <div class="text-xs text-gray-500"> - <i18n.Translate>Transfered from an external account to an account in this bank.</i18n.Translate> + <i18n.Translate>Transferred from an external account to an account in this bank.</i18n.Translate> </div> </dt> <MetricValue @@ -375,7 +375,7 @@ function Metrics({ <i18n.Translate>Cashout</i18n.Translate> </dt> <div class="text-xs text-gray-500"> - <i18n.Translate>Transfered from an account in this bank to an external account.</i18n.Translate> + <i18n.Translate>Transferred from an account in this bank to an external account.</i18n.Translate> </div> <MetricValue current={resp.current.body.cashoutFiatVolume} @@ -389,7 +389,7 @@ function Metrics({ <dt class="text-base font-normal text-gray-900"> <i18n.Translate>Payin</i18n.Translate> <div class="text-xs text-gray-500"> - <i18n.Translate>Transfered from an account to a Taler exchange.</i18n.Translate> + <i18n.Translate>Transferred from an account to a Taler exchange.</i18n.Translate> </div> </dt> <MetricValue @@ -402,7 +402,7 @@ function Metrics({ <dt class="text-base font-normal text-gray-900"> <i18n.Translate>Payout</i18n.Translate> <div class="text-xs text-gray-500"> - <i18n.Translate>Transfered from a Taler exchange to another account.</i18n.Translate> + <i18n.Translate>Transferred from a Taler exchange to another account.</i18n.Translate> </div> </dt> <MetricValue diff --git a/packages/demobank-ui/src/route.ts b/packages/demobank-ui/src/route.ts index 72c7802fb..1f85ce54e 100644 --- a/packages/demobank-ui/src/route.ts +++ b/packages/demobank-ui/src/route.ts @@ -116,7 +116,7 @@ type MapKeyValue<Type> = { } /** - * create a enumaration of value of a mapped type + * create a enumeration of value of a mapped type */ type EnumerationOf<T> = 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`, }} /> </Fragment> 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<any>, onSelect: (id: string) => void }): VNode { +export function JumpToElementById({ testIfExist, onSelect, placeholder, description }: { placeholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise<any>, onSelect: (id: string) => void }): VNode { const { i18n } = useTranslationContext() const [error, setError] = useState<string | undefined>( @@ -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 && <p class="help is-danger">{error}</p>} </div> 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`} /> <ListPage diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx index 942b5d0ac..34b21daa2 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx @@ -84,7 +84,7 @@ export default function ProductList({ testIfExist={getProduct} onSelect={onSelect} description={i18n.str`jump to product with the given product ID`} - palceholder={i18n.str`product id`} + placeholder={i18n.str`product id`} /> <CardTable diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx index 2d50e3924..adb0833c4 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx @@ -89,7 +89,7 @@ export default function ListTemplates({ testIfExist={testTemplateExist} onSelect={onSelect} description={i18n.str`jump to template with the given template ID`} - palceholder={i18n.str`template id`} + placeholder={i18n.str`template id`} /> <ListPage diff --git a/packages/taler-util/src/amounts.ts b/packages/taler-util/src/amounts.ts index 363682bf0..4b7063fd2 100644 --- a/packages/taler-util/src/amounts.ts +++ b/packages/taler-util/src/amounts.ts @@ -449,7 +449,7 @@ export class Amounts { static mult(a: AmountLike, n: number): Result { a = this.jsonifyAmount(a); if (!Number.isInteger(n)) { - throw Error("amount can only be multipied by an integer"); + throw Error("amount can only be multiplied by an integer"); } if (n < 0) { throw Error("amount can only be multiplied by a positive integer"); diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts index ceae84c0c..e9266e6a3 100644 --- a/packages/taler-util/src/http-client/types.ts +++ b/packages/taler-util/src/http-client/types.ts @@ -2513,7 +2513,7 @@ export namespace TalerMerchantApi { interface PaidRefundStatusResponse { // Text to be shown to the point-of-sale staff as a proof of - // payment (present only if re-usable OTP algorithm is used). + // payment (present only if reusable OTP algorithm is used). pos_confirmation?: string; // True if the order has been subjected to diff --git a/packages/taler-util/src/sha256.ts b/packages/taler-util/src/sha256.ts index 321e5d827..ba8f09279 100644 --- a/packages/taler-util/src/sha256.ts +++ b/packages/taler-util/src/sha256.ts @@ -145,7 +145,7 @@ export class HashSha256 { } // Resets hash state making it possible - // to re-use this instance to hash other data. + // to reuse this instance to hash other data. reset(): this { this.state[0] = 0x6a09e667; this.state[1] = 0xbb67ae85; diff --git a/packages/taler-util/src/taler-error-codes.ts b/packages/taler-util/src/taler-error-codes.ts index 4cd4a7e15..2c65255df 100644 --- a/packages/taler-util/src/taler-error-codes.ts +++ b/packages/taler-util/src/taler-error-codes.ts @@ -2368,7 +2368,7 @@ export enum TalerErrorCode { MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER = 2506, /** - * The order ceration request is invalid because the given payment deadline is in the past. + * The order creation request is invalid because the given payment deadline is in the past. * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400). * (A value of 0 indicates that the error is generated client-side). */ diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 2757f7fec..0dc066730 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -294,7 +294,7 @@ const logger = new Logger("wallet.ts"); /** * Execution context for code that is run in the wallet. * - * Typically the excecution context is either for a wallet-core + * Typically the execution context is either for a wallet-core * request handler or for a shepherded task. */ export interface WalletExecutionContext { |