diff options
-rwxr-xr-x | mk-pot | 7 | ||||
-rw-r--r-- | po/remove-old-kernels.pot | 10 | ||||
-rwxr-xr-x | remove-old-kernels | 3 |
3 files changed, 7 insertions, 13 deletions
@@ -8,13 +8,6 @@ grep -o '(i18n ".*)' remove-old-kernels|sed "s/(i18n/msgid /"|sed "s/.$//" > pot rm -f pot-temp1 while read line; do ((linesin++)) - if echo "$line" | grep -q "\${plural}"; then - echo "$line" |sed 's/\${plural}/s/' >> pot-temp1 - ((linesout++)) - echo "$line" |sed 's/\${plural}//' >> pot-temp1 - ((linesout++)) - continue - fi echo "$line" >> pot-temp1 ((linesout++)) done < pot-temp diff --git a/po/remove-old-kernels.pot b/po/remove-old-kernels.pot index cbfb737..5120eac 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-15 13:05+0000\n" + "POT-Creation-Date: 2023-01-18 22:36+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" @@ -91,6 +91,9 @@ msgstr "" msgid "Must be root to edit configuration" msgstr "" +msgid "Tap spacebar" +msgstr "" + msgid "No such alternative configuration file:" msgstr "" @@ -100,7 +103,7 @@ msgstr "" msgid "Bad input value" msgstr "" -msgid "Tap spacebar" +msgid "Tap spacebar to exit" msgstr "" msgid "Welcome to 'remove-old-kernels' Interactive" @@ -139,9 +142,6 @@ 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/remove-old-kernels b/remove-old-kernels index f78a4a7..ab64f01 100755 --- a/remove-old-kernels +++ b/remove-old-kernels @@ -524,7 +524,8 @@ $(i18n "y/N/q (q=quit)") " -n 1 response done NK=$(ls /boot/vmlinuz*.mga[0-9] | wc -l) OCCDISK2=$(df -B 1M -l --output=used / | tail -n1 | awk '{ print $1 }') - echo -e "${HdBgCol} $(i18n "Gain"): $((OCCDISK1 - OCCDISK2)) MB - \ + echo -e "${HdBgCol} $(i18n "Gain"):\ +$((OCCDISK1 - OCCDISK2)) MB - \ $(i18n "Kernels in") /boot/: ${NK} ${Normal}" fi |