aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 214686da..a87def23 100644
--- a/main.qml
+++ b/main.qml
@@ -260,7 +260,10 @@ ApplicationWindow {
var currHeight = blockHeight.toFixed(0)
if(currHeight > splashCounter + 1000){
splashCounter = currHeight
- var progressText = qsTr("Synchronizing blocks %1/%2").arg(currHeight).arg(currentWallet.daemonBlockChainHeight().toFixed(0));
+ var locale = Qt.locale()
+ var currHeightString = currHeight.toLocaleString(locale,"f",0)
+ var targetHeightString = currentWallet.daemonBlockChainHeight().toLocaleString(locale,"f",0)
+ var progressText = qsTr("Synchronizing blocks %1/%2").arg(currHeightString).arg(targetHeightString);
console.log("Progress text: " + progressText);
splash.heightProgressText = progressText
}