Skip to content

Commit

Permalink
Use Baker's Assistant, not Bakers's Assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 30, 2020
1 parent 042b35e commit ada058c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ged2site
Expand Up @@ -8278,7 +8278,11 @@ sub get_all_occupations
} elsif($occupations[0] =~ /^Shop Assistant (.*)/) {
$occupations[0] = "$1's Shop Assistant";
} elsif($occupations[0] =~ /(.*) Assistant$/i) {
$occupations[0] = "$1's Assistant" unless($1 =~ /'s$/);
if($1 eq 'Bakers') {
$occupations[0] = "Baker's Assistant";
} else {
$occupations[0] = "$1's Assistant" unless($1 =~ /'s$/);
}
} elsif($occupations[0] =~ /Clerk (.*)/) {
$occupations[0] = "$1 Clerk";
} elsif($occupations[0] =~ /Salesman (.*)/i) {
Expand Down

0 comments on commit ada058c

Please sign in to comment.