mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Merge pull request #129 from rdymac/patch-22
Text strings to appear translated
This commit is contained in:
commit
0f34dece4c
1 changed files with 3 additions and 3 deletions
|
@ -14,11 +14,11 @@ class HistoryWidget(QTreeWidget):
|
||||||
|
|
||||||
def append(self, address, amount, date):
|
def append(self, address, amount, date):
|
||||||
if address is None:
|
if address is None:
|
||||||
address = "Unknown"
|
address = _("Unknown")
|
||||||
if amount is None:
|
if amount is None:
|
||||||
amount = "Unknown"
|
amount = _("Unknown")
|
||||||
if date is None:
|
if date is None:
|
||||||
date = "Unknown"
|
date = _("Unknown")
|
||||||
item = QTreeWidgetItem([amount, address, date])
|
item = QTreeWidgetItem([amount, address, date])
|
||||||
if float(amount) < 0:
|
if float(amount) < 0:
|
||||||
item.setForeground(0, QBrush(QColor("#BC1E1E")))
|
item.setForeground(0, QBrush(QColor("#BC1E1E")))
|
||||||
|
|
Loading…
Add table
Reference in a new issue