From ae729cd5655615e70a7b67ee095364c69303a4f0 Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Fri, 25 May 2018 15:27:45 +0200 Subject: [PATCH] Sort file list for xgettext The find command still returns files in arbitrary order, so explicitly sort. --- update-po-files.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-po-files.sh b/update-po-files.sh index 5862de3a43..533750eb7d 100755 --- a/update-po-files.sh +++ b/update-po-files.sh @@ -61,6 +61,7 @@ cd $SOURCEDIR #Generate/update template pot file find $POTDIRS -name '*.cpp' -or -name '*.h' | + sort | xgettext -f- -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot #check if present in locale list