From 51e6b727f5f6d3205b9de82e5d7f8ea717befe71 Mon Sep 17 00:00:00 2001
From: Vincent Texier <vit@free.fr>
Date: Sat, 13 Jun 2015 12:44:17 +0200
Subject: [PATCH] Fix bug translating unicode character

---
 res/i18n/ts/fr_FR.ts                 | 27 +++++++++++++++++++--------
 src/cutecoin/gui/informations_tab.py |  4 ++--
 2 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/res/i18n/ts/fr_FR.ts b/res/i18n/ts/fr_FR.ts
index 9514a6dc..b8f39854 100644
--- a/res/i18n/ts/fr_FR.ts
+++ b/res/i18n/ts/fr_FR.ts
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="2.0" language="fr_FR" sourcelanguage="en">
+<!DOCTYPE TS>
+<TS version="2.0" language="fr_FR" sourcelanguage="en">
 <context>
     <name>@default</name>
     <message>
@@ -43,7 +44,7 @@
     <message>
         <location filename="../../ui/about.ui" line="22"/>
         <source>label</source>
-        <translation type="unfinished"></translation>
+        <translation></translation>
     </message>
 </context>
 <context>
@@ -1068,16 +1069,26 @@ Revoking your UID can only success if it is not already validated by the network
     <message>
         <location filename="../../../src/cutecoin/gui/informations_tab.py" line="74"/>
         <source>Actual growth c = UD(t)/[M(t-1)/N(t-1)]</source>
-        <translation type="unfinished">Croissance actuelle c = DU(t)/[M(t -1)/N(t-1)]</translation>
+        <translation>Croissance actuelle c = DU(t)/[M(t -1)/N(t-1)]</translation>
     </message>
     <message>
         <location filename="../../../src/cutecoin/gui/informations_tab.py" line="140"/>
-        <source>UD(t+1) = MAX { UD(t) ; c &#xc3;&#x97; M(t) / N(t) }</source>
-        <translation type="unfinished"></translation>
+        <source>UD(t+1) = MAX { UD(t) ; c × M(t) / N(t) }</source>
+        <translation type="obsolete">DU(t+1) = MAX { DU(t) ; c × M(t) / N(t) }</translation>
+    </message>
+    <message>
+        <location filename="../../../src/cutecoin/gui/informations_tab.py" line="140"/>
+        <source>UD(t+1) = MAX { UD(t) ; c u00D7 M(t) / N(t) }</source>
+        <translation type="obsolete">DU(t+1) = MAX { DU(t) ; c u00D7 M(t) / N(t) }</translation>
     </message>
     <message>
         <location filename="../../../src/cutecoin/gui/informations_tab.py" line="140"/>
-        <source>{:} = MAX {{ {:} {:} ; {:2.0%} &#xc3;&#x97; {:} {:} / {:} }}</source>
+        <source>UD(t+1) = MAX { UD(t) ; c &amp;#215; M(t) / N(t) }</source>
+        <translation type="unfinished">DU(t+1) = MAX { DU(t) ; c &amp;#215; M(t) / N(t) }</translation>
+    </message>
+    <message>
+        <location filename="../../../src/cutecoin/gui/informations_tab.py" line="140"/>
+        <source>{:} = MAX {{ {:} {:} ; {:2.0%} &amp;#215; {:} {:} / {:} }}</source>
         <translation type="unfinished"></translation>
     </message>
 </context>
@@ -1318,7 +1329,7 @@ Revoking your UID can only success if it is not already validated by the network
     <message>
         <location filename="../../../src/cutecoin/gui/mainwindow.py" line="249"/>
         <source>Download link</source>
-        <translation type="unfinished">Lien de téléchargement</translation>
+        <translation>Lien de téléchargement</translation>
     </message>
 </context>
 <context>
@@ -1974,7 +1985,7 @@ Veuillez rééssayer plus tard</translation>
     <message>
         <location filename="../../../src/cutecoin/gui/wallets_tab.py" line="119"/>
         <source>{:} {:} in [{:} ; {:}] {:}</source>
-        <translation type="unfinished"></translation>
+        <translation>{:} {:} compris entre [{:} ; {:}] {:}</translation>
     </message>
 </context>
 <context>
diff --git a/src/cutecoin/gui/informations_tab.py b/src/cutecoin/gui/informations_tab.py
index a0cb61cf..d6e36615 100644
--- a/src/cutecoin/gui/informations_tab.py
+++ b/src/cutecoin/gui/informations_tab.py
@@ -147,9 +147,9 @@ class InformationsTabWidget(QWidget, Ui_InformationsTabWidget):
                 """).format(
                     self.tr('{:2.0%} / {:} days').format(params['c'], params['dt'] / 86400),
                     self.tr('Fundamental growth (c) / Delta time (dt)'),
-                    self.tr('UD(t+1) = MAX { UD(t) ; c × M(t) / N(t) }'),
+                    self.tr('UD(t+1) = MAX { UD(t) ; c &#215; M(t) / N(t) }'),
                     self.tr('Universal Dividend (formula)'),
-                    self.tr('{:} = MAX {{ {:} {:} ; {:2.0%} × {:} {:} / {:} }}').format(
+                    self.tr('{:} = MAX {{ {:} {:} ; {:2.0%} &#215; {:} {:} / {:} }}').format(
                         localized_ud_t1,
                         localized_ud,
                         self.get_referential_diff_name(),
-- 
GitLab