@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.
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 VERSION_ NONE:
return utf8(_("Only install this file if you trust the origin.")) # no existing package installed 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)
def warning(self):
# FIXME: use more concise warnings
if deb_state == DebPackage.
if deb_state == DebPackage.
Could be of interest as far as rewording the warnings or designing an alternative dialog.