Comment 3 for bug 855666

Revision history for this message
Matthew McGowan (mmcg069) wrote :

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.