Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 31 lines (27 sloc) 0.876 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#!/bin/sh

#######################################################################
#
# pgAdmin III - PostgreSQL Tools
# Copyright (C) 2002 - 2009, The pgAdmin Development Team
# This software is released under the BSD 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 i18n/??_?? ; do
echo "Entering $GETTEXTDIR."
    cd $GETTEXTDIR
    echo "Updating from SVN."
    svn update
    echo "Merging pgadmin3.pot into pgadmin3.po"
    msgmerge --update pgadmin3.po ../../pgadmin3.pot
    cd ../..
  done
cd i18n
  echo "Committing changes to SVN."
  svn commit -m "Automatic merge using stringmerge script."
fi
Something went wrong with that request. Please try again.