Three stretches of a run had no way to report anything, and the bar handled each of them badly. pacman prints nothing at all between "starting full system upgrade" and the transaction it eventually prepares. On a 161-package backlog that silence ran to three minutes and nineteen seconds, and the bar spent all of it frozen on "0 of 161" - a counter seeded from checkupdates before there was anything to count. Working out the upgrade is now a step of its own, with a label and deliberately no item count, because the number was the part that was lying. A step that turns out to have no work is dropped from the bar instead of being handed its share for nothing. Packages already in the cache are never announced by pacman, so a run that only has to unpack used to jump thirty points the moment unpacking started; the same went for AUR with nothing pending and for machines with no Gear Lever or no Flatpaks. pacman's output is line-buffered through stdbuf. Writing to a log rather than a terminal, libc released it in 4KB blocks - around a hundred and sixty "upgrading foo..." lines at a time - so the bar sat still and then leapt to the end of the step in one poll. What is left is work whose length genuinely cannot be known: resolving a transaction, and an AUR helper compiling for a quarter of an hour. Those now creep along a curve that approaches the end of their step without reaching it. The item counter stays put throughout - it is the field that would be lying if it moved - and any real report overtakes the creep. A bar that has not moved since it appeared is read as a hang, and somebody who reads it that way reaches for the power button mid-update. The bar is also monotonic now. Dropping a step rescales the run, and the conflict-recovery loop restarts pacman and its tally from the top; both are honest, neither is a reason to show a bar that retreats.
375 lines
6.4 KiB
Gettext
375 lines
6.4 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 "CachyOS shows a \"Reboot recommended\" notification while an update is still running. Turn it off? [Y/n]"
|
|
msgstr ""
|
|
|
|
#, c-format
|
|
msgid "The reboot notification has been turned off. Undo it by deleting %s."
|
|
msgstr ""
|
|
|
|
#, c-format
|
|
msgid "Could not write %s."
|
|
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
|
|
#. 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 "Checking for updates"
|
|
msgstr ""
|
|
|
|
msgid "Preparing the update"
|
|
msgstr ""
|
|
|
|
msgid "Downloading updates"
|
|
msgstr ""
|
|
|
|
msgid "Updating system packages"
|
|
msgstr ""
|
|
|
|
msgid "Updating AUR packages"
|
|
msgstr ""
|
|
|
|
msgid "Updating Flatpak apps"
|
|
msgstr ""
|
|
|
|
msgid "Updating AppImages"
|
|
msgstr ""
|
|
|
|
msgid "Cleaning up after the update"
|
|
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 ""
|