Some additional checks

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2513 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-01-14 07:33:09 +00:00
parent 897f62697c
commit 0e8657243b

View File

@@ -72,7 +72,7 @@ foreach my $lang (@lang) {
if($l =~ m/^=begin html$suffix$/) {
$l = <MOD>; # skip one line, to be able to repeat join+split
print "$mod: nonempty line after =begin html ignored\n"
print "$lang $mod: nonempty line after =begin html ignored\n"
if($l =~ m/^...*$/);
$skip = 0; $line++;
@@ -94,8 +94,8 @@ foreach my $lang (@lang) {
}
}
close(MOD);
print "$mod: No document text found\n" if(!$suffix && !$docCount);
print "$mod: No <a name=\"$mod\"> link\n"
print "$lang $mod: No document text found\n" if(!$suffix && !$docCount);
print "$lang $mod: No <a name=\"$mod\"> link\n"
if(!$suffix && $docCount && !$hasLink);
foreach $tag (TAGS) {