summaryrefslogtreecommitdiff
path: root/php/admin
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2007-02-02 17:18:58 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2007-02-02 17:18:58 (GMT)
commit7a910eae0d9d6bac6e899fc2da4eb1f384023522 (patch)
tree6dacc60b73bb4bb647bc0e1b42500879dc8b67aa /php/admin
parentb1cb722b8477a5bfbe62104a5e93f871a05f509e (diff)
downloadkolab-webadmin-7a910eae0d9d6bac6e899fc2da4eb1f384023522.tar.gz
Fixed extract_messages for taking *.php.in and *.tpl.in files into account.
Diffstat (limited to 'php/admin')
-rwxr-xr-xphp/admin/locale/extract_messages6
1 files changed, 3 insertions, 3 deletions
diff --git a/php/admin/locale/extract_messages b/php/admin/locale/extract_messages
index 3ed461a..7ca5dfb 100755
--- a/php/admin/locale/extract_messages
+++ b/php/admin/locale/extract_messages
@@ -45,7 +45,7 @@ if ( $^V ge v5.8.0 ) {
print OUTFILE "<?php\n";
-@tplFiles = `find $templatesDir -name "*.tpl" 2> /dev/null`;
+@tplFiles = `find $templatesDir -name "*.tpl" -o -name "*.tpl.in" 2> /dev/null`;
foreach $tpl (@tplFiles)
{
@@ -75,9 +75,9 @@ close(OUTFILE);
#
# Get all the php files recursively in www/admin and in the includes
#
-@phpFiles = `find $phpDir -name "*.php" 2> /dev/null`;
+@phpFiles = `find $phpDir -name "*.php" -o -name "*.php.in" 2> /dev/null`;
foreach (@phpFiles) { chomp; }
-@includeFiles = `find $includeDir -name "*.php" 2> /dev/null`;
+@includeFiles = `find $includeDir -name "*.php" -o -name "*.php.in" 2> /dev/null`;
foreach (@includeFiles) { chomp; }
#print join(" ", @phpFiles);
#print join(" ", @includeFiles);