Skip to content

Commit

Permalink
Make the English flow a little better
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 30, 2023
1 parent b7b4b74 commit de3befd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@ sub print_person
$args{'format'} = 'is married to ';
}
} else {
$args{'format'} = 'was married to ';
$args{'format'} = 'married ';
}
$bio .= ' ' . i18n(\%args);
$phrase->append(i18n(\%args));
Expand Down Expand Up @@ -4000,8 +4000,11 @@ sub print_person
}
$haveprintedspousename = 1;
}
$bio .= ' ' . year(person => $person, string => $dateofmarriage, must_postdate => $birth_dt, must_predate => $death_dt) if($dateofmarriage);
$phrase->append(' ')->append(year(person => $person, string => $dateofmarriage, must_postdate => $birth_dt, must_predate => $death_dt)) if($dateofmarriage);
if($dateofmarriage) {
my $string = ' ' . year(person => $person, string => $dateofmarriage, must_postdate => $birth_dt, must_predate => $death_dt, circa => 'around');
$bio .= $string;
$phrase->append($string);
}
}
if($marriagecitation) {
$bio .= cite(($marriagecitation));
Expand Down

0 comments on commit de3befd

Please sign in to comment.