File: make_po

package info (click to toggle)
phpldapadmin 1.1.0.5-6%2Blenny2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,008 kB
  • ctags: 3,949
  • sloc: php: 17,735; xml: 1,532; sh: 388; makefile: 46
file content (10 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/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 {} \;