Skip to content

Commit

Permalink
Fix English syntax in books of relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 12, 2023
1 parent d634579 commit 02a8fb9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,19 @@ sub print_person
}

if($relationship) {
$phrase->append(i18n('your'))->append(" $relationship, ");
if($aob && $aod) {
$phrase->append(i18n('your'))->append(" $relationship, ");
} else {
$noun = $firstname // $pronoun;
$phrase->set("$noun "); # Overwrites what was stored above
$noun = $pronoun;
if(is_alive(person => $person)) {
$phrase->append('is ');
} else {
$phrase->append('was ');
}
$phrase->append(i18n('your'))->append(" $relationship");
}
} elsif($spouserelationship) {
if($language eq 'French') {
if($sex eq 'F') {
Expand Down

0 comments on commit 02a8fb9

Please sign in to comment.