Skip to content

Commit

Permalink
Put warnings together
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jul 16, 2024
1 parent 9714ba1 commit add3e8e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,14 @@ if($opts{'w'}) {
$summary = 'Removing Leading Zero';
} elsif($warning =~ /^Unknown event type/) {
$summary = 'Unhandled Event Type';
} elsif($warning =~ /^Census ward number left in location /) {
$summary = 'Census Ward Number Left in Location';
} elsif($warning =~ /^Changing date .+ to .+/) {
$summary = 'Date Format Changed'
} elsif($warning =~ /Date of birth of child .+ is later than .+ own date of death/) {
$summary = 'Child born before date of death';
} elsif($warning =~ / assuming country of birth is /) {
$summary = 'Guessed at country of birth';
} else {
$summary = $warning;
$summary =~ s/\"//g;
Expand Down

0 comments on commit add3e8e

Please sign in to comment.