From 930baf236875c9b415b61a711c6f8a5267dea363 Mon Sep 17 00:00:00 2001 From: Mike khiretskiy Date: Tue, 20 May 2014 14:01:27 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=20num?= =?UTF-8?q?=20of=20num?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update/update.py b/update/update.py index ebd0757..966e907 100644 --- a/update/update.py +++ b/update/update.py @@ -287,7 +287,8 @@ class Update: if max_num > 1: one = _print.foreground(Colors.YELLOW).bold("{0}", num) two = _print.foreground(Colors.YELLOW).bold("{0}", max_num) - part = " (%s of %s)" % (one, two) + part = _(" ({current} of {maximum})").format(current=one, + maximum=two) else: part = "" if self.is_binary_pkg(pkg,binary):