Show amount of feeds being updated
authorThomas Perl <thp@thpinfo.com>
Thu, 3 Jun 2010 13:53:06 +0000 (15:53 +0200)
committerThomas Perl <thp@thpinfo.com>
Thu, 3 Jun 2010 13:53:06 +0000 (15:53 +0200)
src/FeedingIt.py

index a31d7d8..2a373ed 100644 (file)
@@ -238,7 +238,12 @@ class DownloadBar(gtk.ProgressBar):
             install_opener(opener)
 
             if self.total>0:
-                self.set_text("Updating...")
+                # In preparation for i18n/l10n
+                def N_(a, b, n):
+                    return (a if n == 1 else b)
+
+                self.set_text(N_('Updating %d feed', 'Updating %d feeds', self.total) % self.total)
+
                 self.fraction = 0
                 self.set_fraction(self.fraction)
                 self.show_all()