Files
cachy-auto-update/po/cachy-auto-update.pot
T
Felitendo 6aa9b147b8 Put a progress bar on the desktop, and repair the notifications around it
An unattended run takes twenty minutes and said nothing at all while it worked.
The notification area now carries a live entry for the duration - which step is
running, which package is being unpacked, item count, percentage. It is a job
in the sense of org.kde.JobViewServer, the same mechanism Dolphin uses while
copying files, rather than a notification, which is what makes it a real bar
instead of a line of text.

That mechanism needs a process of its own. The desktop ties a job to the D-Bus
connection that requested it and withdraws it the moment that connection
closes, so gdbus, busctl and dbus-send cannot drive one at all - every
invocation is a fresh connection that closes again immediately. A small helper
therefore runs inside each graphical session for the length of the update,
holding the connection open and taking instructions on stdin. It needs
python-gobject; without it there is no bar and nothing else changes. Position
within the repository step is read from pacman's own "(120/260) upgrading foo"
lines. Its other (n/m) sequences are ignored on purpose: checking keys, package
integrity and loading files each count up to the same total, and following them
would run the bar to the end three times before the first package was unpacked.

The "system updated" notification never arrived, which is what prompted looking
at any of this. Tagged notifications were posted with --replace-id naming the
start message, and Plasma silently drops a Notify() whose replaces_id points at
an expired notification: no bubble, no error, and the id it hands back is the
dead one it just ignored. The start bubble times out in seconds and a run lasts
minutes, so the result fell into exactly that hole every single time. The
previous message is now withdrawn and a fresh one posted.

How long a message stays is set per message rather than left to the daemon.
Anything reporting that the machine still needs a person - a failed update, a
locked package database, packages that had to be held back - waits until it is
dismissed. Everything else times out on its own, a successful update included;
nothing should have to be clicked away for having gone right. Daemons do keep
critical-urgency messages up and the specification asks them to, but that is a
should, it says nothing about the normal-urgency messages here that still need
somebody to act, and urgency separately governs sound and do-not-disturb.

"Restart recommended" is gone, and NotifyReboot with it. The running kernel
loses its module tree the moment pacman unpacks the new one, so the notice
fired while the run was still building AUR packages and pulling Flatpaks, where
it reads as an invitation to restart in the middle of an update. The state is
still recorded and cachy-auto-update status still reports it. The option went
rather than only its default, because an installed system keeps its own
configuration file and would have carried on notifying regardless.
2026-08-14 10:49:02 +02:00

351 lines
5.7 KiB
Gettext

# Translation template for cachy-auto-update.
# Copyright (C) 2026 Felitendo
# This file is distributed under the same license as cachy-auto-update.
#
msgid ""
msgstr ""
"Project-Id-Version: cachy-auto-update 1.0.0\n"
"Report-Msgid-Bugs-To: https://github.com/Felitendo/cachy-auto-update/issues\n"
"POT-Creation-Date: 2026-08-08 00:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Status labels
msgid "ON"
msgstr ""
msgid "OFF"
msgstr ""
msgid "Automatic updates"
msgstr ""
msgid "Notifications"
msgstr ""
msgid "Last check"
msgstr ""
msgid "Last successful update"
msgstr ""
msgid "Next scheduled run"
msgstr ""
msgid "never"
msgstr ""
msgid "unknown"
msgstr ""
msgid "not scheduled"
msgstr ""
#, c-format
msgid "%d packages"
msgstr ""
msgid "just now"
msgstr ""
#, c-format
msgid "%d minutes ago"
msgstr ""
#, c-format
msgid "%d hours ago"
msgstr ""
#, c-format
msgid "%d days ago"
msgstr ""
msgid "The last run reported a problem - see 'cachy-auto-update log'."
msgstr ""
msgid "A restart is recommended to finish a kernel update."
msgstr ""
#. Conditions
msgid "Current conditions:"
msgstr ""
msgid "on AC power"
msgstr ""
msgid "on battery"
msgstr ""
#, c-format
msgid "on battery (%d%%, threshold %d%%)"
msgstr ""
msgid "running on battery"
msgstr ""
#, c-format
msgid "battery at %d%%, below the %d%% threshold"
msgstr ""
msgid "no game detected"
msgstr ""
msgid "a game is running (GameMode)"
msgstr ""
#, c-format
msgid "a game is running (%s)"
msgstr ""
msgid "an application is blocking idle (fullscreen game or video)"
msgstr ""
msgid "package system is free"
msgstr ""
msgid "pacman's database is locked by another process"
msgstr ""
#, c-format
msgid "%s is currently running"
msgstr ""
#. Menu
msgid "Toggle automatic updates"
msgstr ""
msgid "Toggle notifications"
msgstr ""
msgid "Update now"
msgstr ""
msgid "Show log"
msgstr ""
msgid "Show current conditions"
msgstr ""
msgid "Quit"
msgstr ""
msgid "Press any key to continue..."
msgstr ""
#. Commands
msgid "Automatic updates are on."
msgstr ""
msgid "Automatic updates are off."
msgstr ""
msgid "Notifications are on."
msgstr ""
msgid "Notifications are off."
msgstr ""
msgid "This command has to run as root."
msgstr ""
msgid "Could not write the configuration file."
msgstr ""
msgid "Could not enable the systemd timer."
msgstr ""
msgid "/etc/sudoers.d/cachy-auto-update is invalid; refusing to enable."
msgstr ""
msgid "No AUR helper found - install paru or yay for AUR updates."
msgstr ""
msgid "base-devel is missing - AUR packages cannot be built without it."
msgstr ""
msgid "cachy-update also notifies about available updates. Turn its notifications off? [Y/n]"
msgstr ""
msgid "cachy-update's update check has been disabled."
msgstr ""
msgid "No log yet."
msgstr ""
#, c-format
msgid "Unknown command: %s"
msgstr ""
#. Help
msgid "Usage: cachy-auto-update [command]"
msgstr ""
msgid "Usage: cachy-auto-update notifications on|off"
msgstr ""
msgid "Commands:"
msgstr ""
msgid "Turn automatic updates on"
msgstr ""
msgid "Turn automatic updates off"
msgstr ""
msgid "Turn desktop notifications on or off"
msgstr ""
msgid "Show the current state and conditions"
msgstr ""
msgid "Run an update now"
msgstr ""
msgid "Show the log of the last run"
msgstr ""
msgid "Show this help"
msgstr ""
msgid "Show the version"
msgstr ""
msgid "Without a command an interactive menu is shown."
msgstr ""
#. Progress bar
msgid "Repository packages"
msgstr ""
msgid "AUR packages"
msgstr ""
msgid "Flatpaks"
msgstr ""
msgid "AppImages"
msgstr ""
msgid "Cleaning up"
msgstr ""
msgid "Package"
msgstr ""
msgid "The update was stopped before it finished."
msgstr ""
#. Notifications
msgid "System updated"
msgstr ""
#, c-format
msgid "%d updates were installed."
msgstr ""
msgid "Update failed"
msgstr ""
msgid "Something went wrong while updating. Run 'cachy-auto-update log' for details."
msgstr ""
msgid "Package database locked"
msgstr ""
msgid "pacman's lock file looks left over from an interrupted update. Updates are paused until it is cleared."
msgstr ""
msgid "Some packages were held back"
msgstr ""
#, c-format
msgid "%s could not be updated and was skipped. Everything else is up to date."
msgstr ""
#, c-format
msgid "Held back: %s"
msgstr ""
msgid "The last run was stopped before it finished."
msgstr ""
msgid "Finishing an interrupted update"
msgstr ""
msgid "The last update was cut short, most likely because the machine was switched off. It is being finished now."
msgstr ""
msgid "Installing updates"
msgstr ""
msgid "%d packages are being updated. Please leave the computer switched on until this is done."
msgstr ""
msgid "Settings"
msgstr ""
msgid "(none)"
msgstr ""
msgid "Up/Down select - Space or Right changes - q goes back"
msgstr ""
msgid "Package names separated by spaces, empty to clear:"
msgstr ""
msgid "Notify when an update starts"
msgstr ""
msgid "Notify after a successful update"
msgstr ""
msgid "Notify when something goes wrong"
msgstr ""
msgid "Time between update runs"
msgstr ""
msgid "Postpone while a game is running"
msgstr ""
msgid "Only update on mains power"
msgstr ""
msgid "Minimum battery level (%)"
msgstr ""
msgid "Update AUR packages"
msgstr ""
msgid "Update Flatpaks"
msgstr ""
msgid "Update AppImages"
msgstr ""
msgid "Also rebuild -git packages"
msgstr ""
msgid "AUR helper"
msgstr ""
msgid "Resolve package conflicts automatically"
msgstr ""
msgid "Trim the package cache"
msgstr ""
msgid "Cached versions to keep"
msgstr ""
msgid "Remove packages nothing needs any more"
msgstr ""
msgid "Never update these packages"
msgstr ""