mirror of
git://git.acid.vegas/anope.git
synced 2024-11-15 04:06:42 +00:00
17 lines
324 B
Bash
17 lines
324 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
rm -f anope.pot
|
||
|
touch anope.pot
|
||
|
|
||
|
cd ..
|
||
|
FILES=`find ./ -name *.cpp -o -name *.h -o -name *.conf | grep -v /modules/third/`
|
||
|
xgettext -E -C -s -d Anope -j -o language/anope.pot --from-code=utf-8 --keyword --keyword=_ $FILES
|
||
|
cd -
|
||
|
|
||
|
for f in *.po
|
||
|
do
|
||
|
msgmerge -v -s -U $f `echo $f | cut -d'.' -f1`.pot
|
||
|
done
|
||
|
|
||
|
rm -f *~
|