diff options
| author | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-30 01:48:36 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-pc> | 2006-09-30 01:48:36 +0200 |
| commit | 2828d69c65668115dd39a46f921ef59086168556 (patch) | |
| tree | 4981e53356a467823a4ccc50e2de26994a89d260 | |
| parent | 9318df1e981635e6d0df4eaa98e3b2d62bb32c88 (diff) | |
| download | python-apt-2828d69c65668115dd39a46f921ef59086168556.tar.gz | |
* import gettext correctly in some other places too
| -rw-r--r-- | UpdateManager/UpdateManager.py | 2 | ||||
| -rw-r--r-- | update-manager | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 965afb79..1a4c7c40 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -601,7 +601,7 @@ class UpdateManager(SimpleGladeApp): self.refresh_updates_count() num_updates = self.cache.installCount if num_updates == 0: - text_header= "<big><b>%s</b></big>" %_("Your system is up-to-date") + text_header= "<big><b>%s</b></big>" % _("Your system is up-to-date") text_download = "" self.notebook_details.set_sensitive(False) self.treeview_update.set_sensitive(False) diff --git a/update-manager b/update-manager index 21b03702..f67ebd50 100644 --- a/update-manager +++ b/update-manager @@ -36,8 +36,6 @@ from gettext import gettext as _ from optparse import OptionParser if __name__ == "__main__": - _ = gettext.gettext - APP="update-manager" DIR="/usr/share/locale" |
