thomas: server/kolab-webadmin/kolab-webadmin/php/admin/locale extract_messages, 1.4, 1.5
cvs at kolab.org
cvs at kolab.org
Fri Feb 2 18:19:00 CET 2007
Author: thomas
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale
In directory doto:/tmp/cvs-serv2175
Modified Files:
extract_messages
Log Message:
Fixed extract_messages for taking *.php.in and *.tpl.in files into account.
Index: extract_messages
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/locale/extract_messages,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- extract_messages 15 Jun 2005 20:48:21 -0000 1.4
+++ extract_messages 2 Feb 2007 17:18:58 -0000 1.5
@@ -45,7 +45,7 @@
print OUTFILE "<?php\n";
- at tplFiles = `find $templatesDir -name "*.tpl" 2> /dev/null`;
+ at tplFiles = `find $templatesDir -name "*.tpl" -o -name "*.tpl.in" 2> /dev/null`;
foreach $tpl (@tplFiles)
{
@@ -75,9 +75,9 @@
#
# Get all the php files recursively in www/admin and in the includes
#
- at phpFiles = `find $phpDir -name "*.php" 2> /dev/null`;
+ at phpFiles = `find $phpDir -name "*.php" -o -name "*.php.in" 2> /dev/null`;
foreach (@phpFiles) { chomp; }
- at includeFiles = `find $includeDir -name "*.php" 2> /dev/null`;
+ at includeFiles = `find $includeDir -name "*.php" -o -name "*.php.in" 2> /dev/null`;
foreach (@includeFiles) { chomp; }
#print join(" ", @phpFiles);
#print join(" ", @includeFiles);
More information about the commits
mailing list