build-sys: add NLS support
Add GNU gettext internationalization and localization support. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
11
po/update-potfiles
Executable file
11
po/update-potfiles
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f "po/Makevars" ]; then
|
||||
echo "You must run this script in the top-level directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find . -name '*.c' |
|
||||
sort |
|
||||
sed 's|^./||
|
||||
/^contrib/d' > po/POTFILES.in
|
||||
Reference in New Issue
Block a user