Skip to content

Commit

Permalink
Translate Farmer into German
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Dec 18, 2024
1 parent ae888f0 commit 6495fa9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -7528,7 +7528,7 @@ sub print_person
# Output the citations field
print "Create $citationcount citations\n" if($opts{'v'});

# TODO: add cititions from dbpedia
# TODO: add citations from dbpedia
if(scalar(@phrases)) {
$bio->append(conjunction(map { $_->as_string() } @phrases));
if($phrase->as_string() !~ /\."$/) {
Expand Down Expand Up @@ -11686,6 +11686,8 @@ sub get_all_occupations
} elsif($language eq 'German') {
if($occupation eq 'Teacher') {
$occupation = (($person->sex() eq 'M') ? 'Lehrer' : 'Lehrerin');
} elsif($occupation =~ /(.+)\sFarmer/) {
$occupation = (($person->sex() eq 'M') ? 'Landwirt' : 'Landwirtin');
}
$occupation =~ s/retired/im ruhestand/i;
$occupation =~ s/self-employed/slbststa\N{U+00E4}ndig/;
Expand Down

0 comments on commit 6495fa9

Please sign in to comment.