Say on the progress bar that this is an update running
The headline read "Paketquellen" over KDE's own "0 von 123 Elementen" - two nouns and a count, with nothing anywhere saying that the machine was updating itself. Nobody goes looking for this entry; it turns up beside whatever they were doing, so it has to explain itself in one line. Each step now says so outright: "Systempakete werden aktualisiert", "Flatpak-Programme werden aktualisiert", and so on. The count line underneath belongs to Plasma, which only counts in bytes, files, dirs or items - "Paketen" is not on offer, so "Elementen" stays, now under a headline that says what is being counted.
This commit is contained in:
1 parent
ea3f0d21fa
commit
6538c1510d
6 files changed
+28
-20
No files matched your search
@@ -43,7 +43,7 @@ cau_appimage_update() {
|
||||
local user uid count rc=0
|
||||
local -a cmd
|
||||
|
||||
cau_progress_step appimage "AppImages"
|
||||
cau_progress_step appimage "Updating AppImages"
|
||||
|
||||
while read -r user uid; do
|
||||
[[ -n $user ]] || continue
|
||||
|
||||
+1
-1
@@ -126,7 +126,7 @@ cau_aur_update() {
|
||||
|
||||
cau_aur_ready || return 0
|
||||
|
||||
cau_progress_step aur "AUR packages"
|
||||
cau_progress_step aur "Updating AUR packages"
|
||||
|
||||
pending="$(cau_aur_pending)"
|
||||
if (( pending == 0 )); then
|
||||
|
||||
@@ -28,7 +28,7 @@ cau_flatpak_update() {
|
||||
|
||||
cau_have flatpak || return 0
|
||||
|
||||
cau_progress_step flatpak "Flatpaks"
|
||||
cau_progress_step flatpak "Updating Flatpak apps"
|
||||
|
||||
# refresh appstream metadata first so remote-ls sees current versions
|
||||
cau_run_logged flatpak update --appstream --system --noninteractive || true
|
||||
|
||||
@@ -198,7 +198,7 @@ cau_pacman_update() {
|
||||
local log kind
|
||||
local -a flags
|
||||
|
||||
cau_progress_step repo "Repository packages"
|
||||
cau_progress_step repo "Updating system packages"
|
||||
|
||||
if ! cau_pacman_pending; then
|
||||
cau_info "No repository updates pending"
|
||||
@@ -342,7 +342,7 @@ cau_pacman_pacnew_count() {
|
||||
cau_pacman_cleanup() {
|
||||
local -a orphans
|
||||
|
||||
cau_progress_step cleanup "Cleaning up"
|
||||
cau_progress_step cleanup "Cleaning up after the update"
|
||||
|
||||
if [[ $CFG_REMOVE_ORPHANS == yes ]]; then
|
||||
mapfile -t orphans < <(pacman -Qtdq 2>/dev/null)
|
||||
|
||||
Reference in new issue
Block a user