From 91549d39929195add3f76544989d65f22b9296ea Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Mon, 3 Oct 2016 17:43:51 +0200
Subject: misc. text fixes

---
 pages/confirm-contract.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'pages/confirm-contract.tsx')

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}`;
-- 
cgit v1.2.3

