Skip to content

Commit e0ff56b

Browse files
committed
Remove superfluous comma
1 parent 41c8394 commit e0ff56b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
AUTOMATED_TESTING: 1
4747
run: |
4848
cpan -i App::cpanminus
49-
cpanm --skip-satisfied -iqn Database::Abstraction Gedcom Genealogy::Gedcom::Date Date::Parse Getopt::Std Geo::Coder::OSM Geo::Coder::XYZ Term::ANSIColor Lingua::EN::NameParse Lingua::EN::NameCase Lingua::EN::Numbers::Ordinate Tie::Static DateTime::Format::Natural B::Lint LWP::UserAgent::Throttled LWP::Simple::WithCache URI::Find::Schemeless Sort::Key::DateTime Text::Names::GB autodie IPC::System::Simple Memoize Lingua::EN::ABC warnings::unused Lingua::EN::Inflect Geo::Coder::List Geo::Coder::CA Geo::StreetAddress::US Locale::US Geo::Coder::Postcodes List::Util File::Fetch~0.56 Geo::Coder::Ovi Geo::Coder::RandMcnally Geo::Coder::US::Census Geo::Coder::Bing Geo::Coder::GooglePlaces Geo::GeoNames HTML::Table Net::OAuth HTTP::Cache::Transparent DateTime::Format::Genealogy Locale::Object::Country Config::Auto Module::Load Geo::Coder::DataScienceToolkit LWP::UserAgent::Cached F/FR/FRIFFIN/Geo-Coder-PlaceFinder-0.1.tar.gz String::Compare Class::Simple::Cached Class::Simple::Readonly::Cached Geo::Coder::OpenCage Date::ICal Data::ICal Data::ICal::Entry::Event Data::ICal::DateTime Data::ICal::TimeZone Unicode::Diacritic::Strip Date::Manip Roman Data::Section::Simple CHI Locale::AU Locale::CA utf8::all Lingua::Conjunction Lingua::String Geo::Coder::Abbreviations Array::Iterator Data::Text XML::Hash Template Date::Cmp Encode::Wide
49+
cpanm --skip-satisfied -iqn Database::Abstraction Gedcom Genealogy::Gedcom::Date Date::Parse Getopt::Std Geo::Coder::OSM Geo::Coder::XYZ Term::ANSIColor Lingua::EN::NameParse Lingua::EN::NameCase Lingua::EN::Numbers::Ordinate Tie::Static DateTime::Format::Natural B::Lint LWP::UserAgent::Throttled LWP::Simple::WithCache URI::Find::Schemeless Sort::Key::DateTime Text::Names::GB autodie IPC::System::Simple Memoize Lingua::EN::ABC warnings::unused Lingua::EN::Inflect Geo::Coder::List Geo::Coder::CA Geo::StreetAddress::US Locale::US Geo::Coder::Postcodes List::Util File::Fetch~0.56 Geo::Coder::Ovi Geo::Coder::RandMcnally Geo::Coder::US::Census Geo::Coder::Bing Geo::Coder::GooglePlaces Geo::GeoNames HTML::Table Net::OAuth HTTP::Cache::Transparent DateTime::Format::Genealogy Locale::Object::Country Config::Auto Module::Load Geo::Coder::DataScienceToolkit LWP::UserAgent::Cached F/FR/FRIFFIN/Geo-Coder-PlaceFinder-0.1.tar.gz String::Compare Class::Simple::Cached Class::Simple::Readonly::Cached Geo::Coder::OpenCage Date::ICal Data::ICal Data::ICal::Entry::Event Data::ICal::DateTime Data::ICal::TimeZone Unicode::Diacritic::Strip Date::Manip Roman Data::Section::Simple CHI Locale::AU Locale::CA utf8::all Lingua::Conjunction Lingua::String Geo::Coder::Abbreviations Array::Iterator Data::Text XML::Hash Template Date::Cmp Encode::Wide Genealogy::Obituary::Parser
5050
- name: Run Tests
5151
run: |
5252
perl -MO=Lint ./gedcom

gedcom

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4215,17 +4215,16 @@ sub print_person
42154215
$phrase->append('1 child, ');
42164216
}
42174217
} else {
4218+
$phrase->append($numberofchildrenwiththisspouse);
42184219
if($all_children_are_alive) {
4219-
$phrase->append("$numberofchildrenwiththisspouse surviving children");
4220-
} elsif($language eq 'French') {
4221-
$phrase->append("$numberofchildrenwiththisspouse enfants");
4220+
$phrase->append(' surviving children');
42224221
} else {
4223-
$phrase->append("$numberofchildrenwiththisspouse children");
4224-
}
4225-
if($placeofmarriage || $dateofmarriage) {
4226-
$phrase->append(($language eq 'French') ? ' :' : ':');
4222+
$phrase->append(i18n(' children'));
4223+
if($placeofmarriage || $dateofmarriage) {
4224+
$phrase->append(($language eq 'French') ? ' :' : ':');
4225+
}
4226+
$phrase->append(' ');
42274227
}
4228-
$phrase->append(' ');
42294228
}
42304229
if((!$placeofmarriage) && !$dateofmarriage) {
42314230
if(length(my $spouse_name = $spouse->as_string({ middle_names => 1, title => 1 }))) {
@@ -14206,6 +14205,7 @@ on the same day::on the same day
1420614205
on your father's side::on your father's side
1420714206
on your mother's side::on your mother's side
1420814207
parents::parents
14208+
raf::raf
1420914209
she::she
1421014210
sister::sister
1421114211
sister-in-law::sister-in-law

0 commit comments

Comments
 (0)