diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-10-05 16:00:00 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-10-05 16:00:00 (GMT) |
commit | 2cfb985fb4e0ddaccc75cf1ebf8ae173cecbef5a (patch) | |
tree | 133beabf9f905ceda2d8b325769109ac0a061686 | |
parent | 8ce2c8bb60f5f1574669cbad671ad6661ce9750d (diff) |
Fix gettext named parameters asignment
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | readtopbar.py | 3 |
1 files changed, 2 insertions, 1 deletions
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}) |