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:
Sami Kerola
2011-10-08 21:14:21 +02:00
parent 7393599f73
commit a220ba6770
8 changed files with 224 additions and 7 deletions

11
po/update-potfiles Executable file
View 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