From c694583903af0139d3e73ddf2eee34eb5a506d80 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Sun, 23 Apr 2006 20:52:54 +0200 Subject: * 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 --- UpdateManager/UpdateManager.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'UpdateManager') 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 = ""+gettext.ngettext("You can install one update", "You can install %s updates" % len(self.store), len(self.store))+"" - - text_download = _("Download size: %s" % apt_pkg.SizeToStr(self.dl_size)) + text_header = "" + \ + gettext.ngettext("You can install %s update", + "You can install %s updates", + len(self.store)) % \ + len(self.store) + "" + 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() -- cgit v1.2.3