if app.channel.endswith('-partner') and app.supported:
tooltip = _('%s is provided by a third party vendor from the Canonical partner repository.') % app.name
icon_name = 'application-partner'
emblems.append((icon_name, tooltip))
elif app.component == 'main' or app.supported:
tooltip = _('Canonical Ltd. provides technical support and security updates for %s') % app.name
icon_name = 'application-supported'
emblems.append((icon_name, tooltip))
elif app.thirdparty or app.channel:
tooltip = '%s is provided by a third party vendor and is therefore not an official part of Ubuntu. The third party vendor is responsible for support and security updates.' % app.name
icon_name = 'application-proprietary'
emblems.append((icon_name, tooltip))
if app.component == 'universe':
tooltip = _('This application is provided by the Ubuntu community.')
icon_name = 'application-community'
emblems.append((icon_name, tooltip))
if app.component == 'multiverse' or app.thirdparty:
tooltip = _('The use, modification and distribution of %s is restricted by copyright or by legal terms in some countries.') % app.name
icon_name = 'application-proprietary'
emblems.append((icon_name, tooltip))
if cache.has_key(app.pkgname):
for deps, tooltip, icon_name in self.dependencies_map:
return _('Canonical does no longer provide updates for %s in Ubuntu %s. Updates may be available in a newer version of Ubuntu.') % (app.name, self.get_distro_release())
return _('Canonical provides critical updates for %(appname)s until %(support_end_month_str)s %(support_end_year)s.') % {
'appname': app.name,
'support_end_month_str': support_end_month_str,
'support_end_year': support_end_year }
app.component == 'main'
if app.component == 'restricted':
if support_ended:
return _('Canonical does no longer provide updates for %s in Ubuntu %s. Updates may be available in a newer version of Ubuntu.') % (app.name, self.get_distro_release())
return _('Canonical provides critical updates supplied by the developers of %(appname)s until %(support_end_month_str)s %(support_end_year)s.') % {
'appname': app.name,
'support_end_month_str': support_end_month_str,
'support_end_year': support_end_year }
app.component == 'restricted'
if app.thirdparty or app.channel:
return _('Canonical does not provide updates for %s. Some updates may be provided by the third party vendor.') % app.name
if app.component == 'main':
return _('Canonical provides critical updates for %s.') % app.name
if app.component == 'restricted':
return _('Canonical provides critical updates supplied by the developers of %s.') % app.name
if app.component == 'universe' or app.component == 'multiverse':
return _('Canonical does not provide updates for %s. Some updates may be provided by the Ubuntu community.') % app.name
return _('Application %s has a unkown maintenance status.') % app.name