commit fdbc59b0910f9d468ce0b46e9cdb4e2077cd1b4f parent b4ee947e2608262d804f0394674b8b229ea7af3d Author: Sebastian <sebasjm@gmail.com> Date: Mon, 17 Nov 2025 14:35:29 -0300 fix spelling Diffstat:
14 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/contrib/next-dev-version.sh b/contrib/next-dev-version.sh @@ -5,7 +5,7 @@ set -e FILE=$1 [ ! -w "$FILE" ] && echo first argument should be a writtable file && exit 1 jq -e . $FILE >/dev/null 2>&1 || (echo $FILE should be a json file && exit 1) -jq -e .version $FILE >/dev/null 2>&1 || (echo $FILE doesnt have a version field to increment && exit 1) +jq -e .version $FILE >/dev/null 2>&1 || (echo $FILE does not have a version field to increment && exit 1) # looks for [string]-dev.[number] # if not present returns [first].[second].[third+1]-dev.1 diff --git a/packages/aml-backoffice-ui/src/pages/AccountList.tsx b/packages/aml-backoffice-ui/src/pages/AccountList.tsx @@ -131,7 +131,7 @@ export function AccountList({ ? i18n.str`High risk accounts without investigation. Only with custom rules.` : i18n.str`Accounts without investigation. Only with custom rules.` : highRisk - ? i18n.str`High risk accounts witout investigation.` + ? i18n.str`High risk accounts without investigation.` : i18n.str`Accounts without investigation.`; const [exported, setExported] = useState<{ content: string; file: string }>(); diff --git a/packages/bank-ui/src/pages/ConversionRateClassDetails.tsx b/packages/bank-ui/src/pages/ConversionRateClassDetails.tsx @@ -926,7 +926,7 @@ function TestConversionClass({ calculate.onFail = (fail) => { switch (fail.case) { case HttpStatusCode.BadRequest: - return i18n.str`The server didn't undertand the request.`; + return i18n.str`The server didn't understand the request.`; case HttpStatusCode.Conflict: return i18n.str`The amount is too small`; case HttpStatusCode.NotImplemented: diff --git a/packages/bank-ui/src/pages/RegistrationPage.tsx b/packages/bank-ui/src/pages/RegistrationPage.tsx @@ -122,7 +122,7 @@ function RegistrationForm({ !!errors || !reg ? undefined : [reg], ); - register.onSuccess = (succes, acc) => { + register.onSuccess = (success, acc) => { setUsername(undefined); setPassword(undefined); setRepeatPassword(undefined); diff --git a/packages/bank-ui/src/pages/regional/ConversionConfig.tsx b/packages/bank-ui/src/pages/regional/ConversionConfig.tsx @@ -198,7 +198,7 @@ function useComponentState({ calculate.onFail = (fail) => { switch (fail.case) { case HttpStatusCode.BadRequest: - return i18n.str`The server didn't undertand the request.`; + return i18n.str`The server didn't understand the request.`; case HttpStatusCode.Conflict: return i18n.str`The amount is too small`; case HttpStatusCode.NotImplemented: diff --git a/packages/bank-ui/src/pages/regional/CreateCashout.tsx b/packages/bank-ui/src/pages/regional/CreateCashout.tsx @@ -285,7 +285,7 @@ function CreateCashoutInternal({ conversionCalculator.onFail = (fail) => { switch (fail.case) { case HttpStatusCode.BadRequest: - return i18n.str`The server didn't undertand the request.`; + return i18n.str`The server didn't understand the request.`; case HttpStatusCode.Conflict: return i18n.str`The amount is too small`; case HttpStatusCode.NotImplemented: diff --git a/packages/bank-ui/src/pages/regional/ShowCashoutDetails.tsx b/packages/bank-ui/src/pages/regional/ShowCashoutDetails.tsx @@ -166,7 +166,7 @@ export function ShowCashoutDetails({ id, routeClose }: Props): VNode { <div class="flex items-center justify-between border-t-2 afu pt-4"> <dt class="flex items-center text-gray-600"> <span> - <i18n.Translate>Transfered</i18n.Translate> + <i18n.Translate>Transferred</i18n.Translate> </span> </dt> <dd class="text-sm "> diff --git a/packages/challenger-ui/src/pages/AnswerChallenge.tsx b/packages/challenger-ui/src/pages/AnswerChallenge.tsx @@ -139,11 +139,11 @@ export function AnswerChallenge({ ? undefined : [session.nonce, contact], ); - sendAgain.onSuccess = (sucess) => { - if (sucess.type === "completed") { - completed(sucess); + sendAgain.onSuccess = (success) => { + if (success.type === "completed") { + completed(success); } else { - sent(sucess); + sent(success); } }; sendAgain.onFail = (fail) => { diff --git a/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx @@ -192,7 +192,7 @@ export function CreatePage({ onConfirm, onBack, forceId }: Props): VNode { case HttpStatusCode.Unauthorized: return i18n.str`Unaouthorized.`; case HttpStatusCode.Conflict: - return i18n.str`Conflcit.`; + return i18n.str`Conflict.`; case HttpStatusCode.NotFound: return i18n.str`Not found.`; } diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/create/OrderCreatedSuccessfully.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/create/OrderCreatedSuccessfully.tsx @@ -61,7 +61,7 @@ export function OrderCreatedSuccessfully({ return <NotFoundPageOrAdminCreate />; } case TalerErrorCode.MERCHANT_GENERIC_ORDER_UNKNOWN: { - return <i18n.Translate>Order unkown</i18n.Translate>; + return <i18n.Translate>Order unknown</i18n.Translate>; } case HttpStatusCode.Unauthorized: { return <LoginPage />; 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 @@ -190,10 +190,10 @@ function RefundModalForTable({ id, onConfirmed, onCancel }: RefundProps): VNode if (result.type === "fail") { switch (result.case) { case TalerErrorCode.MERCHANT_GENERIC_INSTANCE_UNKNOWN: { - return <i18n.Translate>Instance unkown</i18n.Translate>; + return <i18n.Translate>Instance unknown</i18n.Translate>; } case TalerErrorCode.MERCHANT_GENERIC_ORDER_UNKNOWN: { - return <i18n.Translate>Order unkown</i18n.Translate>; + return <i18n.Translate>Order unknown</i18n.Translate>; } case HttpStatusCode.Unauthorized: { return <LoginPage />; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/update/UpdatePage.tsx @@ -143,7 +143,7 @@ export function UpdatePage({ case HttpStatusCode.Unauthorized: return i18n.str`Unauthorized.`; case HttpStatusCode.NotFound: - return i18n.str`Instace not found.`; + return i18n.str`Instance not found.`; } }; const retry = update.lambda((challengesIds: string[]) => [ diff --git a/packages/merchant-backoffice-ui/src/paths/login/index.tsx b/packages/merchant-backoffice-ui/src/paths/login/index.tsx @@ -93,7 +93,7 @@ export function LoginPage({ showCreateAccount }: Props): VNode { case HttpStatusCode.Unauthorized: return i18n.str`Unauthorized`; case HttpStatusCode.NotFound: - return i18n.str`Not foudn`; + return i18n.str`Not found`; } }; const retry = login.lambda((ids: string[]) => [ diff --git a/packages/web-util/src/hooks/useNotifications.ts b/packages/web-util/src/hooks/useNotifications.ts @@ -198,7 +198,7 @@ type ReplaceReturnType<T extends (...a: any) => any, TNewReturn> = ( /** * Initialize a notification handler. - * @returns a tuple of notifiaction and setter + * @returns a tuple of notification and setter 1) notification that may be set by a function when it fails. * 2) a error handling function that converts a function that returns a message * into a function that will set the notification. @@ -384,7 +384,7 @@ export interface SafeHandlerTemplate<Args extends any[], Errors> { init?: OtherArgs, ): SafeHandlerTemplate<OtherArgs, Errors>; /** - * creates another handler with new arguements + * creates another handler with new arguments * @param args */ withArgs(...args: Args): SafeHandlerTemplate<Args, Error>;