Skip to content

Commit

Permalink
Smoother English where there is no occupation
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 2, 2023
1 parent 7d02e0e commit 500b7b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -3111,6 +3111,12 @@ sub print_person
push @phrases, $phrase;
$phrase = Data::Text->new();
}
if(($aob || $aod) && scalar(@phrases)) {
push @phrases, $phrase;
$bio->append(conjunction(map { $_->as_string() } @phrases))->append('. ');
$phrase = Data::Text->new();
@phrases = ();
}

if((!$aob) && ($dateofbirth || $dateofbaptism || $placeofbirth || $placeofbaptism)) {
if((defined($firstname) && ($noun eq $firstname)) || (scalar(@phrases) == 0)) {
Expand Down

0 comments on commit 500b7b9

Please sign in to comment.