summaryrefslogtreecommitdiffstats
path: root/module/gui
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui')
-rw-r--r--module/gui/Overview.py4
-rw-r--r--module/gui/connector.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/gui/Overview.py b/module/gui/Overview.py
index 72daf2e46..edc2e9ccc 100644
--- a/module/gui/Overview.py
+++ b/module/gui/Overview.py
@@ -176,9 +176,9 @@ class OverviewDelegate(QItemDelegate):
return size
if progress in (0,100):
- sizeline = QString(_("Size: %s") % formatSize(maxSize))
+ sizeline = QString(_("Size:") + "%s" % formatSize(maxSize))
else:
- sizeline = QString(_("Size: %s / %s") % (formatSize(currentSize), formatSize(maxSize)))
+ sizeline = QString(_("Size:") + "%s / %s" % (formatSize(currentSize), formatSize(maxSize)))
f = painter.font()
f.setPointSize(12)
diff --git a/module/gui/connector.py b/module/gui/connector.py
index 594a0c316..634912f64 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -88,7 +88,7 @@ class Connector(QObject):
self.connectionID = uuid().hex
if not server_version == SERVER_VERSION:
- self.emit(SIGNAL("errorBox"), _("server is version %s client accepts version %s") % (server_version, SERVER_VERSION))
+ self.emit(SIGNAL("errorBox"), _("server is version %(new)s client accepts version %(current)s") % { "new": server_version, "current": SERVER_VERSION})
return False
return True