taler-typescript-core

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

commit 6ebb07dbb128e48aeb79b0370d6f172cce6cdd1c
parent 22d06bbf3d4829abc23133921295f5e8d31f1ce4
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 11 Nov 2024 10:18:25 -0300

fix #9330

Diffstat:
Mpackages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/components/modal/index.tsx | 14+++++++-------
Mpackages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/kyc/list/ListPage.tsx | 3++-
Mpackages/merchant-backoffice-ui/src/paths/instance/orders/list/ListPage.tsx | 4++--
Mpackages/merchant-backoffice-ui/src/paths/instance/otp_devices/create/CreatePage.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx | 4++--
8 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx b/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx @@ -36,7 +36,7 @@ export function JumpToElementById({ const [id, setId] = useState<string>(); async function check(currentId: string | undefined): Promise<void> { if (!currentId) { - setError(i18n.str`Missing id`); + setError(i18n.str`Missing ID`); return; } try { diff --git a/packages/merchant-backoffice-ui/src/components/modal/index.tsx b/packages/merchant-backoffice-ui/src/components/modal/index.tsx @@ -487,8 +487,8 @@ export function ValidBankAccount({ <i18n.Translate>Step 1:</i18n.Translate> &nbsp; <i18n.Translate> - Copy this code and paste it into the subject/purpose field in - your banking app or bank website + Copy this string and paste it into the field 'Subject' (resp. + 'Purpose') in your banking app or bank website </i18n.Translate> </td> </tr> @@ -514,8 +514,8 @@ export function ValidBankAccount({ <i18n.Translate>Step 3:</i18n.Translate> &nbsp; <i18n.Translate> - Finish the wire transfer setting smallest amount in your - banking app or website. + Select the smallest possible amount for the wire transfer in + your banking app or on your online banking website. </i18n.Translate> </td> </tr> @@ -547,8 +547,8 @@ export function ValidBankAccount({ <tr> <td colSpan={2} width="100%" style={{ wordBreak: "break-all" }}> <i18n.Translate> - Alternative if your bank already supports PayTo URI, you can - use this{" "} + Alternatively, if your bank already supports the standard + 'PayTo URI', you can use this{" "} <a target="_bank" rel="noreferrer" @@ -800,7 +800,7 @@ export function UpdateTokenModal({ const { state } = useSessionContext(); - const text = i18n.str`You are updating the access token for the instance with id ${state.instance}`; + const text = i18n.str`You are updating the access token for the instance with ID ${state.instance}`; return ( <ClearConfirmModal diff --git a/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/accounts/create/CreatePage.tsx @@ -180,7 +180,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { } case TestRevenueErrorType.CANT_VALIDATE: { setTestError( - i18n.str`Request succeeded but server didn't reply the 'credit_account' so we can't check that the account is the same.`, + i18n.str`The request was made correctly, but the bank's server did not respond with the appropriate value for 'credit_account', so we cannot confirm that it is the same bank account.`, ); setState({ ...state, 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 @@ -231,7 +231,7 @@ export function UpdatePage({ } case TestRevenueErrorType.CANT_VALIDATE: { setTestError( - i18n.str`Request succeeded but server didn't reply the 'credit_account' so we can't check that the account is the same.`, + i18n.str`The request was made correctly, but the bank's server did not respond with the appropriate value for 'credit_account', so we cannot confirm that it is the same bank account.`, ); setState({ ...state, diff --git a/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/ListPage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/kyc/list/ListPage.tsx @@ -132,7 +132,8 @@ function PendingTable({ <td> <a href={e.access_token} target="_black" rel="noreferrer"> <i18n.Translate> - The exchange require a account verification. + The Payment Service Provider requires an account + verification. </i18n.Translate> </a> </td> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/list/ListPage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/list/ListPage.tsx @@ -123,7 +123,7 @@ export function ListPage({ <li class={isNotWiredActive}> <div class="has-tooltip-left" - data-tooltip={i18n.str`Only show orders where customers paid, but wire payments from payment provider are still pending`} + data-tooltip={i18n.str`Only display orders that have already been paid for by buyers and for which the wire transfer by the payment service provider is still pending`} > <a onClick={onShowNotWired}> <i18n.Translate>Not wired</i18n.Translate> @@ -133,7 +133,7 @@ export function ListPage({ <li class={isWiredActive}> <div class="has-tooltip-left" - data-tooltip={i18n.str`Only show orders where customers paid, but wire payments from payment provider are still pending`} + data-tooltip={i18n.str`Only display orders that have already been transfered by the payment service provider`} > <a onClick={onShowWired}> <i18n.Translate>Completed</i18n.Translate> 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 @@ -66,7 +66,7 @@ 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`The size of the key must be 32` + ? i18n.str`The size of the key must be 32 characters` : undefined, otp_device_description: !state.otp_device_description ? i18n.str`Required` 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 @@ -203,7 +203,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { name="summary" inputType="multiline" label={i18n.str`Summary`} - tooltip={i18n.str`If specified, this template will create an order with the same summary`} + tooltip={i18n.str`If specified here, this template will create orders with the same summary`} /> <InputToggle<Entity> name="summary_editable" @@ -214,7 +214,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { <InputCurrency<Entity> name="amount" label={i18n.str`Amount`} - tooltip={i18n.str`If specified, this template will create an order with the same price`} + tooltip={i18n.str`If specified here, this template will create orders with the same price`} /> <InputToggle<Entity> name="amount_editable"