lint fixes and minor refactorings

This commit is contained in:
alfrix
2022-09-21 11:54:49 -03:00
parent c061378e62
commit 2f427f7b82
2 changed files with 11 additions and 9 deletions

View File

@@ -201,9 +201,9 @@ class SystemPanel(ScreenPanel):
if "package_count" in info:
label.set_markup((
f'<b>{info["package_count"]} '
+ ngettext("Package will be updated", "Packages will be updated", info["package_count"])
+ f':</b>\n'
f'<b>{info["package_count"]} '
+ ngettext("Package will be updated", "Packages will be updated", info["package_count"])
+ f':</b>\n'
))
label.set_halign(Gtk.Align.CENTER)
vbox.add(label)