summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-04-23 20:52:54 +0200
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-04-23 20:52:54 +0200
commitc694583903af0139d3e73ddf2eee34eb5a506d80 (patch)
tree03f83b5665bfbab6dd20fde3dfdb2f3c97e808a7 /UpdateManager
parent207495de25fe5b2ad158e74c46fbe36d9a42a540 (diff)
downloadpython-apt-c694583903af0139d3e73ddf2eee34eb5a506d80.tar.gz
* Fix the use of gettext in UpdateManager : You can install X updates
* Do not mention the need of the unanttended-updates package - the tooltip isn't even shown if the option is disabled * Fix the channel terminolgy in the add custom apt line dialog
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 59a19612..b4090589 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -437,9 +437,12 @@ class UpdateManager(SimpleGladeApp):
self.textview_changes.get_buffer().set_text("")
self.textview_descr.get_buffer().set_text("")
else:
- text_header = "<big><b>"+gettext.ngettext("You can install one update", "You can install %s updates" % len(self.store), len(self.store))+"</b></big>"
-
- text_download = _("Download size: %s" % apt_pkg.SizeToStr(self.dl_size))
+ text_header = "<big><b>" + \
+ gettext.ngettext("You can install %s update",
+ "You can install %s updates",
+ len(self.store)) % \
+ len(self.store) + "</b></big>"
+ text_download = _("Download size: %s") % apt_pkg.SizeToStr(self.dl_size)
self.notebook_details.set_sensitive(True)
self.treeview_update.set_sensitive(True)
self.button_install.grab_default()