From 4d7d1a1008202da0256f606f4ef9e42f2bba8484 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Thu, 17 Nov 2016 02:58:27 +0100
Subject: implement / fix i18n for JSX

---
 src/popup/popup.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'src/popup/popup.tsx')

diff --git a/src/popup/popup.tsx b/src/popup/popup.tsx
index 697162cab..d85395625 100644
--- a/src/popup/popup.tsx
+++ b/src/popup/popup.tsx
@@ -239,9 +239,15 @@ class WalletBalanceView extends React.Component<any, any> {
         help
       </ExtensionLink>
     );
-    return <div>You have no balance to show. Need some
-      {" "}{helpLink}{" "}
-      getting started?</div>;
+    return (
+      <div>
+        <i18n.Translate>
+        You have no balance to show. Need some
+          {" "}{helpLink}{" "}
+          getting started?
+        </i18n.Translate>
+      </div>
+    );
   }
 
   formatPending(entry: WalletBalanceEntry): JSX.Element {
-- 
cgit v1.2.3

