adding some translation
This commit is contained in:
parent
1d55c551bb
commit
edfe5389b2
@ -49,30 +49,30 @@ export interface ViewProps {
|
|||||||
|
|
||||||
export function View({ talerWithdrawUri, details, cancelled, selectedExchange, accept, setCancelled, setSelecting }: ViewProps) {
|
export function View({ talerWithdrawUri, details, cancelled, selectedExchange, accept, setCancelled, setSelecting }: ViewProps) {
|
||||||
if (!talerWithdrawUri) {
|
if (!talerWithdrawUri) {
|
||||||
return <span>missing withdraw uri</span>;
|
return <span><i18n.Translate>missing withdraw uri</i18n.Translate></span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!details) {
|
if (!details) {
|
||||||
return <span>Loading...</span>;
|
return <span><i18n.Translate>Loading...</i18n.Translate></span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cancelled) {
|
if (cancelled) {
|
||||||
return <span>Withdraw operation has been cancelled.</span>;
|
return <span><i18n.Translate>Withdraw operation has been cancelled.</i18n.Translate></span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h1>Digital Cash Withdrawal</h1>
|
<h1><i18n.Translate>Digital Cash Withdrawal</i18n.Translate></h1>
|
||||||
<p><i18n.Translate>
|
<p><i18n.Translate>
|
||||||
You are about to withdraw{" "}
|
You are about to withdraw{" "}
|
||||||
<strong>{renderAmount(details.amount)}</strong> from your bank account
|
<strong>{renderAmount(details.amount)}</strong> from your bank account
|
||||||
into your wallet.
|
into your wallet.
|
||||||
</i18n.Translate></p>
|
</i18n.Translate></p>
|
||||||
{selectedExchange ? (
|
{selectedExchange ? (
|
||||||
<p>
|
<p><i18n.Translate>
|
||||||
The exchange <strong>{selectedExchange}</strong> will be used as the
|
The exchange <strong>{selectedExchange}</strong> will be used as the
|
||||||
Taler payment service provider.
|
Taler payment service provider.
|
||||||
</p>
|
</i18n.Translate></p>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user