From 1b03b535cfc56ef0fd7d8bb318a265f9bd07ef64 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Wed, 5 Oct 2016 20:49:32 +0200 Subject: [PATCH] Translation source fix --- src/bitmessageqt/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 6fa59542..e91462fd 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2733,8 +2733,8 @@ class MyForm(settingsmixin.SMainWindow): # Since Windows doesn't have UNIX-style signals, it probably doesn't work on Win either, so disabling there if getPowType == "python" and ('win32' in sys.platform or 'win64' in sys.platform) and (ppowQueueSize() > 0 or invQueueSize() > 0): reply = QtGui.QMessageBox.question(self, _translate("MainWindow", "Proof of work pending"), - _translate("MainWindow", "%n object(s) pending proof of work", None, powQueueSize()) + ", " + - _translate("MainWindow", "%n object(s) waiting to be distributed", None, invQueueSize()) + "\n\n" + + _translate("MainWindow", "%n object(s) pending proof of work", None, QtCore.QCoreApplication.CodecForTr, powQueueSize()) + ", " + + _translate("MainWindow", "%n object(s) waiting to be distributed", None, QtCore.QCoreApplication.CodecForTr, invQueueSize()) + "\n\n" + _translate("MainWindow", "Wait until these tasks finish?"), QtGui.QMessageBox.Yes, QtGui.QMessageBox.No) if reply == QtGui.QMessageBox.No: