anope

- supernets anope source code & configuration
git clone git://git.acid.vegas/anope.git
Log | Files | Refs | Archive | README

update.sh (324B)

      1 #!/bin/bash
      2 
      3 rm -f anope.pot
      4 touch anope.pot
      5 
      6 cd ..
      7 FILES=`find ./ -name *.cpp -o -name *.h -o -name *.conf | grep -v /modules/third/`
      8 xgettext -E -C -s -d Anope -j -o language/anope.pot --from-code=utf-8 --keyword --keyword=_ $FILES
      9 cd -
     10 
     11 for f in *.po
     12 do
     13 	msgmerge -v -s -U $f `echo $f | cut -d'.' -f1`.pot
     14 done
     15 
     16 rm -f *~