diff --git a/res/i18n/ts/fr_FR.ts b/res/i18n/ts/fr_FR.ts index 22cb1e22813b237fb835009234cf73420de23c5f..65d3f214b2b320a2b4dbc8eb07bea429855e89ed 100644 --- a/res/i18n/ts/fr_FR.ts +++ b/res/i18n/ts/fr_FR.ts @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.1" language="fr_FR" sourcelanguage="en"> +<TS version="2.0" language="fr_FR" sourcelanguage="en"> <context> <name>@default</name> <message> @@ -1354,6 +1354,29 @@ Revoking your UID can only success if it is not already validated by the network <translation>Définir comme noeud racine</translation> </message> </context> +<context> + <name>NetworkTableModel</name> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="112"/> + <source>Online</source> + <translation>Connecté</translation> + </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="113"/> + <source>Offline</source> + <translation>Déconnecté</translation> + </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="114"/> + <source>Unsynchronized</source> + <translation>Désynchronisé</translation> + </message> + <message> + <location filename="../../../src/cutecoin/models/network.py" line="115"/> + <source>Corrupted</source> + <translation>Corrompu</translation> + </message> +</context> <context> <name>Node</name> <message> diff --git a/src/cutecoin/models/network.py b/src/cutecoin/models/network.py index d76c1b5e5fd257837d0f22a27f180ed822630c31..4c43f07266bb30461b23ccdb5385b7289d478b5e 100644 --- a/src/cutecoin/models/network.py +++ b/src/cutecoin/models/network.py @@ -109,10 +109,10 @@ class NetworkTableModel(QAbstractTableModel): Node.CORRUPTED: QColor(Qt.lightGray) } self.node_states = { - Node.ONLINE: 'Online', - Node.OFFLINE: 'Offline', - Node.DESYNCED: 'Unsynchronized', - Node.CORRUPTED: 'Corrupted' + Node.ONLINE: self.tr('Online'), + Node.OFFLINE: self.tr('Offline'), + Node.DESYNCED: self.tr('Unsynchronized'), + Node.CORRUPTED: self.tr('Corrupted') } @property