Skip to content

Commit

Permalink
Remove full stop at the end of middle initials - nigelhorne/ged2site#112
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 8, 2024
1 parent 1695d88 commit 6a59dd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -4144,7 +4144,12 @@ sub print_person
} else {
$phrase->append([' with an unknown ', i18n(($sex eq 'M') ? 'mother' : 'father')]);
}
$phrase->append(', ' . $children[0]->given_names());
# TODO: make hyperlink to the person's record, unless surviving
if(my $given = $children[0]->given_names()) {
# Avoid end of sentences such as "Jane E.."
$given =~ s/\.$//;
$phrase->append(", $given");
}
} else {
if($all_children_are_alive) {
$phrase->append("$numberofchildren surviving children");
Expand Down

0 comments on commit 6a59dd8

Please sign in to comment.