commit 366e1fb65fb33b7b17b61e2f90269b7fd4097fb4 parent c9c11c1b9c28f997614a8e0c099fd1fb601936a3 Author: Sebastian <sebasjm@gmail.com> Date: Fri, 16 Feb 2024 12:18:43 -0300 fixing codespell Diffstat:
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/contrib/cleanup-prebuilt-dir.sh b/contrib/cleanup-prebuilt-dir.sh @@ -3,7 +3,7 @@ set -e [ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1 -# make sure that the prebuilt directoy is clean +# make sure that the prebuilt directory is clean # before building # this script is part of the make prebuilt cd prebuilt diff --git a/contrib/publish-prebuilt-dir.sh b/contrib/publish-prebuilt-dir.sh @@ -7,7 +7,7 @@ COMMIT=$(git rev-parse --verify HEAD) MSG="built from ${COMMIT}" -# after buliding process has copy everything into +# after building process has copy everything into # the prebuilt folder cd prebuilt git commit -m "$MSG" -a diff --git a/packages/demobank-ui/src/Routing.tsx b/packages/demobank-ui/src/Routing.tsx @@ -163,7 +163,7 @@ function PublicRounting({ return ( <WithdrawalOperationPage operationId={wopid} - pupose="after-confirmation" + purpose="after-confirmation" onOperationAborted={() => navigateTo(publicPages.login.url({}))} routeClose={publicPages.login} onAuthorizationRequired={() => @@ -281,7 +281,7 @@ function PrivateRouting({ return ( <WithdrawalOperationPage operationId={wopid} - pupose="after-confirmation" + purpose="after-confirmation" onOperationAborted={() => navigateTo(privatePages.home.url({}))} routeClose={privatePages.home} onAuthorizationRequired={() => @@ -299,7 +299,7 @@ function PrivateRouting({ return ( <WithdrawalOperationPage operationId={wopid} - pupose="after-creation" + purpose="after-creation" onOperationAborted={() => navigateTo(privatePages.home.url({}))} routeClose={privatePages.home} onAuthorizationRequired={() => diff --git a/packages/demobank-ui/src/context/navigation.ts b/packages/demobank-ui/src/context/navigation.ts @@ -29,7 +29,7 @@ export type Type = { // addNavigationListener: (listener: (path: string, params: Record<string, string>) => void) => (() => void); }; -// @ts-expect-error shold not be used without provider +// @ts-expect-error should not be used without provider const Context = createContext<Type>(undefined); export const useNavigationContext = (): Type => useContext(Context); @@ -49,8 +49,8 @@ function getPathAndParamsFromWindow() { const { path: initialPath, params: initialParams } = getPathAndParamsFromWindow(); -// there is a posibility that if the browser does a redirection -// (which doesn't go through navigatTo function) and that exectued +// there is a possibility that if the browser does a redirection +// (which doesn't go through navigatTo function) and that executed // too early (before addEventListener runs) it won't be taking // into account const PopStateEventType = "popstate"; diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx @@ -676,7 +676,7 @@ function validateRawPayto(parsed: PaytoUri, limit: AmountJson, host: string, i18 function validateAmount(amount: AmountJson, limit: AmountJson, i18n: InternationalizationAPI): TranslatedString | undefined { if (amount.currency !== limit.currency) { - return i18n.str`The only currecy allowed is "${limit.currency}"` + return i18n.str`The only currency allowed is "${limit.currency}"` } if (Amounts.isZero(amount)) { return i18n.str`Can't transfer zero amount` diff --git a/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx b/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx @@ -30,7 +30,7 @@ export function WithdrawalOperationPage({ }: { onAuthorizationRequired: () => void; operationId: string; - pupose: "after-creation" | "after-confirmation", + purpose: "after-creation" | "after-confirmation", onOperationAborted: () => void; routeClose: RouteDefinition<Record<string, never>>; }): VNode { diff --git a/packages/demobank-ui/src/pages/admin/AccountForm.tsx b/packages/demobank-ui/src/pages/admin/AccountForm.tsx @@ -726,7 +726,7 @@ function getAccountId(type: "iban" | "x-taler-bank", s: PaytoString | undefined) if (s === undefined) return undefined; const p = parsePaytoUri(s); if (p === undefined) return undefined; - if (!p.isKnown) return "<unkown>"; + if (!p.isKnown) return "<unknown>"; if (type === "iban" && p.targetType === "iban") return p.iban; if (type === "x-taler-bank" && p.targetType === "x-taler-bank") return p.account; return "<unsupported>"; diff --git a/packages/taler-wallet-webextension/src/wallet/AddExchange/views.tsx b/packages/taler-wallet-webextension/src/wallet/AddExchange/views.tsx @@ -71,7 +71,7 @@ export function VerifyView({ } case "invalid-protocol": { return <WarningBox> - <i18n.Translate>Only exchange accesible through "http" and "https" are allowed.</i18n.Translate> + <i18n.Translate>Only exchange accessible through "http" and "https" are allowed.</i18n.Translate> </WarningBox> } case "invalid-version": {