Simple script to update aegisub.pot and po files.

Originally committed to SVN as r5360.
This commit is contained in:
Amar Takhar 2011-02-22 04:28:19 +00:00
parent e6e0b1b003
commit e86bc7473c
1 changed files with 7 additions and 0 deletions

7
aegisub/po/regen.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -x
# $Id$
find ../src -type f|sed "s|^../src/||" |egrep "\\.h$|\\.cpp$" |sort > files
xgettext --files-from files --directory=../src --output aegisub.pot --c++ -k_
rm files
for i in `cat LINGUAS`; do msgmerge -N $i.po aegisub.pot > tmp; mv tmp $i.po; done