From a1164275671428b28026178ccc91db31a27bfa70 Mon Sep 17 00:00:00 2001 From: Tim L Date: Wed, 29 Nov 2017 13:05:43 -0500 Subject: [PATCH] History: Properly label failed transactions --- components/HistoryTable.qml | 2 ++ components/HistoryTableMobile.qml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index d8024d18..ba3971b5 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -260,6 +260,8 @@ ListView { return blockHeight if (!isOut) return qsTr("UNCONFIRMED") + translationManager.emptyString + if (isFailed) + return qsTr("FAILED") + translationManager.emptyString return qsTr("PENDING") + translationManager.emptyString } diff --git a/components/HistoryTableMobile.qml b/components/HistoryTableMobile.qml index 87545755..5a073919 100644 --- a/components/HistoryTableMobile.qml +++ b/components/HistoryTableMobile.qml @@ -150,6 +150,8 @@ ListView { return qsTr("(%1/%2 confirmations)").arg(confirmations).arg(confirmationsRequired) if (!isOut) return qsTr("UNCONFIRMED") + translationManager.emptyString + if (isFailed) + return qsTr("FAILED") + translationManager.emptyString return qsTr("PENDING") + translationManager.emptyString }