From: Karel Zak Date: Tue, 3 Jan 2023 13:39:10 +0000 (+0100) Subject: tools: update po/LINGUAS when downloading new translations X-Git-Tag: v2.39-rc1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28204c127dabdd59203d822b393c327fa6f340a1;p=thirdparty%2Futil-linux.git tools: update po/LINGUAS when downloading new translations Fix: https://github.com/util-linux/util-linux/issues/1985 Signed-off-by: Karel Zak --- diff --git a/po/LINGUAS b/po/LINGUAS index 83ee66cac4..4886a44a55 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -13,12 +13,15 @@ hu id it ja +ko nl pl -pt_BR pt +pt_BR ru +sk sl +sr sv tr uk diff --git a/tools/git-tp-sync b/tools/git-tp-sync index c2e2d8d8f4..d51da5670e 100755 --- a/tools/git-tp-sync +++ b/tools/git-tp-sync @@ -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