1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-29 09:05:11 +01:00

adjust unlocked balance waiting text

This commit is contained in:
Jaquee 2017-03-03 12:30:53 +01:00
parent e826f7c1ec
commit 2ea54a2401
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

View File

@ -335,7 +335,7 @@ ApplicationWindow {
console.log("New block found - updating history")
currentWallet.history.refresh()
timeToUnlock = currentWallet.history.minutesToUnlock
leftPanel.minutesToUnlockTxt = (timeToUnlock > 0)? qsTr("Unlocked balance (~%1 min)").arg(timeToUnlock) : qsTr("Unlocked balance");
leftPanel.minutesToUnlockTxt = (timeToUnlock > 0)? (timeToUnlock == 20)? qsTr("Unlocked balance (waiting for block)").arg(timeToUnlock) : qsTr("Unlocked balance (~%1 min)").arg(timeToUnlock) : qsTr("Unlocked balance");
}
}