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
|
||||
|
||||
# Generate po/POTFILES.in
|
||||
$XGETTEXT --keyword=_ --keyword=N_ --output=- `find . -name '*.[ch]'` | \
|
||||
sed -ne '/^#:/{s/#://;s/:[0-9]*/\
|
||||
$XGETTEXT --keyword=_ --keyword=N_ --keyword=gettext_ui --output=- \
|
||||
`find . -name '*.[ch]'` | sed -ne '/^#:/{s/#://;s/:[0-9]*/\
|
||||
/g;s/ //g;p;}' | \
|
||||
grep -v '^$' | sort | uniq | grep -v 'regex.c' >po/POTFILES.in
|
||||
|
||||
|
|
Loading…
Reference in New Issue