added number of security upgrades text

pull/2/head
Hans P. Möller 4 years ago
parent 37b3f7cade
commit 70bc904cee

@ -119,6 +119,12 @@ class Dialog(QWidget):
text += "\n"
text += _("This will mean packages could be upgraded, installed or"
" removed.")
if self.security_upgrades > 0:
text += "\n" + str(self.security_upgrades)
if self.security_upgrades == 1:
text += _(" is a security upgrade.")
else:
text += _(" are security upgrades.")
if len(pkg_delete) > 0:
toDelete = QTreeWidgetItem([_('Remove')])

@ -85,7 +85,15 @@ msgstr ""
msgid "This will mean packages could be upgraded, installed or removed."
msgstr "Esto implica que paquetes pueden actualizarse, instalarse o removerse."
#: lubuntu-notifier.py:109
#: lubuntu-notifier.py:125
msgid " is a security upgrade."
msgstr " es una actualización de seguridad."
#: lubuntu-notifier.py:127
msgid " are security upgrades."
msgstr " son actualizaciones de seguridad."
#: lubuntu-notifier.py:127
msgid "Remove"
msgstr "Quitar"

Loading…
Cancel
Save