projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518ed6b
)
Warnungen ausgeben, wenn referenzierte HTML-Vorlagen nicht gefunden werden. Syntaxhig...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 7 Jan 2008 16:04:00 +0000
(16:04 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 7 Jan 2008 16:04:00 +0000
(16:04 +0000)
locale/de/locales.pl
patch
|
blob
|
history
diff --git
a/locale/de/locales.pl
b/locale/de/locales.pl
index
266823f
..
fefaead
100755
(executable)
--- a/
locale/de/locales.pl
+++ b/
locale/de/locales.pl
@@
-343,6
+343,8
@@
sub scanfile {
# &converthtmlfile($newfile);
$cached{$file}{scanh}{$newfile} = 1;
print "." if $arg{v};
+ } else {
+ print "W: missing HTML template: $newfile (referenced from $file)\n";
}
}
@@
-435,7
+437,7
@@
sub scanmenu {
my $fh = new FileHandle;
open $fh, "$file" or die "$! : $file";
- my @a = grep /^\[/, <$fh>;
+ my @a = grep
m
/^\[/, <$fh>;
close($fh);
# strip []