commit 852713fa4dc25a5a8fff90497ab02c965e904f5d parent c365b832287961e6bc71b28b17b3e38020e949ab Author: Sebastian <sebasjm@gmail.com> Date: Wed, 16 Apr 2025 14:49:35 -0300 fix spelling Diffstat:
18 files changed, 20 insertions(+), 26 deletions(-)
diff --git a/packages/aml-backoffice-ui/src/Routing.tsx b/packages/aml-backoffice-ui/src/Routing.tsx @@ -111,7 +111,7 @@ export const privatePages = { dashboard: urlPattern(/\/dashboard/, () => "#/dashboard"), statsDownload: urlPattern(/\/download-stats/, () => "#/download-stats"), /** - * This 4 URL could be only one with multple params + * This 4 URL could be only one with multiple params */ decideWithStep: urlPattern<{ cid: string; step: string }>( /\/decide\/(?<cid>[a-zA-Z0-9]+)\/(?<step>[a-z]+)/, diff --git a/packages/aml-backoffice-ui/src/pages/Cases.tsx b/packages/aml-backoffice-ui/src/pages/Cases.tsx @@ -143,7 +143,7 @@ export function Accounts({ <JumpByIdForm caseByIdRoute={caseByIdRoute} - fitered={filtered} + filtered={filtered} onTog={setFiltered} /> </div> @@ -344,11 +344,11 @@ let latestTimeout: undefined | ReturnType<typeof setTimeout> = undefined; function JumpByIdForm({ caseByIdRoute, - fitered, + filtered, onTog, }: { caseByIdRoute: RouteDefinition<{ cid: string }>; - fitered?: boolean; + filtered?: boolean; onTog: (d: boolean | undefined) => void; }): VNode { const { i18n } = useTranslationContext(); @@ -429,7 +429,7 @@ function JumpByIdForm({ handler={{ name: "inv", onChange: (x) => onTog(x), - value: fitered, + value: filtered, }} /> </div> diff --git a/packages/aml-backoffice-ui/src/pages/MeasuresTable.tsx b/packages/aml-backoffice-ui/src/pages/MeasuresTable.tsx @@ -161,7 +161,7 @@ export function CurrentMeasureTable({ </h1> <p class="mt-2 text-sm text-gray-700"> <i18n.Translate> - These measures will be triggered immediatly without customer + These measures will be triggered immediately without customer interaction. </i18n.Translate> </p> diff --git a/packages/aml-backoffice-ui/src/pages/Search.tsx b/packages/aml-backoffice-ui/src/pages/Search.tsx @@ -579,7 +579,7 @@ const walletFields: (i18n: InternationalizationAPI) => UIFormElementConfig[] = ( help: i18n.str`Wallet reserve public key`, placeholder: i18n.str`abcdef1235`, validator(value) { - return value && value.length !== 16 + return value && value.length !== 32 ? i18n.str`Should be 16 characters` : undefined; }, diff --git a/packages/aml-backoffice-ui/src/pages/decision/Properties.tsx b/packages/aml-backoffice-ui/src/pages/decision/Properties.tsx @@ -34,7 +34,7 @@ import { usePreferences } from "../../hooks/preferences.js"; import { ErrorLoadingWithDebug } from "../../components/ErrorLoadingWithDebug.js"; /** - * Update account properites + * Update account properties * @param param0 * @returns */ @@ -204,7 +204,7 @@ function propertiesByDialect( }, // { // id: TalerFormAttributes.AML_INVESTIGATION_ART6_COMPLETED, - // label: i18n.str`Was succesfully investigated under Art 6 Gwg?`, + // label: i18n.str`Was successfully investigated under Art 6 Gwg?`, // type: "toggle", // threeState: true, // }, diff --git a/packages/aml-backoffice-ui/src/pages/decision/Rules.tsx b/packages/aml-backoffice-ui/src/pages/decision/Rules.tsx @@ -357,7 +357,7 @@ const ruleFormDesignTemplate = ( id: "exposed", type: "toggle", label: i18n.str`Exposed`, - help: i18n.str`Is this limit comunicated to the customer?`, + help: i18n.str`Is this limit communicated to the customer?`, }, { type: "selectMultiple", diff --git a/packages/aml-backoffice-ui/src/pages/decision/Summary.tsx b/packages/aml-backoffice-ui/src/pages/decision/Summary.tsx @@ -135,7 +135,7 @@ export function Summary({ : undefined, events: decision.triggering_events, attributes: decision.attributes?.data, - properties: decision.properties!, // TODO: compute properites + properties: decision.properties!, // TODO: compute properties new_measures: decision.new_measures!.join(" "), }; return lib.exchange.makeAmlDesicion(session, request); diff --git a/packages/bank-ui/src/pages/regional/CreateCashout.tsx b/packages/bank-ui/src/pages/regional/CreateCashout.tsx @@ -259,7 +259,7 @@ export function CreateCashout({ ).normal }` : Amounts.cmp(calc.debit, account.minCashout) < 0 - ? i18n.str`Your account have a cashout limit. Minimun account cashout is ${ + ? i18n.str`Your account have a cashout limit. Minimum account cashout is ${ Amounts.stringifyValueWithSpec( Amounts.parseOrThrow(account.minCashout), regional_currency_specification, diff --git a/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/index.tsx @@ -141,7 +141,7 @@ function ShowInstructionForKycRedirect({ > <p style={{ paddingTop: 0 }}> <i18n.Translate> - The backend service is still synchonizing with the payment service + The backend service is still synchronizing with the payment service provider. </i18n.Translate> </p> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx @@ -112,7 +112,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { case "category_deleted": return i18n.str`Category deleted`; case "inventory_added": - return i18n.str`Invetory added`; + return i18n.str`Inventory added`; case "inventory_updated": return i18n.str`Inventory updated`; case "inventory_deleted": diff --git a/packages/taler-util/src/aml/aml-events.ts b/packages/taler-util/src/aml/aml-events.ts @@ -48,7 +48,7 @@ export type EventMapInfo<T> = { [name in keyof T]: { /** * Based on the current properties and next properties, - * the current account limits and new attribues of the account + * the current account limits and new attributes of the account * calculate if the event should be triggered. * * return false if there is no enough information to decide. diff --git a/packages/taler-util/src/aml/aml-properties.ts b/packages/taler-util/src/aml/aml-properties.ts @@ -27,7 +27,7 @@ export type PropertiesMapInfo<T extends string> = { [name in T]: { /** * Based on all the current properties, the current account limits and - * new attribues of the account calculate if the property should + * new attributes of the account calculate if the property should * change. The value "undefined" means no change. * * @param limits diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -3782,7 +3782,7 @@ export async function confirmWithdrawal( // foreign account that is not properly marked as such. logger.warn("no account acceptable by the exchange"); throw Error( - `Exchange ${selectedExchange} not useable for withdrawal, as account ${senderWire} is not acceptable to the exchange`, + `Exchange ${selectedExchange} not usable for withdrawal, as account ${senderWire} is not acceptable to the exchange`, ); } diff --git a/packages/web-util/src/forms/fields/InputArray.stories.tsx b/packages/web-util/src/forms/fields/InputArray.stories.tsx @@ -147,7 +147,7 @@ const design3: FormDesign = { type: "array", id: "list", label: `Paths`, - help: `For every entry the customer will have a different path to satify checks.`, + help: `For every entry the customer will have a different path to satisfy checks.`, labelFieldId: "steps", fields: [ { diff --git a/packages/web-util/src/forms/gana/GLS_Onboarding.ts b/packages/web-util/src/forms/gana/GLS_Onboarding.ts @@ -261,21 +261,18 @@ export function GLS_Onboarding( { id: TalerFormAttributes.TAX_IS_USA_LAW, label: i18n.str`under USA law?`, - // help: i18n.str`wurde die gesellschaft in den USA oder nach US-Recht gergrudent`, type: "toggle", required: true, }, { id: TalerFormAttributes.TAX_IS_ACTIVE, label: i18n.str`is economically active?`, - // help: i18n.str`wirtschaftlich aktiv oder passiv`, type: "toggle", required: true, }, { id: TalerFormAttributes.TAX_IS_DEDUCTED, label: i18n.str`entitled to deduct tax?`, - // help: i18n.str`sind sie vorsteuerabzugsberechtigt`, type: "toggle", required: true, }, diff --git a/packages/web-util/src/forms/gana/VQF_902_14.ts b/packages/web-util/src/forms/gana/VQF_902_14.ts @@ -102,7 +102,7 @@ export function VQF_902_14( }, { title: i18n.str`Summary and plausbility check of the gathered information`, - description: i18n.str`The results of the clarifications have to be documented and their plausability has to be checked.`, + description: i18n.str`The results of the clarifications have to be documented and their plausibility has to be checked.`, fields: [ { id: TalerFormAttributes.INCRISK_SUMMARY, diff --git a/packages/web-util/src/forms/gana/VQF_902_1_customer.ts b/packages/web-util/src/forms/gana/VQF_902_1_customer.ts @@ -29,9 +29,6 @@ const Descr = { member act as director of a domiciliary company, this domiciliary company is the customer.`, } as const; -// This form is used in KYC spa and AML spa -// that's why we want the description and label to be in one place -// FIXME: check if we wan't all forms description to be in web-utils export const form_vqf_902_1_customer = (i18n: InternationalizationAPI) => ({ label: i18n.str`Identification Form (customer)`, description: i18n.str`The customer has to be identified on entering into a permanent business relationship or on concluding a cash transaction, which meets the according threshold.`, diff --git a/packages/web-util/src/forms/gana/VQF_902_4.ts b/packages/web-util/src/forms/gana/VQF_902_4.ts @@ -326,7 +326,7 @@ export function VQF_902_4( }, { id: TalerFormAttributes.RISK_CLASSIFICATION_LEVEL, - label: i18n.str`Risk clasification`, + label: i18n.str`Risk classification`, help: i18n.str`Conclusion whether the business relationship is with or without increased risk.`, choices: [ { label: i18n.str`No high risk`, value: "NO_HIGH_RISK" },