From a4e6966241d418b8df05ddd7fc5556ce3c6c97af Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Tue, 20 Feb 2018 17:17:36 +0100
Subject: i18n fixes

---
 src/webex/pages/confirm-create-reserve.tsx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'src/webex/pages/confirm-create-reserve.tsx')

diff --git a/src/webex/pages/confirm-create-reserve.tsx b/src/webex/pages/confirm-create-reserve.tsx
index d83c56665..3c5bb5752 100644
--- a/src/webex/pages/confirm-create-reserve.tsx
+++ b/src/webex/pages/confirm-create-reserve.tsx
@@ -278,18 +278,22 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
     if (rci.versionMatch.currentCmp === -1) {
       return (
         <p className="errorbox">
+          <i18n.Translate wrap="span">
           Your wallet (protocol version <span>{rci.walletVersion}</span>) might be outdated.<span> </span>
           The exchange has a higher, incompatible
           protocol version (<span>{rci.exchangeVersion}</span>).
+          </i18n.Translate>
         </p>
       );
     }
     if (rci.versionMatch.currentCmp === 1) {
       return (
         <p className="errorbox">
+          <i18n.Translate wrap="span">
           The chosen exchange (protocol version <span>{rci.exchangeVersion}</span> might be outdated.<span> </span>
           The exchange has a lower, incompatible
           protocol version than your wallet (protocol version <span>{rci.walletVersion}</span>).
+          </i18n.Translate>
         </p>
       );
     }
@@ -330,13 +334,15 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
     console.log(exchanges);
     return (
       <div>
-        Please select an exchange.  You can review the details before after your selection.
+        i18n.str`Please select an exchange.  You can review the details before after your selection.`
 
         {this.props.suggestedExchangeUrl && (
           <div>
             <h2>Bank Suggestion</h2>
             <button className="pure-button button-success" onClick={() => this.select(this.props.suggestedExchangeUrl)}>
+              <i18n.Translate wrap="span">
               Select <strong>{this.props.suggestedExchangeUrl}</strong>
+              </i18n.Translate> 
             </button>
           </div>
         )}
@@ -352,7 +358,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
           </div>
         )}
 
-        <h2>Manual Selection</h2>
+        <h2>i18n.str`Manual Selection`</h2>
         <ManualSelection initialUrl={this.url() || ""} onSelect={(url: string) => this.select(url)} />
       </div>
     );
-- 
cgit v1.2.3

