summaryrefslogtreecommitdiffstats
path: root/module/gui
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-10 14:07:44 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-10 14:07:44 +0100
commit626cea75e122729a76efbbf98011d39d22f72fee (patch)
tree6f4b023a7f35c4684185ece5be039cb78a24d6a3 /module/gui
parentwebif user managment (diff)
downloadpyload-626cea75e122729a76efbbf98011d39d22f72fee.tar.xz
new l18n files
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