mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[packages] Improve message when no packages are processed at all.
This commit is contained in:
parent
517dbfab06
commit
7b145c2a36
1 changed files with 6 additions and 2 deletions
|
@ -55,8 +55,12 @@ def _change_mode(mode):
|
||||||
|
|
||||||
def pretty_name():
|
def pretty_name():
|
||||||
if not group_packages:
|
if not group_packages:
|
||||||
|
if (total_packages > 0):
|
||||||
# Outside the context of an operation
|
# Outside the context of an operation
|
||||||
s = _("Processing packages (%(count)d / %(total)d)")
|
s = _("Processing packages (%(count)d / %(total)d)")
|
||||||
|
else:
|
||||||
|
s = _("Install packages.")
|
||||||
|
|
||||||
elif mode_packages is INSTALL:
|
elif mode_packages is INSTALL:
|
||||||
s = _n("Installing one package.",
|
s = _n("Installing one package.",
|
||||||
"Installing %(num)d packages.", group_packages)
|
"Installing %(num)d packages.", group_packages)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue