diff options
22 files changed, 80 insertions, 102 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 d2fec57..05d6cc0 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 c39bd4d..fb18a66 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 b105661..350c227 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/es.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/es.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex baf92d6..297e20c 100644 --- a/locale/es.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/es.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/es_ES.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/es_ES.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 1870be9..19e1cf4 100644 --- a/locale/es_ES.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/es_ES.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 d2a2ddb..88e00d1 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/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differnew file mode 100644 index 0000000..3485380 --- /dev/null +++ b/locale/nb_NO.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 213e35d..020275b 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/locale/pt_BR.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/pt_BR.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 0c8bbe6..397dc79 100644 --- a/locale/pt_BR.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/pt_BR.UTF-8/LC_MESSAGES/remove-old-kernels.mo diff --git a/locale/sv_SE.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/sv_SE.UTF-8/LC_MESSAGES/remove-old-kernels.mo Binary files differindex 037af91..f793e1c 100644 --- a/locale/sv_SE.UTF-8/LC_MESSAGES/remove-old-kernels.mo +++ b/locale/sv_SE.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 2a8a2e2..5cf62fe 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: psyca\n" "Language-Team: psyca and Google\n" @@ -140,6 +140,9 @@ 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" @@ -178,6 +181,3 @@ msgstr "Gewinnen" #~ msgid "quit" #~ msgstr "beenden" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Drücken Sie zum Beenden auf die Leertaste" diff --git a/po/en_GB.UTF-8.po b/po/en_GB.UTF-8.po index 0321aaa..9f161b6 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Gain" #~ msgid "quit" #~ msgstr "quit" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Tap spacebar to exit" diff --git a/po/en_US.UTF-8.po b/po/en_US.UTF-8.po index 53253f6..8a0399a 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Gain" #~ msgid "quit" #~ msgstr "quit" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Tap spacebar to exit" diff --git a/po/es.UTF-8.po b/po/es.UTF-8.po index 47ef188..6decd71 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: RWR\n" "Language-Team: \n" @@ -142,6 +142,9 @@ 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" @@ -180,6 +183,3 @@ msgstr "Conseguir" #~ msgid "quit" #~ msgstr "salir" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Pulse espaciador para salir" diff --git a/po/es_ES.UTF-8.po b/po/es_ES.UTF-8.po index 0a996cc..46a132a 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: RWR\n" "Language-Team: \n" @@ -142,6 +142,9 @@ 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" @@ -180,6 +183,3 @@ msgstr "Conseguir" #~ msgid "quit" #~ msgstr "salir" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Pulsa espaciador para salir" diff --git a/po/fr_FR.UTF-8.po b/po/fr_FR.UTF-8.po index c392a57..d837497 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: Google\n" "Language-Team: Google\n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Gain" #~ msgid "quit" #~ msgstr "quitter" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Appuyez sur la barre d'espace pour quitter" diff --git a/po/nb_NO.UTF-8.po b/po/nb_NO.UTF-8.po index 3343c61..6e4ed14 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: 2023-01-15 05:50+0100\n" "Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n" "Language-Team: Norwegian Bokmaal <i10n-no@lister.huftis.org>\n" @@ -18,64 +18,32 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.2.3\n" -msgid "" -"Usage: <remove-old kernels|rok> [-a] [-A 0|1] [-c] [-t] [-f 0-9] [-F 0-9] [-" -"n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" -msgstr "" -"Bruk: <remove-old kernels|rok> [-a] [-A 0|1] [-c] [-t] [-f 0-9] [-F 0-9] [-n " -"nummer] [-N nummer] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" +msgid "Usage: <remove-old kernels|rok> [-a] [-A 0|1] [-c] [-t] [-f 0-9] [-F 0-9] [-n number] [-N number] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" +msgstr "Bruk: <remove-old kernels|rok> [-a] [-A 0|1] [-c] [-t] [-f 0-9] [-F 0-9] [-n nummer] [-N nummer] [-p] [-q] [-Q 0|1][-l] [-m] [-v] [-h|-?]" -msgid "" -" -a = automatic, no questions. Interactive if not specified. (must be " -"root)" -msgstr "" -" -a = automatisk, ingen spørsmål. Interaktiv hvis ikke spesifisert. (må " -"være root)" +msgid " -a = automatic, no questions. Interactive if not specified. (must be root)" +msgstr " -a = automatisk, ingen spørsmål. Interaktiv hvis ikke spesifisert. (må være root)" -msgid "" -" -A value = 1 or 0 to turn ON or OFF automatic weekly removal of kernels. " -"(e.g. -A1)" -msgstr "" -" -A verdi = 1 eller 0 for å slå PÅ eller AV automatisk ukentlig fjerning " -"av kjerner. (f.eks. -A1)" +msgid " -A value = 1 or 0 to turn ON or OFF automatic weekly removal of kernels. (e.g. -A1)" +msgstr " -A verdi = 1 eller 0 for å slå PÅ eller AV automatisk ukentlig fjerning av kjerner. (f.eks. -A1)" -msgid "" -" -c = as automatic but also checks for CRON=1 in the cfg file or exits. " -"(must be root)" -msgstr "" -" -c = som automatisk, men sjekker også for CRON=1 i cfg-filen eller " -"avslutter. (må være root)" +msgid " -c = as automatic but also checks for CRON=1 in the cfg file or exits. (must be root)" +msgstr " -c = som automatisk, men sjekker også for CRON=1 i cfg-filen eller avslutter. (må være root)" msgid " -t = Test mode, nothing is removed, urpme is simulated." msgstr " -t = Testmodus. Ingenting fjernes, urpme simuleres." -msgid "" -" -f value = number of the alternate .cfg file to use this time only. " -"Exits if missing." -msgstr "" -" -f value = verdi = nummeret på den alternative .cfg-filen som bare skal " -"brukes denne gangen. Avslutter ut hvis det mangler." +msgid " -f value = number of the alternate .cfg file to use this time only. Exits if missing." +msgstr " -f value = verdi = nummeret på den alternative .cfg-filen som bare skal brukes denne gangen. Avslutter ut hvis det mangler." -msgid "" -" -F value = number of alt .cfg file to use. This changes the ALTCFG= " -"setting in the main .cfg file." -msgstr "" -" -F verdi = nummeret på den alternative .cfg-filen som skal brukes. Dette " -"endrer ALTCFG=-innstillingen i hoved-.cfg-filen." +msgid " -F value = number of alt .cfg file to use. This changes the ALTCFG= setting in the main .cfg file." +msgstr " -F verdi = nummeret på den alternative .cfg-filen som skal brukes. Dette endrer ALTCFG=-innstillingen i hoved-.cfg-filen." -msgid "" -" -n value = number of kernels to keep this time only. (-n5 or -n 5 keep 5 " -"kernels), Min=2, Default=3" -msgstr "" -" -n verdi = antall kjerner som skal beholdes denne ene gangen. (-n5 eller " -"-n 5 beholder 5 kjerner), Minimum=2, Standard=3" +msgid " -n value = number of kernels to keep this time only. (-n5 or -n 5 keep 5 kernels), Min=2, Default=3" +msgstr " -n verdi = antall kjerner som skal beholdes denne ene gangen. (-n5 eller -n 5 beholder 5 kjerner), Minimum=2, Standard=3" -msgid "" -" -N value = number of kernels to keep. This changes the config file " -"setting. (e.g. -N 5)" -msgstr "" -" -N verdi = antall kjerner som skal beholdes. Dette endrer " -"konfigurasjonsfilinnstillingen. (f.eks. -N 5)" +msgid " -N value = number of kernels to keep. This changes the config file setting. (e.g. -N 5)" +msgstr " -N verdi = antall kjerner som skal beholdes. Dette endrer konfigurasjonsfilinnstillingen. (f.eks. -N 5)" msgid " -p = preview the urpme commands which would be used." msgstr " -p = forhåndsvis urpme-kommandoene som vil bli brukt." @@ -84,8 +52,7 @@ msgid " -q = advanced mode, this time only - see man page." msgstr " -q = avansert modus, kun denne gangen - se man-siden." msgid " -Q value = 1 or 0 (1 = ON) advanced mode, persistent. (e.g. -Q1)" -msgstr "" -" -Q verdi = 1 eller 0 (1 = PÅ) avansert modus, vedvarende. (f.eks. -Q1)" +msgstr " -Q verdi = 1 eller 0 (1 = PÅ) avansert modus, vedvarende. (f.eks. -Q1)" msgid " -l = list the last 1000 lines of the log." msgstr " -l = liste opp de siste 1000 linjene i loggen." @@ -111,10 +78,8 @@ msgstr " V = behold virtualbox «-latest». (bare i avansert modus)" msgid " X = keeping for (X)tables-addons -latest. (only in advanced mode)" 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 " K = keeping kernel-*-devel for installed (K)ernel. (only advanced mode)" +msgstr " K = behold kernel-*-devel for installert kjerne. (bare i avansert modus)" msgid "FATAL: Failed to read:" msgstr "FATAL: Kunne ikke lese:" @@ -149,11 +114,8 @@ msgstr "INFO: Antallet som skal beholdes er begrenset til " msgid ", by the dnf 'installonly_limit' set in /etc/dnf/dnf.conf" msgstr ", av dnf-innstillingen «installonly_limit» i /etc/dnf/dnf.conf" -msgid "" -"FATAL: Has the running kernel been uninstalled since last boot? - Aborting." -msgstr "" -"FATAL: Har kjernen som kjører blitt avinstallert siden siste oppstart? - " -"Avbryter." +msgid "FATAL: Has the running kernel been uninstalled since last boot? - Aborting." +msgstr "FATAL: Har kjernen som kjører blitt avinstallert siden siste oppstart? - Avbryter." msgid "Keep" msgstr "Behold" @@ -179,6 +141,11 @@ msgstr "Kommandoer som vil bli brukt" msgid "Command that would be used" msgstr "Kommando som vil bli brukt" +#, fuzzy +#| msgid "Tap spacebar" +msgid "Tap spacebar to exit" +msgstr "Trykk på mellomromstasten" + 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 2392b62..aa17700 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: Google\n" "Language-Team: Google\n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Winnen" #~ msgid "quit" #~ msgstr "vertrekken" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Tik op de spatiebalk om af te sluiten" diff --git a/po/pt_BR.UTF-8.po b/po/pt_BR.UTF-8.po index 0a29cba..8eac615 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Ganho" #~ msgid "quit" #~ msgstr "sair" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Aperte espaço para sair" diff --git a/po/remove-old-kernels.pot b/po/remove-old-kernels.pot index feedf1f..cbfb737 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-14 19:52+0100\n" + "POT-Creation-Date: 2023-01-15 13:05+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" @@ -139,6 +139,9 @@ msgstr "" msgid "Command that would be used" msgstr "" +msgid "Tap spacebar to exit" +msgstr "" + msgid "Test mode is on - kernels will not be removed" msgstr "" diff --git a/po/sv_SE.UTF-8.po b/po/sv_SE.UTF-8.po index b4100f0..6a41995 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-14 19:52+0100\n" +"POT-Creation-Date: 2023-01-15 12:28+0000\n" "PO-Revision-Date: \n" "Last-Translator: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>\n" "Language-Team: Mageia\n" @@ -138,6 +138,9 @@ 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" @@ -176,6 +179,3 @@ msgstr "Gain" #~ msgid "quit" #~ msgstr "avsluta" - -#~ msgid "Tap spacebar to exit" -#~ msgstr "Tryck på mellanslag för att avsluta" diff --git a/remove-old-kernels b/remove-old-kernels index b8eac46..d00ef54 100755 --- a/remove-old-kernels +++ b/remove-old-kernels @@ -432,11 +432,15 @@ if [[ ${nbt} -ne 0 ]] ; then (((UID))) && echo -e "${RemvCol}$(i18n "Must be root to allow removal")\n${Normal}" if [[ ${VISU} -eq 1 ]]; then plural="s"; [[ ${nbt} -eq 1 ]] && plural="" - echo "$(i18n "Command${plural} that would be used"):" + if [[ "$plural" == "s" ]]; then + echo "$(i18n "Commands that would be used"):" + else + echo "$(i18n "Command that would be used"):" + fi for f in $(tac ${TMPKTR}); do echo "urpme ${f}" done - i18n "Tap spacebar to exit" + echo "$(i18n "Tap spacebar to exit")" read -n1 echo -en "${ClearLine}" rm -f ${TMPKTR} @@ -448,8 +452,12 @@ if [[ ${nbt} -ne 0 ]] ; then echo -e "\n${KeepCol}>> $(i18n "Test mode is on - kernels will not be removed") <<${Normal}" fi plural="s"; [[ ${nbt} -eq 1 ]] && plural="" - read -p "$(i18n "Remove") \ - ${nbt} $(i18n "kernel${plural}") ?\ + if [[ "$plural" == "s" ]]; then + kernstr="$(i18n "kernels"):" + else + 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 case ${response} in @@ -519,7 +527,7 @@ if [[ ${nbt} -ne 0 ]] ; then $(i18n "Kernels in") /boot/: ${NK} ${Normal}" fi -[[ $MODE == "I" ]] && { i18n "Tap spacebar to exit"; read -n1; echo -en "${ClearLine}"; } +[[ $MODE == "I" ]] && { echo $(i18n "Tap spacebar to exit"); read -n1; echo -en "${ClearLine}"; } rm -f ${TMPKTR} |