phpldapadmin/tools/po/make_po
2009-06-30 20:26:08 +10:00

11 lines
402 B
Bash
Executable File

#!/bin/bash
# $Header $
#
# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
# This script generates a messages.po file for translation from all .inc and .php files.
cp messages.header messages.po
find ../../ -name *.php -exec xgettext --keyword=_ -L PHP -j --omit-header -s {} \;
find ../../ -name *.inc -exec xgettext --keyword=_ -L PHP -j --omit-header -s {} \;