script to generate the .po file

This commit is contained in:
Roland Gruber 2003-07-07 17:01:26 +00:00
parent caa85a6850
commit e01526314b
1 changed files with 12 additions and 0 deletions

12
lam/po/make_po Executable file
View File

@ -0,0 +1,12 @@
#!/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.
rm -f messages.po
touch messages.po
find ../ -name *.php -exec xgettext --keyword=_ -C -j -s {} \;
find ../ -name *.inc -exec xgettext --keyword=_ -C -j -s {} \;