taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 42f8c4b76e5995144e9e5f627eb8e35c09a12264
parent dc2533e2fa983ad1467c9137bf7c4126047b2b4c
Author: Stefan Kügel <skuegel@web.de>
Date:   Tue,  5 Nov 2024 22:52:57 +0100

rectify some English strings

Diffstat:
Mpackages/merchant-backoffice-ui/src/paths/instance/otp_devices/create/CreatePage.tsx | 14+++++++-------
Mpackages/merchant-backoffice-ui/src/paths/instance/otp_devices/list/Table.tsx | 4++--
Mpackages/merchant-backoffice-ui/src/paths/instance/products/list/Table.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/templates/list/Table.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/transfers/list/Table.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx | 2+-
7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/paths/instance/otp_devices/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/otp_devices/create/CreatePage.tsx @@ -58,7 +58,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { otp_device_id: !state.otp_device_id ? i18n.str`Required` : !/[a-zA-Z0-9]*/.test(state.otp_device_id) - ? i18n.str`Invalid. Please insert only characters and numbers` + ? i18n.str`Invalid. Please enter characters and numbers only` : undefined, otp_algorithm: !state.otp_algorithm ? i18n.str`Required` : undefined, otp_key: !state.otp_key @@ -66,12 +66,12 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { : !isRfc3548Base32Charset(state.otp_key) ? i18n.str`Just letters and numbers from 2 to 7` : state.otp_key.length !== 32 - ? i18n.str`Size of the key must be 32` + ? i18n.str`The size of the key must be 32` : undefined, otp_device_description: !state.otp_device_description ? i18n.str`Required` : !/[a-zA-Z0-9]*/.test(state.otp_device_description) - ? i18n.str`Invalid. Please insert only characters and numbers` + ? i18n.str`Invalid. Please enter characters and numbers only` : undefined, }); @@ -96,7 +96,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { <Input<Entity> name="otp_device_id" label={i18n.str`ID`} - tooltip={i18n.str`Internal id on the system`} + tooltip={i18n.str`Internal ID on the system`} /> <Input<Entity> name="otp_device_description" @@ -106,7 +106,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { <InputSelector<Entity> name="otp_algorithm" label={i18n.str`Verification algorithm`} - tooltip={i18n.str`Algorithm to use to verify transaction in offline mode`} + tooltip={i18n.str`Algorithm used to verify transaction in offline mode`} values={algorithms} toStr={(v) => algorithmsNames[v]} fromStr={(v) => Number(v)} @@ -118,8 +118,8 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { name="otp_key" label={i18n.str`Device key`} inputType={showKey ? "text" : "password"} - help={i18n.str`Be sure to be very hard to guess or use the random generator`} - tooltip={i18n.str`Your device need to have exactly the same value`} + help={i18n.str`Be sure to choose a password hard to guess, alternatively use the random generator`} + tooltip={i18n.str`Your device needs to match exactly the same value`} fromStr={(v) => v.toUpperCase()} addonAfterAction={() => { setShowKey(!showKey); diff --git a/packages/merchant-backoffice-ui/src/paths/instance/otp_devices/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/otp_devices/list/Table.tsx @@ -54,7 +54,7 @@ export function CardTable({ <span class="icon"> <i class="mdi mdi-lock" /> </span> - <i18n.Translate>OTP Devices</i18n.Translate> + <i18n.Translate>OTP devices</i18n.Translate> </p> <div class="card-header-icon" aria-label="more options"> <span @@ -188,7 +188,7 @@ function EmptyTable(): VNode { </p> <p> <i18n.Translate> - There is are devices yet, add more pressing the + sign + There are no devices to list yet, add more by pressing the + sign </i18n.Translate> </p> </div> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/list/Table.tsx @@ -497,7 +497,7 @@ function EmptyTable(): VNode { </p> <p> <i18n.Translate> - There are no products yet, add more pressing the + sign + There are no products to list yet, add more by pressing the + sign </i18n.Translate> </p> </div> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx @@ -93,7 +93,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { id: !state.id ? i18n.str`Required` : !/[a-zA-Z0-9]*/.test(state.id) - ? i18n.str`Invalid. Please insert only characters and numbers` + ? i18n.str`Invalid. Please enter characters and numbers only` : undefined, description: !state.description ? i18n.str`Required` : undefined, amount: !state.amount diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/Table.tsx @@ -212,7 +212,7 @@ function EmptyTable(): VNode { </p> <p> <i18n.Translate> - There are no templates yet, add more pressing the + sign + There are no templates to list yet, add more by pressing the + sign </i18n.Translate> </p> </div> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/Table.tsx @@ -202,7 +202,7 @@ function EmptyTable(): VNode { </p> <p> <i18n.Translate> - There are no transfers yet, add more pressing the + sign + There are no transfers to list yet, add more by pressing the + sign </i18n.Translate> </p> </div> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx @@ -188,7 +188,7 @@ function EmptyTable(): VNode { </p> <p> <i18n.Translate> - There are no webhooks yet, add more pressing the + sign + There are no webhooks to list yet, add more by pressing the + sign </i18n.Translate> </p> </div>