taler-typescript-core

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

commit a2347dff7e58a01a48bf7d6b00dd955b47415122
parent ef0e1de9741f1a805da56f7d6a45276b1be64fd5
Author: Stefan Kügel <stefan.kuegel@taler.net>
Date:   Fri,  8 Aug 2025 12:47:55 +0200

update English strings for Taler Merchant, grammar rectifications

Diffstat:
Mpackages/web-util/src/components/ErrorLoadingMerchant.tsx | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/web-util/src/components/ErrorLoadingMerchant.tsx b/packages/web-util/src/components/ErrorLoadingMerchant.tsx @@ -71,7 +71,7 @@ export function ErrorLoading({ error, showDetail }: { error: TalerError, showDet case TalerErrorCode.WALLET_HTTP_REQUEST_THROTTLED: { if (error.hasErrorCode(TalerErrorCode.WALLET_HTTP_REQUEST_THROTTLED)) { const { requestMethod, requestUrl, throttleStats } = error.errorDetail - return <Attention type="danger" title={i18n.str`A lot of request were made to the same server and this action was throttled`}> + return <Attention type="danger" title={i18n.str`Too many requests were made to the server, and this action was throttled.`}> {error.message} {showDetail && <pre class="whitespace-break-spaces "> @@ -85,7 +85,7 @@ export function ErrorLoading({ error, showDetail }: { error: TalerError, showDet case TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE: { if (error.hasErrorCode(TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE)) { const { requestMethod, requestUrl, httpStatusCode, validationError } = error.errorDetail - return <Attention type="danger" title={i18n.str`The response of the request is malformed.`}> + return <Attention type="danger" title={i18n.str`The server's response was malformed.`}> {error.message} {showDetail && <pre class="whitespace-break-spaces "> @@ -99,7 +99,7 @@ export function ErrorLoading({ error, showDetail }: { error: TalerError, showDet case TalerErrorCode.WALLET_NETWORK_ERROR: { if (error.hasErrorCode(TalerErrorCode.WALLET_NETWORK_ERROR)) { const { requestMethod, requestUrl } = error.errorDetail - return <Attention type="danger" title={i18n.str`Could not complete the request due to a network problem.`}> + return <Attention type="danger" title={i18n.str`Due to a network problem the request could not be finished.`}> {error.message} {showDetail && <pre class="whitespace-break-spaces "> @@ -125,7 +125,7 @@ export function ErrorLoading({ error, showDetail }: { error: TalerError, showDet assertUnreachable(1 as never) } ////////////////// - // Every other error + // Every other error ////////////////// // case TalerErrorCode.WALLET_UNEXPECTED_REQUEST_ERROR: { // return <Attention type="danger" title={i18n.str``}>