projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2357424
)
Show amount of feeds being updated
author
Thomas Perl
<thp@thpinfo.com>
Thu, 3 Jun 2010 13:53:06 +0000
(15:53 +0200)
committer
Thomas Perl
<thp@thpinfo.com>
Thu, 3 Jun 2010 13:53:06 +0000
(15:53 +0200)
src/FeedingIt.py
patch
|
blob
|
history
diff --git
a/src/FeedingIt.py
b/src/FeedingIt.py
index
a31d7d8
..
2a373ed
100644
(file)
--- a/
src/FeedingIt.py
+++ b/
src/FeedingIt.py
@@
-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()