Add linux metadata files to the po file generation
This commit is contained in:
parent
2aff8822d6
commit
d081697582
|
@ -12,3 +12,6 @@ pcb_calculator
|
||||||
pcbnew
|
pcbnew
|
||||||
plugins
|
plugins
|
||||||
tools
|
tools
|
||||||
|
resources/linux/appdata
|
||||||
|
resources/linux/launchers
|
||||||
|
resources/linux/mime
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue