Text strings to appear translated
authorrdymac <rdy@aol.es>
Mon, 21 Jan 2013 11:05:31 +0000 (12:05 +0100)
committerrdymac <rdy@aol.es>
Mon, 21 Jan 2013 11:05:31 +0000 (12:05 +0100)
Another word to be shown translated from the Lite GUI

lib/history_widget.py

index 3a6caf9..027a9ae 100644 (file)
@@ -14,11 +14,11 @@ class HistoryWidget(QTreeWidget):
 
     def append(self, address, amount, date):
         if address is None:
-          address = "Unknown"
+          address = _("Unknown")
         if amount is None: 
-          amount = "Unknown"
+          amount = _("Unknown")
         if date is None:
-          date = "Unknown"
+          date = _("Unknown")
         item = QTreeWidgetItem([amount, address, date])
         if float(amount) < 0:
           item.setForeground(0, QBrush(QColor("#BC1E1E")))