From fcacef5af9e52204926480fbdeb9a238ecab31d1 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 19 Jul 2022 14:30:07 +0200 Subject: Fix typos found by codespell --- contrib/non-profit-audit-reports/README | 4 ++-- contrib/non-profit-audit-reports/bank-reconcilation.plx | 2 +- .../cash-receipts-and-disbursments-journals.plx | 2 +- contrib/non-profit-audit-reports/ooolib2/__init__.py | 2 +- contrib/non-profit-audit-reports/summary-reports.plx | 2 +- contrib/raw/GenerateLatexExpeneseReport.pl | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'contrib') diff --git a/contrib/non-profit-audit-reports/README b/contrib/non-profit-audit-reports/README index b4897f21..881262c3 100644 --- a/contrib/non-profit-audit-reports/README +++ b/contrib/non-profit-audit-reports/README @@ -1,6 +1,6 @@ README -This document provides backround on the enclosed example +This document provides background on the enclosed example Demo ---- @@ -47,7 +47,7 @@ Compare the deltas to the current version with Note also that the csv2ods.py treats columns 4 and 5 (numbering from 1) of the csv magically. If column 4 contains a non-empty string which is not 'Receipt' then it is interpreted as a relative path of an artifact to link to. -Similary for column 5 and 'Invoice'. +Similarly for column 5 and 'Invoice'. Sample PDF files diff --git a/contrib/non-profit-audit-reports/bank-reconcilation.plx b/contrib/non-profit-audit-reports/bank-reconcilation.plx index 7a8da911..edb0de24 100755 --- a/contrib/non-profit-audit-reports/bank-reconcilation.plx +++ b/contrib/non-profit-audit-reports/bank-reconcilation.plx @@ -217,7 +217,7 @@ while ($startDate ge $earliestStartDate) { last if ($solution[0]); } if ($solution[0]) { - print "\"title:$formattedEndDate: $title\"\n\"BANK RECONCILATION: $account\",\"ENDING\",\"$formattedEndDate\"\n"; + print "\"title:$formattedEndDate: $title\"\n\"BANK RECONCILIATION: $account\",\"ENDING\",\"$formattedEndDate\"\n"; print "\n\n\"DATE\",\"CHECK NUM\",\"PAYEE\",\"AMOUNT\"\n\n"; print "\"$formattedEndDate\",\"\",\"BANK ACCOUNT BALANCE\",\"\$$bankBalance\"\n\n"; foreach my $ee (sort { $a->{date} cmp $b->{date} } @{$solution[1]}) { diff --git a/contrib/non-profit-audit-reports/cash-receipts-and-disbursments-journals.plx b/contrib/non-profit-audit-reports/cash-receipts-and-disbursments-journals.plx index f2055a62..ebe8c752 100755 --- a/contrib/non-profit-audit-reports/cash-receipts-and-disbursments-journals.plx +++ b/contrib/non-profit-audit-reports/cash-receipts-and-disbursments-journals.plx @@ -145,7 +145,7 @@ foreach my $typeData ({ name => 'disbursements', query => 'a<=0' }, /^\s*"[^"]*","[^"]*","[^"]*","(\s*\<\s*Adjustment\s*\>\s*|Equity:)/; # Note that we don't do our usual "$TWO_CENTS" check on Adjustment - # here. That's by design: if we consistently ignore Adjustements in + # here. That's by design: if we consistently ignore Adjustments in # the same way, it might have the appearance that a Superman # III/Office Space -style movement of funds is going on. By just # straight "ignoring" them here, and not doing the TWO_CENTS test, it diff --git a/contrib/non-profit-audit-reports/ooolib2/__init__.py b/contrib/non-profit-audit-reports/ooolib2/__init__.py index 984e88d0..3bc940bd 100644 --- a/contrib/non-profit-audit-reports/ooolib2/__init__.py +++ b/contrib/non-profit-audit-reports/ooolib2/__init__.py @@ -395,7 +395,7 @@ class CalcStyles: self.property_cell_bg_color = 'default' # Cell Background Default self.property_cell_bg_image = 'none' # Cell Background Default self.property_cell_fontsize = '10' # Cell Font Size Default - self.property_cell_valign = 'default' # Vertial Alignment Default + self.property_cell_valign = 'default' # Vertical Alignment Default self.property_cell_halign = 'default' # Horizantal Alignment Default def get_next_style(self, style): diff --git a/contrib/non-profit-audit-reports/summary-reports.plx b/contrib/non-profit-audit-reports/summary-reports.plx index ddc97737..bf3abc4a 100755 --- a/contrib/non-profit-audit-reports/summary-reports.plx +++ b/contrib/non-profit-audit-reports/summary-reports.plx @@ -213,7 +213,7 @@ die "Total net assets doesn't equal sum of restricted and unrestricted ones!" my %incomeGroups = ('INTEREST INCOME' => { args => ['/^Income.*Interest/' ] }, 'DONATIONS' => { args => [ '/^Income.*Donation/' ] }, 'BOOK ROYALTIES & AFFILIATE PROGRAMS' => - { args => [ '/^Income.*(Royalt|Affilate)/' ] }, + { args => [ '/^Income.*(Royalt|Affiliate)/' ] }, 'CONFERENCES, REGISTRATION' => {args => [ '/^Income.*Reg/' ] }, 'CONFERENCES, RELATED BUSINESS INCOME' => { args => [ '/^Income.*(Conferences?:.*Sponsor|Booth|RBI)/'] }, 'LICENSE COMPLIANCE' => { args => [ '/^Income.*(Enforce|Compliance)/' ]}, diff --git a/contrib/raw/GenerateLatexExpeneseReport.pl b/contrib/raw/GenerateLatexExpeneseReport.pl index 670d9f21..0d222d7e 100755 --- a/contrib/raw/GenerateLatexExpeneseReport.pl +++ b/contrib/raw/GenerateLatexExpeneseReport.pl @@ -149,7 +149,7 @@ my @MainReport = `$CmdLine`; ### MainReport: @MainReport # Remove any project codes and linefeeds -#map { chomp(); s/(:AISER[0-9][0-9][0-9][0-9])+://g; } @MainReport; # No need, thats now metadata +#map { chomp(); s/(:AISER[0-9][0-9][0-9][0-9])+://g; } @MainReport; # No need, that's now metadata foreach my $line (@MainReport) { ### Processing Main Report... done -- cgit v1.2.3