LDAPAccountManager/lam/po/make_po

12 lines
427 B
Bash
Executable File

#!/bin/bash
# $Id$
#
# Copyright (C) 2003 Roland Gruber
# 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 {} \;