aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Jackson <barjac@mageia.org>2023-01-24 19:39:03 +0000
committerBarry Jackson <barjac@mageia.org>2023-01-24 19:39:03 +0000
commit443af9e0426e9da41c352f3b1d53bdf356617477 (patch)
treebc3d5045fc57cbb02e3bbcf9f7e9d09749a03d16
parent3686b18c6d96db4b721bccf0a962ff02a07a3b75 (diff)
downloadremove-old-kernels-443af9e0426e9da41c352f3b1d53bdf356617477.tar
remove-old-kernels-443af9e0426e9da41c352f3b1d53bdf356617477.tar.gz
remove-old-kernels-443af9e0426e9da41c352f3b1d53bdf356617477.tar.bz2
remove-old-kernels-443af9e0426e9da41c352f3b1d53bdf356617477.tar.xz
remove-old-kernels-443af9e0426e9da41c352f3b1d53bdf356617477.zip
- drop tabs in rok script
- dont gitignore locale dir
-rw-r--r--.gitignore2
-rw-r--r--po/de_DE.UTF-8.po24
-rw-r--r--po/en_GB.UTF-8.po24
-rw-r--r--po/en_US.UTF-8.po24
-rw-r--r--po/es.UTF-8.po24
-rw-r--r--po/es_ES.UTF-8.po24
-rw-r--r--po/fr_FR.UTF-8.po24
-rw-r--r--po/nb_NO.UTF-8.po24
-rw-r--r--po/nl_NL.UTF-8.po24
-rw-r--r--po/pt_BR.UTF-8.po24
-rw-r--r--po/remove-old-kernels.pot14
-rw-r--r--po/sv_SE.UTF-8.po24
-rw-r--r--[-rwxr-xr-x]remove-old-kernels128
13 files changed, 192 insertions, 192 deletions
diff --git a/.gitignore b/.gitignore
index 0a0833a..5531651 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
*~
*.swp
-po/*.mo
+#po/*.mo
.directory
.remove-old-kernels.kate-swp
diff --git a/po/de_DE.UTF-8.po b/po/de_DE.UTF-8.po
index 9aa319c..481c2cf 100644
--- a/po/de_DE.UTF-8.po
+++ b/po/de_DE.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: psyca\n"
"Language-Team: psyca and Google\n"
@@ -78,6 +78,15 @@ msgstr " X = Behalten für (X)tables-addons -neuste. (nur im erweiterten Mod
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = Behalte kernel-*-devel für installierte (K)ernel. (nur im erweiterten Modus)"
+msgid "Must be root to edit configuration"
+msgstr "Muss root sein, um die Konfiguration zu bearbeiten"
+
+msgid "Tap spacebar"
+msgstr "Drücken Sie auf die Leertaste"
+
+msgid "No such alternative configuration file:"
+msgstr "Keine solche alternative Konfigurationsdatei:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Lesen fehlgeschlagen:"
@@ -87,20 +96,14 @@ msgstr "Ihre alternative Konfigurationsdatei existiert nicht:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Entweder ersetzen oder ALTCFG=0 setzen in"
-msgid "Must be root to edit configuration"
-msgstr "Muss root sein, um die Konfiguration zu bearbeiten"
-
-msgid "No such alternative configuration file:"
-msgstr "Keine solche alternative Konfigurationsdatei:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Bitte verwenden Sie 0 oder 1 für AUS und EIN"
msgid "Bad input value"
msgstr "Falscher Eingabewert"
-msgid "Tap spacebar"
-msgstr "Drücken Sie auf die Leertaste"
+msgid "Tap spacebar to exit"
+msgstr "Drücken Sie zum Beenden auf die Leertaste"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Willkommen bei 'remove-old-kernels' Interactive"
@@ -138,9 +141,6 @@ msgstr "Befehle, die verwendet werden würden"
msgid "Command that would be used"
msgstr "Befehl, der verwendet werden würde"
-msgid "Tap spacebar to exit"
-msgstr "Drücken Sie zum Beenden auf die Leertaste"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Der Testmodus ist aktiviert – Kernel werden nicht entfernt"
diff --git a/po/en_GB.UTF-8.po b/po/en_GB.UTF-8.po
index 9f161b6..1773da3 100644
--- a/po/en_GB.UTF-8.po
+++ b/po/en_GB.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -78,6 +78,15 @@ msgstr " X = keeping for (X)tables-addons -latest. (only in advanced mode)"
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
+msgid "Must be root to edit configuration"
+msgstr "Must be root to edit configuration"
+
+msgid "Tap spacebar"
+msgstr "Tap spacebar"
+
+msgid "No such alternative configuration file:"
+msgstr "No such alternative configuration file:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Failed to read:"
@@ -87,20 +96,14 @@ msgstr "Your alternative configuration file does not exist:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Either replace it or set ALTCFG=0 in"
-msgid "Must be root to edit configuration"
-msgstr "Must be root to edit configuration"
-
-msgid "No such alternative configuration file:"
-msgstr "No such alternative configuration file:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Please use 0 or 1 for OFF and ON"
msgid "Bad input value"
msgstr "Bad input value"
-msgid "Tap spacebar"
-msgstr "Tap spacebar"
+msgid "Tap spacebar to exit"
+msgstr "Tap spacebar to exit"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Welcome to 'remove-old-kernels' Interactive"
@@ -138,9 +141,6 @@ msgstr "Commands that would be used"
msgid "Command that would be used"
msgstr "Command that would be used"
-msgid "Tap spacebar to exit"
-msgstr "Tap spacebar to exit"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Test mode is on - kernels will not be removed"
diff --git a/po/en_US.UTF-8.po b/po/en_US.UTF-8.po
index 8a0399a..a7b1196 100644
--- a/po/en_US.UTF-8.po
+++ b/po/en_US.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -78,6 +78,15 @@ msgstr " X = keeping for (X)tables-addons -latest. (only in advanced mode)"
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
+msgid "Must be root to edit configuration"
+msgstr "Must be root to edit configuration"
+
+msgid "Tap spacebar"
+msgstr "Tap spacebar"
+
+msgid "No such alternative configuration file:"
+msgstr "No such alternative configuration file:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Failed to read:"
@@ -87,20 +96,14 @@ msgstr "Your alternative configuration file does not exist:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Either replace it or set ALTCFG=0 in"
-msgid "Must be root to edit configuration"
-msgstr "Must be root to edit configuration"
-
-msgid "No such alternative configuration file:"
-msgstr "No such alternative configuration file:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Please use 0 or 1 for OFF and ON"
msgid "Bad input value"
msgstr "Bad input value"
-msgid "Tap spacebar"
-msgstr "Tap spacebar"
+msgid "Tap spacebar to exit"
+msgstr "Tap spacebar to exit"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Welcome to 'remove-old-kernels' Interactive"
@@ -138,9 +141,6 @@ msgstr "Commands that would be used"
msgid "Command that would be used"
msgstr "Command that would be used"
-msgid "Tap spacebar to exit"
-msgstr "Tap spacebar to exit"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Test mode is on - kernels will not be removed"
diff --git a/po/es.UTF-8.po b/po/es.UTF-8.po
index 47f5036..456f6fc 100644
--- a/po/es.UTF-8.po
+++ b/po/es.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: RWR\n"
"Language-Team: \n"
@@ -79,6 +79,15 @@ msgstr " X = conservando para (X)tables-addons -latest. (sólo en modo avanz
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = conservando kernel-*-devel para el (K)ernel instalado. (sólo en modo avanzado)"
+msgid "Must be root to edit configuration"
+msgstr "Debe ser administrador para editar la configuración"
+
+msgid "Tap spacebar"
+msgstr "Pulse espaciador"
+
+msgid "No such alternative configuration file:"
+msgstr "No existe tal archivo de configuración:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: No se leyó:"
@@ -88,12 +97,6 @@ msgstr "No existe ningún archivo de configuración alternativo:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Reemplácelo o asigne ALTCFG=0 en"
-msgid "Must be root to edit configuration"
-msgstr "Debe ser administrador para editar la configuración"
-
-msgid "No such alternative configuration file:"
-msgstr "No existe tal archivo de configuración:"
-
# Sin más contexto, no estoy seguro si habla de habilitado/deshabilitado o..., pero creo que se entenderá en el contexto con las palabras inglesas
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Por favor use 0 o 1 para OFF y ON"
@@ -101,8 +104,8 @@ msgstr "Por favor use 0 o 1 para OFF y ON"
msgid "Bad input value"
msgstr "Valor de entrada equivocado"
-msgid "Tap spacebar"
-msgstr "Pulse espaciador"
+msgid "Tap spacebar to exit"
+msgstr "Pulse espaciador para salir"
# "kernel" se usa en español también y aparece en los nombres de los archivos
msgid "Welcome to 'remove-old-kernels' Interactive"
@@ -142,9 +145,6 @@ msgstr "Comandos que se usarían"
msgid "Command that would be used"
msgstr "Comando que se usaría"
-msgid "Tap spacebar to exit"
-msgstr "Pulse espaciador para salir"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "En modo de prueba - no se quitará ningún kernel"
diff --git a/po/es_ES.UTF-8.po b/po/es_ES.UTF-8.po
index 8d9af1e..39f8f23 100644
--- a/po/es_ES.UTF-8.po
+++ b/po/es_ES.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: RWR\n"
"Language-Team: \n"
@@ -79,6 +79,15 @@ msgstr " X = conservando para (X)tables-addons -latest. (sólo en modo avanz
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = conservando kernel-*-devel para el (K)ernel instalado. (sólo en modo avanzado)"
+msgid "Must be root to edit configuration"
+msgstr "Debes ser administrador para editar la configuración"
+
+msgid "Tap spacebar"
+msgstr "Pulsa espaciador"
+
+msgid "No such alternative configuration file:"
+msgstr "No existe tal archivo de configuración:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: No se ha leído:"
@@ -88,12 +97,6 @@ msgstr "No existe ningún archivo de configuración alternativo:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Reemplázalo o asigne ALTCFG=0 en"
-msgid "Must be root to edit configuration"
-msgstr "Debes ser administrador para editar la configuración"
-
-msgid "No such alternative configuration file:"
-msgstr "No existe tal archivo de configuración:"
-
# Sin más contexto, no estoy seguro si habla de habilitado/deshabilitado o..., pero creo que se entenderá en el contexto con las palabras inglesas
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Por favor usa 0 o 1 para OFF y ON"
@@ -101,8 +104,8 @@ msgstr "Por favor usa 0 o 1 para OFF y ON"
msgid "Bad input value"
msgstr "Valor de entrada equivocado"
-msgid "Tap spacebar"
-msgstr "Pulsa espaciador"
+msgid "Tap spacebar to exit"
+msgstr "Pulsa espaciador para salir"
# "kernel" se usa en español también y aparece en los nombres de los archivos
msgid "Welcome to 'remove-old-kernels' Interactive"
@@ -142,9 +145,6 @@ msgstr "Comandos que se usarían"
msgid "Command that would be used"
msgstr "Comando que se usaría"
-msgid "Tap spacebar to exit"
-msgstr "Pulsa espaciador para salir"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "En modo de prueba - no se quitará ningún kernel"
diff --git a/po/fr_FR.UTF-8.po b/po/fr_FR.UTF-8.po
index 6715520..1781fab 100644
--- a/po/fr_FR.UTF-8.po
+++ b/po/fr_FR.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: Google\n"
"Language-Team: Google\n"
@@ -78,6 +78,15 @@ msgstr " X = à conserver pour (X)tables-addons -latest. (uniquement en mode
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = conserver kernel-*-devel pour le noyau installé. (uniquement en mode avancé)"
+msgid "Must be root to edit configuration"
+msgstr "Il faut être root pour modifier la configuration"
+
+msgid "Tap spacebar"
+msgstr "Appuyez sur la barre d'espace"
+
+msgid "No such alternative configuration file:"
+msgstr "Aucun fichier de configuration alternatif de ce type :"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL : Échec de la lecture :"
@@ -87,20 +96,14 @@ msgstr "Votre fichier de configuration alternatif n'existe pas :"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Remplacez-le ou définissez ALTCFG=0 dans"
-msgid "Must be root to edit configuration"
-msgstr "Il faut être root pour modifier la configuration"
-
-msgid "No such alternative configuration file:"
-msgstr "Aucun fichier de configuration alternatif de ce type :"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Veuillez utiliser 0 ou 1 pour OFF et ON"
msgid "Bad input value"
msgstr "Mauvaise valeur d'entrée"
-msgid "Tap spacebar"
-msgstr "Appuyez sur la barre d'espace"
+msgid "Tap spacebar to exit"
+msgstr "Appuyez sur la barre d'espace pour quitter"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Bienvenue à 'remove-old-kernels' Interactive"
@@ -138,9 +141,6 @@ msgstr "Commandes qui seraient utilisées"
msgid "Command that would be used"
msgstr "Commande qui serait utilisée"
-msgid "Tap spacebar to exit"
-msgstr "Appuyez sur la barre d'espace pour quitter"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Le mode test est activé - les noyaux ne seront pas supprimés"
diff --git a/po/nb_NO.UTF-8.po b/po/nb_NO.UTF-8.po
index 3eda716..d13c69c 100644
--- a/po/nb_NO.UTF-8.po
+++ b/po/nb_NO.UTF-8.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: 2023-01-15 16:20+0100\n"
"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
"Language-Team: Norwegian Bokmaal <i10n-no@lister.huftis.org>\n"
@@ -81,6 +81,15 @@ msgstr " X = behold xtables-addons «-latest». (bare i avansert modus)"
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = behold kernel-*-devel for installert kjerne. (bare i avansert modus)"
+msgid "Must be root to edit configuration"
+msgstr "Du må være root for å redigere konfigurasjonen"
+
+msgid "Tap spacebar"
+msgstr "Trykk på mellomromstasten"
+
+msgid "No such alternative configuration file:"
+msgstr "Ingen slik alternativ konfigurasjonsfil:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Kunne ikke lese:"
@@ -90,20 +99,14 @@ msgstr "Den alternative konfigurasjonsfilen din finnes ikke:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Enten bytt den ut eller sett inn ALTCFG=0"
-msgid "Must be root to edit configuration"
-msgstr "Du må være root for å redigere konfigurasjonen"
-
-msgid "No such alternative configuration file:"
-msgstr "Ingen slik alternativ konfigurasjonsfil:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Bruk 0 eller 1 for AV og PÃ…"
msgid "Bad input value"
msgstr "Ugyldig inngangsverdi"
-msgid "Tap spacebar"
-msgstr "Trykk på mellomromstasten"
+msgid "Tap spacebar to exit"
+msgstr "Trykk på mellomromstasten for å avslutte"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Velkommen til «remove-old-kernels»-Interaktiv"
@@ -141,9 +144,6 @@ msgstr "Kommandoer som vil bli brukt"
msgid "Command that would be used"
msgstr "Kommando som vil bli brukt"
-msgid "Tap spacebar to exit"
-msgstr "Trykk på mellomromstasten for å avslutte"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Testmodus er på - kjerner blir ikke fjernet"
diff --git a/po/nl_NL.UTF-8.po b/po/nl_NL.UTF-8.po
index aa17700..9d94682 100644
--- a/po/nl_NL.UTF-8.po
+++ b/po/nl_NL.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: Google\n"
"Language-Team: Google\n"
@@ -78,6 +78,15 @@ msgstr " X = behouden voor Xtables-add-ons -nieuwste. (alleen in geavanceerd
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
+msgid "Must be root to edit configuration"
+msgstr "Moet root zijn om de configuratie te bewerken"
+
+msgid "Tap spacebar"
+msgstr "Tik op de spatiebalk"
+
+msgid "No such alternative configuration file:"
+msgstr "Geen dergelijk alternatief configuratiebestand:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Kan niet lezen:"
@@ -87,20 +96,14 @@ msgstr "Uw alternatieve configuratiebestand bestaat niet:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Vervang het of stel ALTCFG=0 in"
-msgid "Must be root to edit configuration"
-msgstr "Moet root zijn om de configuratie te bewerken"
-
-msgid "No such alternative configuration file:"
-msgstr "Geen dergelijk alternatief configuratiebestand:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Gebruik 0 of 1 voor UIT en AAN"
msgid "Bad input value"
msgstr "Slechte invoerwaarde"
-msgid "Tap spacebar"
-msgstr "Tik op de spatiebalk"
+msgid "Tap spacebar to exit"
+msgstr "Tik op de spatiebalk om af te sluiten"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Welkom bij 'remove-old-kernels' Interactief"
@@ -138,9 +141,6 @@ msgstr "Commando's die zouden worden gebruikt"
msgid "Command that would be used"
msgstr "Commando dat zou worden gebruikt"
-msgid "Tap spacebar to exit"
-msgstr "Tik op de spatiebalk om af te sluiten"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Testmodus is ingeschakeld - kernels worden niet verwijderd"
diff --git a/po/pt_BR.UTF-8.po b/po/pt_BR.UTF-8.po
index 8eac615..b727dbf 100644
--- a/po/pt_BR.UTF-8.po
+++ b/po/pt_BR.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -78,6 +78,15 @@ msgstr " X = mantendo para (X)tables-addons -latest. (apenas no modo avança
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = mantendo kernel-*-devel para o (K)ernel instalado. (apenas modo avançado)"
+msgid "Must be root to edit configuration"
+msgstr "Deve ser root para editar a configuração"
+
+msgid "Tap spacebar"
+msgstr "Aperte espaço"
+
+msgid "No such alternative configuration file:"
+msgstr "Não existe arquivo de configuração alternativo:"
+
msgid "FATAL: Failed to read:"
msgstr "FATAL: Falha de leitura:"
@@ -87,20 +96,14 @@ msgstr "Seu arquivo de configuração alternativo não existe:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Substitua-o ou configure ALTCFG=0 em"
-msgid "Must be root to edit configuration"
-msgstr "Deve ser root para editar a configuração"
-
-msgid "No such alternative configuration file:"
-msgstr "Não existe arquivo de configuração alternativo:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Please use 0 or 1 for OFF and ON"
msgid "Bad input value"
msgstr "Bad input value"
-msgid "Tap spacebar"
-msgstr "Aperte espaço"
+msgid "Tap spacebar to exit"
+msgstr "Aperte espaço para sair"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Bem-vindo ao 'remove-old-kernels' Interativo"
@@ -138,9 +141,6 @@ msgstr "Comandos que seriam usados"
msgid "Command that would be used"
msgstr "Comando que seria usado"
-msgid "Tap spacebar to exit"
-msgstr "Aperte espaço para sair"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Modo de teste ativado - kernels não serão removidos"
diff --git a/po/remove-old-kernels.pot b/po/remove-old-kernels.pot
index f6637dd..ac043ce 100644
--- a/po/remove-old-kernels.pot
+++ b/po/remove-old-kernels.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2023-01-22 17:36+0000\n"
+ "POT-Creation-Date: 2023-01-24 19:10+0000\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"
@@ -79,22 +79,22 @@ msgstr ""
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr ""
-msgid "FATAL: Failed to read:"
+msgid "Must be root to edit configuration"
msgstr ""
-msgid "Your alternative configuration file does not exist:"
+msgid "Tap spacebar"
msgstr ""
-msgid "Either replace it or set ALTCFG=0 in"
+msgid "No such alternative configuration file:"
msgstr ""
-msgid "Must be root to edit configuration"
+msgid "FATAL: Failed to read:"
msgstr ""
-msgid "Tap spacebar"
+msgid "Your alternative configuration file does not exist:"
msgstr ""
-msgid "No such alternative configuration file:"
+msgid "Either replace it or set ALTCFG=0 in"
msgstr ""
msgid "Please use 0 or 1 for OFF and ON"
diff --git a/po/sv_SE.UTF-8.po b/po/sv_SE.UTF-8.po
index 6a41995..64bc03c 100644
--- a/po/sv_SE.UTF-8.po
+++ b/po/sv_SE.UTF-8.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: remove-old-kernels\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2023-01-15 12:28+0000\n"
+"POT-Creation-Date: 2023-01-24 19:10+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>\n"
"Language-Team: Mageia\n"
@@ -78,6 +78,15 @@ msgstr " X = behÃ¥ller för (X)tables-addons -latest. (endast i avancerat lÃ
msgid " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)"
msgstr " K = behåller kernel-*-devel för installerad (K)ärna. (endast i avancerat läge)"
+msgid "Must be root to edit configuration"
+msgstr "Måste vara root för att redigera konfiguration"
+
+msgid "Tap spacebar"
+msgstr "Tryck på mellanslag"
+
+msgid "No such alternative configuration file:"
+msgstr "Ingen sådan alternativ konfigurationsfil:"
+
msgid "FATAL: Failed to read:"
msgstr "DÖDLIG: Läsningen misslyckades:"
@@ -87,20 +96,14 @@ msgstr "Din alternativa konfigurationsfil finns inte:"
msgid "Either replace it or set ALTCFG=0 in"
msgstr "Byt ut den eller ställ in ALTCFG=0"
-msgid "Must be root to edit configuration"
-msgstr "Måste vara root för att redigera konfiguration"
-
-msgid "No such alternative configuration file:"
-msgstr "Ingen sådan alternativ konfigurationsfil:"
-
msgid "Please use 0 or 1 for OFF and ON"
msgstr "Vänligen använd 0 eller 1 för AV och PÅ"
msgid "Bad input value"
msgstr "Felaktigt inmatningsvärde"
-msgid "Tap spacebar"
-msgstr "Tryck på mellanslag"
+msgid "Tap spacebar to exit"
+msgstr "Tryck på mellanslag för att avsluta"
msgid "Welcome to 'remove-old-kernels' Interactive"
msgstr "Välkommen till 'remove-old-kernels' Interaktiv"
@@ -138,9 +141,6 @@ msgstr "Kommandon som kommer att användas"
msgid "Command that would be used"
msgstr "Kommandot som kommer att användas"
-msgid "Tap spacebar to exit"
-msgstr "Tryck på mellanslag för att avsluta"
-
msgid "Test mode is on - kernels will not be removed"
msgstr "Test-läge är påslaget - kärnorna kommer inte tas bort"
diff --git a/remove-old-kernels b/remove-old-kernels
index 838fb02..907d6ee 100755..100644
--- a/remove-old-kernels
+++ b/remove-old-kernels
@@ -64,7 +64,7 @@ if [[ ed -ne 1 ]]; then
else
# If alt cfg file exists source it
if [[ -f /etc/remove-old-kernels_${cfgno}.cfg ]]; then
- source /etc/remove-old-kernels_${cfgno}.cfg
+ source /etc/remove-old-kernels_${cfgno}.cfg
ALTCFG=${cfgno}
else
echo -e "${RemvCol}$(i18n "No such alternative configuration file:")${Normal} /etc/remove-old-kernels_${cfgno}.cfg"
@@ -178,7 +178,7 @@ currcfg=${maincfg}
o=$(echo "$1"|cut -d- -f2)
[[ "$o" == "?" ]] && o="h"
if [[ ${#@} = 1 ]] && [[ "h" =~ $o ]]; then
- clear; usage; exit 0
+ clear; usage; exit 0
fi
# Check dnf limit before option parsing
@@ -190,64 +190,64 @@ chk_cfg
# Parse command line options which take precedence over script and cfg file
if [[ ${#} -gt 0 ]] ; then
- while getopts aA:ctf:F:plmvn:N:qQ:?h NAME; do
- case ${NAME} in
- a) MODE="A"
- ;;
- A) chkroot
- # Allow y/n and 0/1 for compatability with older versions
- CRONN=${OPTARG}
- if [[ ${#CRONN} = 1 ]] && [[ "01ny" =~ "$CRONN" ]]; then
- if [[ "ny" =~ "$CRONN" ]]; then
- echo "$(i18n "Please use 0 or 1 for OFF and ON")"
- exit 0
- else
- /usr/bin/sed -i "s/CRON=.*/CRON=${CRONN}/" ${currcfg} && CRON=$CRONN
- fi
- else
- echo "$(i18n "Bad input value")"; exit 1
- fi
- ;;
- c) MODE="A" && [[ ${#CRON} -gt 0 ]] && [[ "1y" =~ "$CRON" ]] || exit 0
- ;;
- t) DEBUG=1
- ;;
- f) [[ ${OPTARG} =~ ^[0-9] ]] && altcfg ${OPTARG}
- ;;
- F) chkroot
- [[ ${OPTARG} =~ ^[0-9] ]] && ed=1 && altcfg ${OPTARG}
- ;;
- p) VISU=1
- ;;
- q) QA=1
- ;;
- Q) chkroot
- [[ ${OPTARG} =~ ^[0-1] ]] && QAN="${OPTARG}"
- if cat ${currcfg}|grep -q "QA="; then
- /usr/bin/sed -i "s/QA=.*/QA=${QAN}/" ${currcfg} && QA=${QAN}
- else
- echo "QA=${QAN}" >> ${currcfg} && QA=${QAN}
- fi
- ;;
- n) [[ ${OPTARG} =~ ^[0-9]+$ ]] && NBK=${OPTARG}
- ;;
- N) chkroot
- NBKN=${OPTARG}
- if [[ $NBKN =~ ^[0-9]+$ ]] && [[ $NBKN -ge $dnfNBK ]]; then
- /usr/bin/sed -i "s/NBK=.*/NBK=$NBKN/" ${currcfg} && NBK=$NBKN
- else
- dnfmsg=true
- fi
- ;;
- l) tail -n1000 /var/log/remove-old-kernels.log && { echo -e "\n$(i18n "Tap spacebar to exit")\n"; read -n1; echo -en "${ClearLine}"; }
- ;;
- m) Normal="";RemvCol="";KeepCol="";InfoCol="";HdBgCol="";WarnBgCol="";Clearline=""
- ;;
- v) printf "$(rpm -q remove-old-kernels)\n"
- exit 2
- ;;
- h|?) clear; usage; exit 0
- ;;
+ while getopts aA:ctf:F:plmvn:N:qQ:?h NAME; do
+ case ${NAME} in
+ a) MODE="A"
+ ;;
+ A) chkroot
+ # Allow y/n and 0/1 for compatability with older versions
+ CRONN=${OPTARG}
+ if [[ ${#CRONN} = 1 ]] && [[ "01ny" =~ "$CRONN" ]]; then
+ if [[ "ny" =~ "$CRONN" ]]; then
+ echo "$(i18n "Please use 0 or 1 for OFF and ON")"
+ exit 0
+ else
+ /usr/bin/sed -i "s/CRON=.*/CRON=${CRONN}/" ${currcfg} && CRON=$CRONN
+ fi
+ else
+ echo "$(i18n "Bad input value")"; exit 1
+ fi
+ ;;
+ c) MODE="A" && [[ ${#CRON} -gt 0 ]] && [[ "1y" =~ "$CRON" ]] || exit 0
+ ;;
+ t) DEBUG=1
+ ;;
+ f) [[ ${OPTARG} =~ ^[0-9] ]] && altcfg ${OPTARG}
+ ;;
+ F) chkroot
+ [[ ${OPTARG} =~ ^[0-9] ]] && ed=1 && altcfg ${OPTARG}
+ ;;
+ p) VISU=1
+ ;;
+ q) QA=1
+ ;;
+ Q) chkroot
+ [[ ${OPTARG} =~ ^[0-1] ]] && QAN="${OPTARG}"
+ if cat ${currcfg}|grep -q "QA="; then
+ /usr/bin/sed -i "s/QA=.*/QA=${QAN}/" ${currcfg} && QA=${QAN}
+ else
+ echo "QA=${QAN}" >> ${currcfg} && QA=${QAN}
+ fi
+ ;;
+ n) [[ ${OPTARG} =~ ^[0-9]+$ ]] && NBK=${OPTARG}
+ ;;
+ N) chkroot
+ NBKN=${OPTARG}
+ if [[ $NBKN =~ ^[0-9]+$ ]] && [[ $NBKN -ge $dnfNBK ]]; then
+ /usr/bin/sed -i "s/NBK=.*/NBK=$NBKN/" ${currcfg} && NBK=$NBKN
+ else
+ dnfmsg=true
+ fi
+ ;;
+ l) tail -n1000 /var/log/remove-old-kernels.log && { echo -e "\n$(i18n "Tap spacebar to exit")\n"; read -n1; echo -en "${ClearLine}"; }
+ ;;
+ m) Normal="";RemvCol="";KeepCol="";InfoCol="";HdBgCol="";WarnBgCol="";Clearline=""
+ ;;
+ v) printf "$(rpm -q remove-old-kernels)\n"
+ exit 2
+ ;;
+ h|?) clear; usage; exit 0
+ ;;
esac
done
fi
@@ -380,8 +380,8 @@ for kernelType in ${LISTK}; do
# Return to the line if there exists at least one installedKernel of this kernelType
if [[ ${installedKernelCounter} -eq 1 ]] ; then
- echo -ne "\r ==> ${kernelType}"
- echo ""
+ echo -ne "\r ==> ${kernelType}"
+ echo ""
fi
# Remove time stamp
@@ -467,9 +467,9 @@ if [[ ${nbt} -ne 0 ]] ; then
fi
plural="s"; [[ ${nbt} -eq 1 ]] && plural=""
if [[ "$plural" == "s" ]]; then
- kernstr="$(i18n "kernels"):"
+ kernstr="$(i18n "kernels"):"
else
- kernstr="$(i18n "kernel"):"
+ kernstr="$(i18n "kernel"):"
fi
read -p "$(i18n "Remove") ${nbt} $kernstr ? $(i18n "y/N/i (i=confirm for each)") " -n 1 response
if [[ -z ${response} ]] ; then response="n" ; fi