This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
NeoStats-NeoIRCd/messages/create_po

18 lines
432 B
Text
Raw Permalink Normal View History

2002-08-13 14:34:25 +00:00
#!/bin/sh
i=$1
if [ "x$i" = "x" ]; then
echo "Usage: $0 <po file to initialize>"
exit 1
elif [ -f $i ]; then
echo "Error: $i already exists, use make mrupdate"
exit 1
fi
xgettext -a -LC -o $i ../src/messages.tab
xgettext --keyword=_ -j -LC -o $i ../include/*.h
xgettext --keyword=_ -j -LC -o $i ../src/*.c
xgettext --keyword=_ -j -LC -o $i ../modules/*.c
echo "Now add $i to Makefile.in, and rerun configure"