mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:59:29 +00:00
fixed po2po to avoid missing messages, and avoid confusing cvs
This commit is contained in:
parent
38aff95c78
commit
8f8c3ab303
@ -23,7 +23,7 @@ tmp=`tempfile`
|
||||
for LANG in "$@"
|
||||
do
|
||||
# merge the 2 files
|
||||
msgcat --use-first -F po/$LANG/$DSTDOMAIN.po po/$LANG/$SRCDOMAIN.po >$tmp
|
||||
msgcat -F po/$LANG/$DSTDOMAIN.po po/$LANG/$SRCDOMAIN.po >$tmp
|
||||
mv po/$LANG/$DSTDOMAIN.po po/$LANG/$DSTDOMAIN.po.bak
|
||||
mv $tmp po/$LANG/$DSTDOMAIN.po
|
||||
|
||||
@ -37,5 +37,8 @@ do
|
||||
|
||||
touch -d '1970-01-02' po/$LANG/$DSTDOMAIN.po
|
||||
make -C po $LANG/$DSTDOMAIN.po
|
||||
|
||||
# make sure the timestamp is fixed or cvs gets confused
|
||||
touch po/$LANG/$DSTDOMAIN.po
|
||||
done
|
||||
rm $tmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user