[vhffs-dev] [1673] Typo in regex |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1673
Author: beuss
Date: 2011-04-30 23:19:29 +0200 (Sat, 30 Apr 2011)
Log Message:
-----------
Typo in regex
Modified Paths:
--------------
trunk/vhffs-intl/update-POTFILES.in.sh
Modified: trunk/vhffs-intl/update-POTFILES.in.sh
===================================================================
--- trunk/vhffs-intl/update-POTFILES.in.sh 2011-04-30 21:18:18 UTC (rev 1672)
+++ trunk/vhffs-intl/update-POTFILES.in.sh 2011-04-30 21:19:29 UTC (rev 1673)
@@ -2,7 +2,7 @@
VHFFS_DIRS='../vhffs-contrib ../vhffs-panel ../vhffs-forum ../vhffs-listengine ../vhffs-tools ../vhffs-mw ../vhffs-api ../vhffs-shells ../vhffs-public ../vhffs-jabber ../vhffs-irc ../vhffs-stsmon'
touch template_strings.pl.tmp
find $VHFFS_DIRS -name '*.tmpl' | xargs perl -ne 'if(/<TMPL_I18N\s+KEY="([^"]+)/i) { print "gettext(\"$1\");\n"; }' > template_strings.pl.tmp
-find $VHFFS_DIRS -name '*.tt' | xargs perl -ne 'print "gettext(\"$1\");\n" if(/\[%\s+'\''([^|]+?)'\''\s*|\s*i18n\b/);' >> template_strings.pl.tmp
+find $VHFFS_DIRS -name '*.tt' | xargs perl -ne 'print "gettext(\"$1\");\n" if(/\[%\s+'\''([^|]+?)'\''\s*\|\s*i18n\b/);' >> template_strings.pl.tmp
sort template_strings.pl.tmp > template_strings.pl
rm template_strings.pl.tmp
find $VHFFS_DIRS -name '*.p[ml]' | sed s!^../!! | sort > 'POTFILES.in'