commit 88ebb7648941f82d7b3554684d3dc113ea31be4e
parent 4ab6829caf8b013231cff6f11494bd1b8b8954ca
Author: Stefan Kügel <stefan.kuegel@taler.net>
Date: Wed, 15 Oct 2025 22:16:56 +0200
rectify English strings for the Merchant Backend UI
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/packages/merchant-backoffice-ui/src/components/modal/index.tsx b/packages/merchant-backoffice-ui/src/components/modal/index.tsx
@@ -912,7 +912,7 @@ export function LoadingModal({ onCancel }: { onCancel: () => void }): VNode {
<Spinner />
<div class="column" />
</div>
- <p>{i18n.str`The operation will be automatically canceled after ${DEFAULT_REQUEST_TIMEOUT} seconds`}</p>
+ <p>{i18n.str`The operation will be automatically cancelled after ${DEFAULT_REQUEST_TIMEOUT} seconds`}</p>
</section>
<footer class="modal-card-foot">
<div class="buttons is-right" style={{ width: "100%" }}>
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/accounts/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/accounts/list/index.tsx
@@ -74,8 +74,8 @@ export default function ListOtpDevices({ onCreate, onSelect }: Props): VNode {
<NotificationCard
notification={{
type: "WARN",
- message: i18n.str`You need to associate a bank account to receive revenue.`,
- description: i18n.str`Without this, you won't be able to create new orders.`,
+ message: i18n.str`You must provide a bank account to receive payments.`,
+ description: i18n.str`Without this information, you cannot create new payment orders that are transferred to a bank account.`,
}}
/>
)}
@@ -95,12 +95,12 @@ export default function ListOtpDevices({ onCreate, onSelect }: Props): VNode {
.then((resp) => {
if (resp.type === "ok") {
setNotif({
- message: i18n.str`The bank account has been successfully deleted.`,
+ message: i18n.str`The bank account details have been successfully deleted.`,
type: "SUCCESS",
});
} else {
setNotif({
- message: i18n.str`Could not delete the bank account`,
+ message: i18n.str`The bank account details could not be deleted.`,
type: "ERROR",
description: resp.detail?.hint,
});
@@ -108,7 +108,7 @@ export default function ListOtpDevices({ onCreate, onSelect }: Props): VNode {
})
.catch((error) =>
setNotif({
- message: i18n.str`Could not delete the bank account`,
+ message: i18n.str`The bank account details could not be deleted.`,
type: "ERROR",
description:
error instanceof Error ? error.message : String(error),