summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-17 20:00:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-17 20:00:02 +0000
commit7df655af2adc2c04554e60bc8a181ccc831919e4 (patch)
tree4dac51686d3baba88f364e87021ef01de57fe08b /build
parent5193631c04142200494761440eda67514c11d649 (diff)
build: remove debugging code from i18n-scan.pl
Diffstat (limited to 'build')
-rwxr-xr-xbuild/i18n-scan.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl
index 102ae5f7a..03ab0292e 100755
--- a/build/i18n-scan.pl
+++ b/build/i18n-scan.pl
@@ -71,11 +71,8 @@ if( open F, "find $ARGV[0] -type f -name '*.htm' -or -name '*.lua' |" )
)
/$1 || $2/segx
) {
- #$text =~ s/^ .*? (?: (?: translate f? | i18n ) [\s\n]* ( \( ) | ( <%: -? ) ) / $1 || $2 /sex;
- #warn "T[$text]";
my $code;
- reparse:
( $code, $text ) = extract_codeblock( $text, '', '^', '()' );
if( ! $code ) {
( $code, $text ) = extract_codeblock( $text, '', '^', '<>' );
@@ -91,9 +88,6 @@ if( open F, "find $ARGV[0] -type f -name '*.htm' -or -name '*.lua' |" )
}
my ( $k, $v ) = _parse( $code );
- #warn "M[$code]";
- #last;
-
if( $k && defined($v) )
{
if( $v )