diff options
-rw-r--r-- | locale/de_DE.UTF-8/LC_MESSAGES/remove-old-kernels.mo | bin | 6272 -> 6446 bytes | |||
-rw-r--r-- | locale/en_GB.UTF-8/LC_MESSAGES/remove-old-kernels.mo | bin | 5820 -> 5999 bytes | |||
-rw-r--r-- | locale/en_US.UTF-8/LC_MESSAGES/remove-old-kernels.mo | bin | 5819 -> 5987 bytes | |||
-rw-r--r-- | locale/fr_FR.UTF-8/LC_MESSAGES/remove-old-kernels.mo | bin | 6234 -> 6451 bytes | |||
-rw-r--r-- | locale/nl_NL.UTF-8/LC_MESSAGES/remove-old-kernels.mo | bin | 6196 -> 6382 bytes | |||
-rw-r--r-- | po/de_DE.UTF-8.po | 6 | ||||
-rw-r--r-- | po/en_GB.UTF-8.po | 10 | ||||
-rw-r--r-- | po/en_US.UTF-8.po | 8 | ||||
-rw-r--r-- | po/fr_FR.UTF-8.po | 10 | ||||
-rw-r--r-- | po/nl_NL.UTF-8.po | 10 | ||||
-rw-r--r-- | po/pt_BR.UTF-8.po | 14 | ||||
-rwxr-xr-x | remove-old-kernels | 2 |
12 files changed, 46 insertions, 14 deletions
diff --git a/locale/de_DE.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/de_DE.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex b6b7f33..c36f379 100644 --- a/locale/de_DE.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/de_DE.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/en_GB.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/en_GB.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 9fefaee..bce46d8 100644 --- a/locale/en_GB.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/en_GB.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/en_US.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/en_US.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 992cb25..be906c3 100644 --- a/locale/en_US.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/en_US.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/fr_FR.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/fr_FR.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 1e9f347..86aa819 100644 --- a/locale/fr_FR.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/fr_FR.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/nl_NL.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/nl_NL.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex de3b010..46b11ba 100644 --- a/locale/nl_NL.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/nl_NL.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/po/de_DE.UTF-8.po b/po/de_DE.UTF-8.po index f5771ee..a053609 100644 --- a/po/de_DE.UTF-8.po +++ b/po/de_DE.UTF-8.po @@ -41,9 +41,12 @@ msgstr "kernel" msgid "kernels" msgstr "Kerne" +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each". msgid "y/N/i (i=confirm for each)" msgstr "y/N/i (y=ja N=nein i=jeweils bestätigen)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" msgstr "y/N/q (y=ja N=nein q=verlassen)" @@ -110,6 +113,9 @@ msgstr "INFO: Number to keep is restricted to " msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: Wurde der laufende Kernel seit dem letzten Start deinstalliert? - Abbruch." + msgid "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Verwendung: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n Anzahl] [-N Anzahl] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/po/en_GB.UTF-8.po b/po/en_GB.UTF-8.po index d1b4535..9ad80d1 100644 --- a/po/en_GB.UTF-8.po +++ b/po/en_GB.UTF-8.po @@ -41,13 +41,14 @@ msgstr "kernel" msgid "kernels" msgstr "kernels" -# For languages where y/N/i is not appropriate DO NOT change "y/N/i" -# but edit (y=yes N=no i=confirm) with only 'yes' and 'no' translated. +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each". msgid "y/N/i (i=confirm for each)" msgstr "y/N/i (y=yes N=no i=confirm for each)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" -msgstr "y/N/q (q=quit)" +msgstr "y/N/q (y=yes N=no q=quit)" msgid "interactive" msgstr "interactive" @@ -112,6 +113,9 @@ msgstr "INFO: Number to keep is restricted to " msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." + msgid "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/po/en_US.UTF-8.po b/po/en_US.UTF-8.po index 6431c99..7c91251 100644 --- a/po/en_US.UTF-8.po +++ b/po/en_US.UTF-8.po @@ -41,11 +41,12 @@ msgstr "kernel" msgid "kernels" msgstr "kernels" -# For languages where y/N/i is not appropriate DO NOT change "y/N/i" -# but edit (y=yes N=no i=confirm) with only 'yes' and 'no' translated. +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each". msgid "y/N/i (i=confirm for each)" msgstr "y/N/i (y=yes N=no i=confirm for each)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" msgstr "y/N/q (q=quit)" @@ -112,6 +113,9 @@ msgstr "INFO: Number to keep is restricted to " msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." + msgid "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/po/fr_FR.UTF-8.po b/po/fr_FR.UTF-8.po index def5550..05e083f 100644 --- a/po/fr_FR.UTF-8.po +++ b/po/fr_FR.UTF-8.po @@ -41,9 +41,12 @@ msgstr "noyau" msgid "kernels" msgstr "noyaux" +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each". msgid "y/N/i (i=confirm for each)" msgstr "y/N/i (y=oui N=non i=confirmer pour chaque)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" msgstr "y/N/q (y=oui N=non q=quitter)" @@ -105,10 +108,13 @@ msgid "Bad input value" msgstr "Mauvaise valeur d'entrée" msgid "INFO: Number to keep is restricted to " -msgstr "INFO: Number to keep is restricted to " +msgstr "INFO : Le numéro à conserver est limité à " msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" -msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgstr ", par le dnf 'installonly_limit' défini dans /etc/dnf/dnf.conf" + +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL : le noyau en cours d'exécution a-t-il été désinstallé depuis le dernier démarrage ? - Abandonner." msgid "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n numéro] [-N numéro] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/po/nl_NL.UTF-8.po b/po/nl_NL.UTF-8.po index 1d3197f..b9e5f8e 100644 --- a/po/nl_NL.UTF-8.po +++ b/po/nl_NL.UTF-8.po @@ -41,9 +41,12 @@ msgstr "kernel" msgid "kernels" msgstr "kernels" +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each" msgid "y/N/i (i=confirm for each)" msgstr "y/N/i (y=ja N=nee i=bevestig voor elk)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" msgstr "y/N/q (y=ja N=nee q=vertrekken)" @@ -105,10 +108,13 @@ msgid "Bad input value" msgstr "Slechte invoerwaarde" msgid "INFO: Number to keep is restricted to " -msgstr "INFO: Number to keep is restricted to " +msgstr "INFO: Aantal te behouden is beperkt tot" msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" -msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgstr ", door de dnf 'installonly_limit' ingesteld in /etc/dnf/dnf.conf" + +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: Is de draaiende kernel verwijderd sinds de laatste keer opstarten? - Afbreken." msgid "Usage: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Gebruik: <remove-old kernels|rok> [-a] [-A <1|0>] [-c] [-t] [-f 0-9] [-F 0-9] [-n nummer] [-N nummer] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/po/pt_BR.UTF-8.po b/po/pt_BR.UTF-8.po index a04f6b5..ae1e667 100644 --- a/po/pt_BR.UTF-8.po +++ b/po/pt_BR.UTF-8.po @@ -41,11 +41,14 @@ msgstr "kernel" msgid "kernels" msgstr "kernels" +# For languages where "y/N" is not appropriate DO NOT change "y/N/i" +# but only translate "yes", "no" and "confirm for each". msgid "y/N/i (i=confirm for each)" -msgstr "y/N/i (i=confirmar cada um)" +msgstr "y/N/i (y=ja N=não i=confirmar cada um)" +# Only translate "yes", "no" and "quit" msgid "y/N/q (q=quit)" -msgstr "y/N/q (q=sair)" +msgstr "y/N/q (y=ja N=não q=sair)" msgid "interactive" msgstr "interativo" @@ -105,10 +108,13 @@ msgid "Bad input value" msgstr "Bad input value" msgid "INFO: Number to keep is restricted to " -msgstr "INFO: Number to keep is restricted to " +msgstr "INFORMAÇÃO: O número a manter está limitado a" msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" -msgstr ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" +msgstr ", pelo dnf 'installonly_limit' definido em /etc/dnf/dnf.conf" + +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: O kernel em execução foi desinstalado desde a última inicialização? - Abortando." msgid "Usage: <remove-old kernels|rok> [-a] [-A <y/n>] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" msgstr "Uso: <remove-old kernels|rok> [-a] [-A <y/n>] [-c] [-t] [-f 0-9] [-F 0-9] [-n número] [-N número] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" diff --git a/remove-old-kernels b/remove-old-kernels index cc322f6..79fb601 100755 --- a/remove-old-kernels +++ b/remove-old-kernels @@ -260,7 +260,7 @@ if [[ "$QA" == "1" ]]; then qamssg="| Q:ON "; fi if [[ $ALTCFG -gt 0 ]]; then cfgmssg="|${Normal}${WarnBgCol}F:${ALTCFG}${HdBgCol} "; fi # Check that the running kernel is still installed: https://bugs.mageia.org/show_bug.cgi?id=31015 -[[ -e /lib/modules/$(uname -r) ]] || { echo -e "${RemvCol}FATAL: Has the running kernel been uninstalled since last boot? - Aborting."; exit 1; } +[[ -e /lib/modules/$(uname -r) ]] || { echo -e "${RemvCol}$(i18n "FATAL: Has the running kernel been uninstalled since last boot? - Aborting.")"; exit 1; } # Get the full name of the current running kernel CURK=$(rpm -qf /lib/modules/$(uname -r)) |