mirror of https://github.com/odrling/Aegisub
Simple script to update aegisub.pot and po files.
Originally committed to SVN as r5360.
This commit is contained in:
parent
e6e0b1b003
commit
e86bc7473c
|
@ -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
|
Loading…
Reference in New Issue