diff --git a/res/i18n/ts/fr_FR.ts b/res/i18n/ts/fr_FR.ts index 99261aebb3ec55b47a2fb5e5e1c8a91770a64eb0..22cb1e22813b237fb835009234cf73420de23c5f 100644 --- a/res/i18n/ts/fr_FR.ts +++ b/res/i18n/ts/fr_FR.ts @@ -624,12 +624,12 @@ Revoking your UID can only success if it is not already validated by the network <message> <location filename="../../../src/cutecoin/models/txhistory.py" line="173"/> <source>Payment</source> - <translation>Paiement</translation> + <translation>Débit</translation> </message> <message> <location filename="../../../src/cutecoin/models/txhistory.py" line="173"/> <source>Deposit</source> - <translation>Dépôt</translation> + <translation>Crédit</translation> </message> <message> <location filename="../../../src/cutecoin/models/txhistory.py" line="173"/> @@ -809,7 +809,7 @@ Revoking your UID can only success if it is not already validated by the network <message> <location filename="../../ui/informations_tab.ui" line="115"/> <source>WoT</source> - <translation>WoT</translation> + <translation>Toile de Confiance</translation> </message> <message> <location filename="../../ui/informations_tab.ui" line="121"/> @@ -1293,7 +1293,7 @@ Revoking your UID can only success if it is not already validated by the network <message> <location filename="../../../src/cutecoin/models/network.py" line="41"/> <source>Block</source> - <translation>Block</translation> + <translation>Bloc</translation> </message> <message> <location filename="../../../src/cutecoin/models/network.py" line="42"/> @@ -1320,6 +1320,21 @@ Revoking your UID can only success if it is not already validated by the network <source>Version</source> <translation>Version</translation> </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="59"/> + <source>yes</source> + <translation>oui</translation> + </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="59"/> + <source>no</source> + <translation>non</translation> + </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="59"/> + <source>offline</source> + <translation>déconnecté</translation> + </message> </context> <context> <name>NetworkTabWidget</name> @@ -1593,12 +1608,12 @@ Le transfer de monnaie sera annulé et non envoyé.</translation> <message> <location filename="../../../src/cutecoin/gui/transactions_tab.py" line="102"/> <source><b>Deposits</b> {:} {:}</source> - <translation><b>Dépôts</b> {:} {:}</translation> + <translation><b>Crédit</b> {:} {:}</translation> </message> <message> <location filename="../../../src/cutecoin/gui/transactions_tab.py" line="106"/> <source><b>Payments</b> {:} {:}</source> - <translation><b>Paiements</b> {:} {:}</translation> + <translation><b>Débit</b> {:} {:}</translation> </message> <message> <location filename="../../../src/cutecoin/gui/transactions_tab.py" line="110"/> diff --git a/src/cutecoin/models/network.py b/src/cutecoin/models/network.py index a3325a706efbb8fe4bfedb9bad56031b165cc6a4..d76c1b5e5fd257837d0f22a27f180ed822630c31 100644 --- a/src/cutecoin/models/network.py +++ b/src/cutecoin/models/network.py @@ -56,7 +56,7 @@ class NetworkFilterProxyModel(QSortFilterProxyModel): source_data = source_model.data(source_index, role) if index.column() == source_model.columns_types.index('is_member') \ and role == Qt.DisplayRole: - value = {True: 'yes', False: 'no', None: 'offline'} + value = {True: self.tr('yes'), False: self.tr('no'), None: self.tr('offline')} return value[source_data] if index.column() == source_model.columns_types.index('pubkey') \