diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-03 17:43:51 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-03 17:43:51 +0200 |
commit | 91549d39929195add3f76544989d65f22b9296ea (patch) | |
tree | e3bc7675fe149fd9807da6cb54c3ff377910f054 /pages/confirm-contract.tsx | |
parent | 4156e50b7a8d6955c23698c4b20fcabc41c06228 (diff) | |
download | wallet-core-91549d39929195add3f76544989d65f22b9296ea.tar.xz |
misc. text fixes
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}`; |