mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -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():
|
||||
if not group_packages:
|
||||
# Outside the context of an operation
|
||||
s = _("Processing packages (%(count)d / %(total)d)")
|
||||
if (total_packages > 0):
|
||||
# Outside the context of an operation
|
||||
s = _("Processing packages (%(count)d / %(total)d)")
|
||||
else:
|
||||
s = _("Install packages.")
|
||||
|
||||
elif mode_packages is INSTALL:
|
||||
s = _n("Installing one package.",
|
||||
"Installing %(num)d packages.", group_packages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue