Add linux metadata files to the po file generation

This commit is contained in:
Ian McInerney 2021-01-16 19:23:30 +00:00
parent 2aff8822d6
commit d081697582
2 changed files with 4 additions and 1 deletions

View File

@ -12,3 +12,6 @@ pcb_calculator
pcbnew pcbnew
plugins plugins
tools tools
resources/linux/appdata
resources/linux/launchers
resources/linux/mime

View File

@ -61,7 +61,7 @@ POTDIRS=`cat $LOCALDIR/POTDIRS|grep -v '^#'|grep -v '^\s*$'` #Read file without
cd $SOURCEDIR cd $SOURCEDIR
#Generate/update template pot file #Generate/update template pot file
find $POTDIRS -name '*.cpp' -or -name '*.h' | find $POTDIRS -name '*.cpp' -or -name '*.h' -or -name '*.xml.in' -or -name '*.desktop.in' |
sort | sort |
xgettext -f- -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/pofiles/kicad.pot xgettext -f- -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/pofiles/kicad.pot