Browse Source

pending->unconfirmed

283
ThomasV 9 years ago
parent
commit
f1822a9603
  1. 4
      gui/kivy/uix/screens.py
  2. 4
      gui/qt/history_widget.py
  3. 2
      gui/qt/main_window.py
  4. 2
      gui/stdio.py
  5. 2
      gui/text.py

4
gui/kivy/uix/screens.py

@ -127,10 +127,10 @@ class HistoryScreen(CScreen):
except Exception:
time_str = _("error")
if conf == -1:
time_str = _('unverified')
time_str = _('Not Verified')
icon = "atlas://gui/kivy/theming/light/close"
elif conf == 0:
time_str = _('pending')
time_str = _('Unconfirmed')
icon = "atlas://gui/kivy/theming/light/unconfirmed"
elif conf < 6:
conf = max(1, conf)

4
gui/qt/history_widget.py

@ -44,10 +44,10 @@ class HistoryWidget(MyTreeWidget):
if conf > 0:
time_str = format_time(timestamp)
if conf == -1:
time_str = 'unverified'
time_str = _('Not Verified')
icon = QIcon(":icons/unconfirmed.png")
elif conf == 0:
time_str = 'pending'
time_str = _('Unconfirmed')
icon = QIcon(":icons/unconfirmed.png")
elif conf < 6:
icon = QIcon(":icons/clock%d.png"%conf)

2
gui/qt/main_window.py

@ -2477,7 +2477,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
else:
time_string = "unknown"
else:
time_string = "pending"
time_string = "unconfirmed"
if value is not None:
value_string = format_satoshis(value, True)

2
gui/stdio.py

@ -94,7 +94,7 @@ class ElectrumGui:
except Exception:
time_str = "unknown"
else:
time_str = 'pending'
time_str = 'unconfirmed'
label = self.wallet.get_label(tx_hash)
messages.append( format_str%( time_str, label, format_satoshis(value, whitespaces=True), format_satoshis(balance, whitespaces=True) ) )

2
gui/text.py

@ -115,7 +115,7 @@ class ElectrumGui:
except Exception:
time_str = "------"
else:
time_str = 'pending'
time_str = 'unconfirmed'
label = self.wallet.get_label(tx_hash)
if len(label) > 40:

Loading…
Cancel
Save