From d76c753ee05929fb53220141f1c8c11f31887466 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 9 Oct 2025 23:03:14 -0400 Subject: samples pod dir now markup/pod-samples/pod - markup/pod-samples/pod from markup/pod --- .../media/text/bin/count-untranslated-strings.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 markup/pod/live-manual/media/text/bin/count-untranslated-strings.sh (limited to 'markup/pod/live-manual/media/text/bin/count-untranslated-strings.sh') diff --git a/markup/pod/live-manual/media/text/bin/count-untranslated-strings.sh b/markup/pod/live-manual/media/text/bin/count-untranslated-strings.sh deleted file mode 100755 index 1087df1..0000000 --- a/markup/pod/live-manual/media/text/bin/count-untranslated-strings.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -# Count total number of untranslated strings in live-manual - -Count_untranslated_strings () -{ -for POFILE in manual/po/*/* - do - if [ "$(sed '$!d' ${POFILE})" = 'msgstr ""' ] - then - sed '$G' ${POFILE} | grep --extended-regexp --before-context=1 '^$' | grep --count '^msgstr ""$' || continue - else - grep --extended-regexp --before-context=1 '^$' ${POFILE} | grep --count '^msgstr ""$' || continue - fi - done -} - -Count_untranslated_strings | awk '{ sum += $1 } END { print sum }' -- cgit v1.2.3