From 2cfb985fb4e0ddaccc75cf1ebf8ae173cecbef5a Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 05 Oct 2011 16:00:00 +0000 Subject: Fix gettext named parameters asignment Signed-off-by: Gonzalo Odiard --- diff --git a/readtopbar.py b/readtopbar.py index 56901d0..fc4a534 100644 --- a/readtopbar.py +++ b/readtopbar.py @@ -138,4 +138,5 @@ class TopBar(_TopBar): #TRANS: Translate this as Page i of m (eg: Page 4 of 334) self._progressbar.set_text( - _("Page %(current)i of %(total_pages)i") % (current_page, n_pages)) + _("Page %(current)i of %(total_pages)i") % + {'current': current_page, 'total_pages': n_pages}) -- cgit v0.9.1