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
@@ -230,19 +230,23 @@ msgid "Without a command an interactive menu is shown."
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Progress bar
|
#. Progress bar
|
||||||
msgid "Repository packages"
|
#. The headline of the desktop's progress entry. Whoever reads it has not gone
|
||||||
|
#. looking for it - it appears next to whatever they were doing - so each one
|
||||||
|
#. says outright that this is an update running, rather than naming the kind of
|
||||||
|
#. package on its own.
|
||||||
|
msgid "Updating system packages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "AUR packages"
|
msgid "Updating AUR packages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Flatpaks"
|
msgid "Updating Flatpak apps"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "AppImages"
|
msgid "Updating AppImages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Cleaning up"
|
msgid "Cleaning up after the update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Package"
|
msgid "Package"
|
||||||
|
|||||||
@@ -231,20 +231,24 @@ msgid "Without a command an interactive menu is shown."
|
|||||||
msgstr "Ohne Befehl wird ein interaktives Menü angezeigt."
|
msgstr "Ohne Befehl wird ein interaktives Menü angezeigt."
|
||||||
|
|
||||||
#. Progress bar
|
#. Progress bar
|
||||||
msgid "Repository packages"
|
#. The headline of the desktop's progress entry. Whoever reads it has not gone
|
||||||
msgstr "Paketquellen"
|
#. looking for it - it appears next to whatever they were doing - so each one
|
||||||
|
#. says outright that this is an update running, rather than naming the kind of
|
||||||
|
#. package on its own.
|
||||||
|
msgid "Updating system packages"
|
||||||
|
msgstr "Systempakete werden aktualisiert"
|
||||||
|
|
||||||
msgid "AUR packages"
|
msgid "Updating AUR packages"
|
||||||
msgstr "AUR-Pakete"
|
msgstr "AUR-Pakete werden aktualisiert"
|
||||||
|
|
||||||
msgid "Flatpaks"
|
msgid "Updating Flatpak apps"
|
||||||
msgstr "Flatpaks"
|
msgstr "Flatpak-Programme werden aktualisiert"
|
||||||
|
|
||||||
msgid "AppImages"
|
msgid "Updating AppImages"
|
||||||
msgstr "AppImages"
|
msgstr "AppImages werden aktualisiert"
|
||||||
|
|
||||||
msgid "Cleaning up"
|
msgid "Cleaning up after the update"
|
||||||
msgstr "Wird aufgeräumt"
|
msgstr "Aufräumen nach dem Update"
|
||||||
|
|
||||||
msgid "Package"
|
msgid "Package"
|
||||||
msgstr "Paket"
|
msgstr "Paket"
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ cau_appimage_update() {
|
|||||||
local user uid count rc=0
|
local user uid count rc=0
|
||||||
local -a cmd
|
local -a cmd
|
||||||
|
|
||||||
cau_progress_step appimage "AppImages"
|
cau_progress_step appimage "Updating AppImages"
|
||||||
|
|
||||||
while read -r user uid; do
|
while read -r user uid; do
|
||||||
[[ -n $user ]] || continue
|
[[ -n $user ]] || continue
|
||||||
|
|||||||
+1
-1
@@ -126,7 +126,7 @@ cau_aur_update() {
|
|||||||
|
|
||||||
cau_aur_ready || return 0
|
cau_aur_ready || return 0
|
||||||
|
|
||||||
cau_progress_step aur "AUR packages"
|
cau_progress_step aur "Updating AUR packages"
|
||||||
|
|
||||||
pending="$(cau_aur_pending)"
|
pending="$(cau_aur_pending)"
|
||||||
if (( pending == 0 )); then
|
if (( pending == 0 )); then
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ cau_flatpak_update() {
|
|||||||
|
|
||||||
cau_have flatpak || return 0
|
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
|
# refresh appstream metadata first so remote-ls sees current versions
|
||||||
cau_run_logged flatpak update --appstream --system --noninteractive || true
|
cau_run_logged flatpak update --appstream --system --noninteractive || true
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ cau_pacman_update() {
|
|||||||
local log kind
|
local log kind
|
||||||
local -a flags
|
local -a flags
|
||||||
|
|
||||||
cau_progress_step repo "Repository packages"
|
cau_progress_step repo "Updating system packages"
|
||||||
|
|
||||||
if ! cau_pacman_pending; then
|
if ! cau_pacman_pending; then
|
||||||
cau_info "No repository updates pending"
|
cau_info "No repository updates pending"
|
||||||
@@ -342,7 +342,7 @@ cau_pacman_pacnew_count() {
|
|||||||
cau_pacman_cleanup() {
|
cau_pacman_cleanup() {
|
||||||
local -a orphans
|
local -a orphans
|
||||||
|
|
||||||
cau_progress_step cleanup "Cleaning up"
|
cau_progress_step cleanup "Cleaning up after the update"
|
||||||
|
|
||||||
if [[ $CFG_REMOVE_ORPHANS == yes ]]; then
|
if [[ $CFG_REMOVE_ORPHANS == yes ]]; then
|
||||||
mapfile -t orphans < <(pacman -Qtdq 2>/dev/null)
|
mapfile -t orphans < <(pacman -Qtdq 2>/dev/null)
|
||||||
|
|||||||
Reference in new issue
Block a user