diff --git a/translation/POTDIRS b/translation/POTDIRS index fa78ee7f65..424df10f3b 100644 --- a/translation/POTDIRS +++ b/translation/POTDIRS @@ -12,3 +12,6 @@ pcb_calculator pcbnew plugins tools +resources/linux/appdata +resources/linux/launchers +resources/linux/mime diff --git a/translation/update-po-files.sh b/translation/update-po-files.sh index 09b0e95b91..17e020d479 100755 --- a/translation/update-po-files.sh +++ b/translation/update-po-files.sh @@ -61,7 +61,7 @@ POTDIRS=`cat $LOCALDIR/POTDIRS|grep -v '^#'|grep -v '^\s*$'` #Read file without cd $SOURCEDIR #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 | xgettext -f- -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/pofiles/kicad.pot