diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-09 23:03:14 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-31 11:10:22 -0400 |
| commit | d76c753ee05929fb53220141f1c8c11f31887466 (patch) | |
| tree | accbc1be0aa09220baa9e453f6b69c8f9927d199 /markup/pod/live-manual/media/text/bin/show-complete-languages.sh | |
| parent | housekeeping, update/sync with project (nix, D) (diff) | |
samples pod dir now markup/pod-samples/pod
- markup/pod-samples/pod from markup/pod
Diffstat (limited to 'markup/pod/live-manual/media/text/bin/show-complete-languages.sh')
| -rwxr-xr-x | markup/pod/live-manual/media/text/bin/show-complete-languages.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/markup/pod/live-manual/media/text/bin/show-complete-languages.sh b/markup/pod/live-manual/media/text/bin/show-complete-languages.sh deleted file mode 100755 index 4682d0a..0000000 --- a/markup/pod/live-manual/media/text/bin/show-complete-languages.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -set -e - -# Find 100% translated languages in live-manual - -Find_untranslated () -{ -for POFILE in manual/po/"${LANGUAGE}"/* - 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 -} - - for LANGUAGE in $(ls manual/po) - do - if [ "$(Find_untranslated | awk '{ sum += $1 } END { print sum }')" -eq "0" ] - then - echo -n "${LANGUAGE}, " - fi - done |
