Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (28 sloc) 1.035 kB
#######################################################################
#
# pgAdmin III - PostgreSQL Tools
# Copyright (C) 2002 - 2003, The pgAdmin Development Team
# This software is released under the Artistic Licence
#
# stringmerge - merge pgadmin3.pot template file into existing pgadmin3.po
# translated files, compile and publish them on CVS.
#
# Same as 'Update from .pot' feature of poEdit.
#
#######################################################################
if test -f pgadmin3.pot; then
for GETTEXTDIR in src/ui/*_* ; do
echo "Entering $GETTEXTDIR."
cd $GETTEXTDIR
echo "Updating from CVS."
cvs update -C -P -d
echo "Merging pgadmin3.pot into pgadmin3.po"
msgmerge --update pgadmin3.po ../../../pgadmin3.pot
echo "Compiling pgadmin3.mo"
msgfmt -o pgadmin3.mo pgadmin3.po
echo "Committing changes to CVS."
cvs commit -m "Automatic merge using stringmerge script." pgadmin3.po
cvs commit -m "Automatic merge using stringmerge script." pgadmin3.mo
cd ../../..
done
fi
Jump to Line
Something went wrong with that request. Please try again.