diff options
| author | glatzor@ubuntu.com <> | 2006-09-11 16:04:40 +0200 |
|---|---|---|
| committer | glatzor@ubuntu.com <> | 2006-09-11 16:04:40 +0200 |
| commit | d37a18474fd00a9cb3e57f13517628095c15bba7 (patch) | |
| tree | b99fa180e0c0d9eea4f7a8ef1d7264ca42a87dfb /DistUpgrade/DistUpgradeControler.py | |
| parent | bacc395f5e0e9ae48883d4cdd1258f98ee6d9b21 (diff) | |
| download | python-apt-d37a18474fd00a9cb3e57f13517628095c15bba7.tar.gz | |
* improve wording of some dialogs: no-longer-supported,
no-upgrades-avaiable and replace-conf-file
* introduce an abort method for the view to provide a visual feedback
that the upgrade was canceled
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 02d25121..800590cb 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -485,15 +485,15 @@ class DistUpgradeControler(object): demoted = [pkg.name for pkg in installed_demotions] demoted.sort() logging.debug("demoted: '%s'" % " ".join(demoted)) - self._view.information(_("Some software no longer officially " - "supported"), - _("These installed packages are " - "no longer officially supported, " - "and are now only " - "community-supported ('universe').\n\n" - "If you don't have 'universe' enabled " + self._view.information(_("Support for some applications ended"), + _("Canonical Ltd. no longer provides " + "support for the following software " + "packages. You can still get support " + "from the community.\n\n" + "If you havn't enabled community " + "maintained software (universe), " "these packages will be suggested for " - "removal in the next step. "), + "removal in the next step."), "\n".join(demoted)) # mark packages that are now obsolete (and where not obsolete @@ -544,6 +544,7 @@ class DistUpgradeControler(object): self.aptcdrom.restoreBackup(self.sources_backup_ext) # generate a new cache self._view.updateStatus(_("Restoring original system state")) + self._view.abort() self.openCache() sys.exit(1) |
