diff options
author | tg(x) <*@tg-x.net> | 2016-10-05 00:02:10 +0200 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2016-10-05 00:02:10 +0200 |
commit | ec62d29c90958aa8d41474ed2fe5a179d6fafed7 (patch) | |
tree | 367cc55bc6772cf194ed6c4778cd344d581d3d7c /pages/confirm-contract.tsx | |
parent | fda241d74d5c1c39203b64da676c684d4dc9d800 (diff) | |
parent | d3ccf4103900b8d990b1970d135695b938d94eae (diff) |
Merge branch 'master' of taler.net:/var/git/wallet-webex
Diffstat (limited to 'pages/confirm-contract.tsx')
-rw-r--r-- | pages/confirm-contract.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pages/confirm-contract.tsx b/pages/confirm-contract.tsx index 52e4cb79a..f162dca85 100644 --- a/pages/confirm-contract.tsx +++ b/pages/confirm-contract.tsx @@ -52,7 +52,8 @@ const Details = { }, "show less details"), m("div", [ "Accepted exchanges:", - m("ul", contract.exchanges.map(e => m("li", `${e.url}: ${e.master_pub}`))) + m("ul", + contract.exchanges.map(e => m("li", `${e.url}: ${e.master_pub}`))) ]) ]); } @@ -72,7 +73,9 @@ export function main() { view(ctrl: any) { return [ renderContract(contract), - m("button.accept", {onclick: doPayment, disabled: payDisabled}, i18n`Confirm Payment`), + m("button.accept", + {onclick: doPayment, disabled: payDisabled}, + i18n`Confirm Payment`), (error ? m("p.errorbox", error) : []), m(Details, contract) ]; @@ -87,7 +90,7 @@ export function main() { console.log("check-pay error", JSON.stringify(resp)); switch (resp.error) { case "coins-insufficient": - error = "You do not have enough coins of the requested currency."; + error = i18n`You have insufficient funds of the requested currency in your wallet.`; break; default: error = `Error: ${resp.error}`; |