the linked branch has the simple line-wrap fix.

@mpt, there are a few strings in the softwarecenter/db/debfile.py that
are relevant to this bug:

    @property
    def warning(self):
        # FIXME: use more concise warnings
            if deb_state == DebPackage.VERSION_NONE:
                return utf8(_("Only install this file if you trust the 
origin."))    # no existing package installed
                if deb_state == DebPackage.VERSION_OUTDATED:
                    return utf8(_("Please install \"%s\" via your normal 
software channels. Only install this file if you trust the origin.")) % 
utf8(self.name)
                elif deb_state == DebPackage.VERSION_SAME:
                    return utf8(_("Please install \"%s\" via your normal 
software channels. Only install this file if you trust the origin.")) % 
utf8(self.name)
                elif deb_state == DebPackage.VERSION_NEWER:
                    return utf8(_("An older version of \"%s\" is available in 
your normal software channels. Only install this file if you trust the 
origin.")) % utf8(self.name)

Could be of interest as far as rewording the warnings or designing an
alternative dialog.

** Branch linked: lp:~mmcg069/software-center/bug855666

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/855666

Title:
  Long non-wrapping text if an older version is in Ubuntu archives

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/855666/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to