Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 70 lines (60 sloc) 3.471 kB
#!/bin/sh
#######################################################################
#
# pgAdmin III - PostgreSQL Tools
# Copyright (C) 2002 - 2009, The pgAdmin Development Team
# This software is released under the Artistic Licence
#
# stringextract - extract strings from sources
# and create gettext template file
#
#######################################################################
cp pgadmin3-release.pot pgadmin3.pot
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/ctl/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/frm/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/debugger/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/db/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/exceptions/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/expressions/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/statements/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/generators/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/objects/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/utilities/m_apm/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/utilities/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/pgscript/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/agent/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/schema/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/utils/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/slony/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/dlg/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/gqb/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/ui/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot xtra/pgscript/bin/*.cpp
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/ctl/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/frm/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/debugger/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/db/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/exceptions/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/expressions/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/statements/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/generators/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/objects/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/utilities/mapm-lib/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/utilities/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/pgscript/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/agent/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/schema/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/utils/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/slony/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/dlg/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/gqb/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/*.h
xgettext -k_ -k__ -j -s -o pgadmin3.pot pgadmin/include/*.h
TMPDIR=`mktemp -d tmpwork` || exit 1
echo "$TMPDIR"
mkdir $TMPDIR/pgadmin
mkdir $TMPDIR/pgadmin/ui
ls pgadmin/ui/*.xrc | xargs -I filename wxrc -g filename -o $TMPDIR/filename
ls pgadmin/ui/*.xrc | xargs xgettext -k_ -k__ -L C -j -s -o pgadmin3.pot -D $TMPDIR/
rm -rf $TMPDIR
Jump to Line
Something went wrong with that request. Please try again.