Files
cachy-auto-update/po/cachy-auto-update.pot
T
Felitendo c308b7e286 Add a settings screen so nothing needs a text editor
All eighteen options are now reachable from the menu as a cursor list: arrows
select, Space or Right cycles a value, q goes back, changes are written
immediately. A numbered menu would have run out of digits.

Three real bugs surfaced while building it, each found by testing against an
actual pty rather than a pipe:

- Labels went through printf as format strings, so the percent sign in
  "Minimum battery level (%)" was an invalid conversion. cau_msg_in now only
  treats a message as a format string when arguments were actually passed -
  otherwise any literal % a translator writes is a trap.

- Mixing bash's line-mode read into a single-key interface left the following
  read -sn1 receiving nothing at all, reproducibly, so the screen froze after
  editing the package list. Replaced with a small line editor built on the same
  single-character reader.

- Backspace was being swallowed: in canonical mode DEL is the ERASE character
  and the line discipline consumes it, and bash returns to canonical mode
  between each read -sn1. The interface now holds non-canonical mode for its
  whole lifetime and hands the terminal back only around actions that print or
  prompt, with a trap restoring it on Ctrl-C.

Translations and config reads are memoized; the screen redraws every label on
every keypress and a fork per lookup was the reason the redraw was slow enough
to matter.
2026-08-08 16:18:59 +02:00

338 lines
5.6 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 ""
#. 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 "Restart recommended"
msgstr ""
msgid "A new kernel was installed. Please restart when it suits you."
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 "Notify when a restart is needed"
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 ""