1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:26:37 +02:00
Files
anope/modules/extra/language/update.sh
T
Adam 08583dc107 Moved the language strings which are only used once
out of the core and into the modules that use them.
2011-02-04 15:30:31 -05:00

15 lines
245 B
Bash
Executable File

#!/bin/bash
for f in `ls ../*.cpp`
do
BASE=`basename $f | cut -d'.' -f1`
xgettext -C -s -d $BASE -o $BASE.pot --from-code=utf-8 --keyword=_ $f
done
for f in `ls *.po`
do
msgmerge -v -s -U $f `basename $f | cut -d'.' -f1`.pot
done
rm -f *~