]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tools: update po/LINGUAS when downloading new translations
authorKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 13:39:10 +0000 (14:39 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 13:39:10 +0000 (14:39 +0100)
Fix: https://github.com/util-linux/util-linux/issues/1985
Signed-off-by: Karel Zak <kzak@redhat.com>
po/LINGUAS
tools/git-tp-sync

index 83ee66cac4c9deaed3e5d8933a4096a48510e9f3..4886a44a5585bccc842f680e4b58e027c8534db5 100644 (file)
@@ -13,12 +13,15 @@ hu
 id
 it
 ja
+ko
 nl
 pl
-pt_BR
 pt
+pt_BR
 ru
+sk
 sl
+sr
 sv
 tr
 uk
index c2e2d8d8f402785060aaa65fd4e50b400108c615..d51da5670e5be51b0e9157384cfa3469f24623e7 100755 (executable)
@@ -56,3 +56,5 @@ for f in $PO_NEW; do
        do_commit "po/$f" "po: add $f (from translationproject.org)"
 done
 
+LINGUAS=$(find po/ -name '*.po' -type f -printf '%P\n' | sed 's/\.po//g' | sort)
+echo "$LINGUAS" > po/LINGUAS