mirror of https://github.com/MidnightCommander/mc
Recognize gettext_ui when generating POTFILES.in
This commit is contained in:
parent
952464ef81
commit
f3f7719799
|
@ -75,8 +75,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate po/POTFILES.in
|
# Generate po/POTFILES.in
|
||||||
$XGETTEXT --keyword=_ --keyword=N_ --output=- `find . -name '*.[ch]'` | \
|
$XGETTEXT --keyword=_ --keyword=N_ --keyword=gettext_ui --output=- \
|
||||||
sed -ne '/^#:/{s/#://;s/:[0-9]*/\
|
`find . -name '*.[ch]'` | sed -ne '/^#:/{s/#://;s/:[0-9]*/\
|
||||||
/g;s/ //g;p;}' | \
|
/g;s/ //g;p;}' | \
|
||||||
grep -v '^$' | sort | uniq | grep -v 'regex.c' >po/POTFILES.in
|
grep -v '^$' | sort | uniq | grep -v 'regex.c' >po/POTFILES.in
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue