Skip to content

Commit

Permalink
Fix typos for gnuchash/ doc/ bindings/ and misc.
Browse files Browse the repository at this point in the history
Typos found via `codespell -q 3 -D ~/Projects/codespell/codespell_lib/data/dictionary.txt -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,cas,dragable,gae,iff,iif,mut,nd,numer,startd,stoll`
  • Loading branch information
luzpaz committed Sep 14, 2019
1 parent c675b5b commit 65bb60d
Show file tree
Hide file tree
Showing 96 changed files with 172 additions and 172 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ endif()
set(BUILD_SHARED_LIBS ON)

# Most libraries are installed to lib/gnucash, so set that as the default.
# For the handful that are installed to lib, we override the properies below
# For the handful that are installed to lib, we override the properties below
# (after the targets have been read in).


Expand Down
6 changes: 3 additions & 3 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ or unit tests with Electric Fence.
It should probably be relatively straightforward to add this as all it
needs is to link with libefence.so (-lefence).

Fedora 27 ships an ElectricFence package containing that libary and also
an exectuable 'ef' to run an arbitrary program with Electric Fence
guarding enabled. I have given it a quick spin on gnucash but it immediatly
Fedora 27 ships an ElectricFence package containing that library and also
an executable 'ef' to run an arbitrary program with Electric Fence
guarding enabled. I have given it a quick spin on gnucash but it immediately
crashes. I haven't investigated whether this is because I should first have
linked gnucash with -lefence or because a real problem in GnuCash code.

Expand Down
2 changes: 1 addition & 1 deletion README.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Libraries/Deps
doesn't include all file types
when building gnucash.pot.
libxslt, including xsltproc
ICU International Compnents for
ICU International Components for
Unicode
boost 1.50.0 locale and regex libs must be
built with ICU support.
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/example_scripts/account_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def gnc_numeric_to_python_Decimal(numeric):
copy = GncNumeric(numeric.num(), numeric.denom())
result = copy.to_decimal(None)
if not result:
raise Exception("gnc numeric value %s can't be converted to deciaml" %
raise Exception("gnc numeric value %s can't be converted to decimal" %
copy.to_string() )
digit_tuple = tuple( int(char)
for char in str(copy.num())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# This script takes a gnucash url
# and creates a new file/db at a second url that has the same
# account tree and an equivilent opening balance on all the simple balance
# account tree and an equivalent opening balance on all the simple balance
# sheet accounts (not for income and expense accounts)
#
# This is done a per currency basis, one opening balance account for each
Expand Down Expand Up @@ -122,7 +122,7 @@
)) )

# this script isn't capable of properly setting up the transactions for
# ACCT_TYPE_TRADING, you'll have to create opening balances for them mannually;
# ACCT_TYPE_TRADING, you'll have to create opening balances for them manually;
# so, they are not included in the set of accounts used for opening balances
ACCOUNT_TYPES_TO_OPEN.remove(ACCT_TYPE_TRADING)

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/example_scripts/rest-api/gnucash_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ def payBill(book, id, posted_account_guid, transfer_account_guid, payment_date,

xfer_acc = account_guid.AccountLookup(session.book)

# We pay the negitive total as the bill as this seemed to cause issues
# We pay the negative total as the bill as this seemed to cause issues
# with the split not being set correctly and not being marked as paid
bill.ApplyPayment(None, xfer_acc, bill.GetTotal().neg(), GncNumeric(0),
datetime.datetime.strptime(payment_date, '%Y-%m-%d'), memo, num)
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/example_scripts/simple_business_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# gnucash-env python simple_business_create.py \
# sqlite3:///home/blah/blah.gnucash
#
# Specificically, this sets up a simple tree, creates a customer, job,
# Specifically, this sets up a simple tree, creates a customer, job,
# employee and vendor, creates an unposted invoice for each,
# and posts the customer invoice with a few entries and a tax table.
#
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/function_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ClassFromFunctions(object):
add_method and add_methods_with_prefix.
"""
def __new__(cls, *args, **kargs):
# why reimpliment __new__? Because later on we're going to
# why reimplement __new__? Because later on we're going to
# use new to avoid creating new instances when existing instances
# already exist with the same __instance value, or equivalent __instance
# values, where this is desirable...
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/gnucash_core.i
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

%include <qofbackend.h>

// this function is defined in qofsession.h, but isnt found in the libraries,
// this function is defined in qofsession.h, but isn't found in the libraries,
// ignored because SWIG attempts to link against (to create language bindings)
%ignore qof_session_not_saved;
%include <qofsession.h>
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/time64.i
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
// receiving this pointer is going to make a copy of the data. After the
// function call, the memory for the time64 used to perform this conversion
// is going to be lost, so make damn sure that the recipient of this pointer
// is NOT going dereference it sometime after this function call takes place.
// is NOT going to dereference it sometime after this function call takes place.
//
// As far as I know, the xaccTransSetDate[Posted|Entered|Due]TS functions
// from Transaction.h are the only functions with time64 * that we re
Expand All @@ -71,7 +71,7 @@
//
// Mark Jenkins <mark@parit.ca>
//
// as far as I can see all occurences of pointers to time64 are now covered
// as far as I can see all occurrences of pointers to time64 are now covered
// by the named typemaps below (2019-04)
//
// Christoph Holtermann <mail@c-holtermann.net>
Expand Down
2 changes: 1 addition & 1 deletion borrowed/libc/strptime.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ int era_cnt;
}

/* Any character but `%' must be matched by the same character
in the iput string. */
in the input string. */
if (*fmt != '%')
{
match_char (*fmt++, *rp++);
Expand Down
6 changes: 3 additions & 3 deletions common/gnc-test-env.pl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
my @guile_load_dirs=();
my @library_dirs=();
GetOptions ("exports!" => \$define_exports, # flag
"gnc-module-dir=s" => \@gnc_module_dirs, # arry of strings
"guile-load-dir=s" => \@guile_load_dirs, # arry of strings
"library-dir=s" => \@library_dirs, # arry of strings
"gnc-module-dir=s" => \@gnc_module_dirs, # array of strings
"guile-load-dir=s" => \@guile_load_dirs, # array of strings
"library-dir=s" => \@library_dirs, # array of strings
"verbose" => \$verbose) # flag
or die(
"Usage: gnc-test-env.pl [ --exports | --noexports ]\n" .
Expand Down
4 changes: 2 additions & 2 deletions doc/README.OFX
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ output of the ofxdump utility on your file.
(1) GnuCash simply hangs when importing an OFX file

This is probably bug https://bugs.gnucash.org/show_bug.cgi?id=101738
Unfortunately the main developpers are unable to reproduce. So far, this bug
Unfortunately the main developers are unable to reproduce. So far, this bug
only occurs with OpenSP 1.5. It does not occur for anyone with OpenSP 1.3.x,
which is shipped on most Linux distro as part of openjade, so you may want to
downgrade. (Please note that OpenSP 1.3.x has several other issues however)

This bug is beleived to be a threading issue, and may be a problem in GnuCash,
This bug is believed to be a threading issue, and may be a problem in GnuCash,
LibOFX, OpenSP, or some versions of the Linux kernel. If you have any useful
info,please add a comment to the bug above (even if only to say you encountered
the bug,and your version of the previously mentioned packages).
Expand Down
12 changes: 6 additions & 6 deletions doc/TRANSLATION_HOWTO
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ email address.
4) Building, Installing and running GnuCash

Before starting to work on your translations, it is suggested that you
buiild the gnucash source code. This way you can get your system set up
build the gnucash source code. This way you can get your system set up
correctly with all the development packages you need. It is a good idea
to actually run gnucash with your new translations because it is quite
helpful to see the phrases in the context of the running program.
Expand Down Expand Up @@ -157,7 +157,7 @@ Now, open your language's glossary file and translate it completely.
==============================================================================
6) Initial processing of the translation file

Before you begin actualy translation work, you should update the gnucash.pot
Before you begin actual translation work, you should update the gnucash.pot
file and use this to update your .po file. This process will insure that
you have the latest translatable strings.

Expand All @@ -174,7 +174,7 @@ If your language file does exist, update it using the msgmerge program:

/usr/bin/msgmerge -o XXXX.po XXXX.po gnucash.pot

The top of the .po file should be editted somewhat. The comments at the
The top of the .po file should be edited somewhat. The comments at the
top of the file should be changed to be current:

# Messages in Deutsch f�r GnuCash
Expand All @@ -191,7 +191,7 @@ Make sure that the header of your .po file contains this line:

Finally. You are ready to do some translating!

There are many transaltion editors, KBabel, for example, works well for
There are many translation editors, KBabel, for example, works well for
GnuCash. Some Editors are noted here:
https://translationproject.org/html/software.html

Expand Down Expand Up @@ -256,13 +256,13 @@ Notice that the comment "c-format" was not removed. That is correct, you
should leave that.

When you see the comment "c-format", it means that the format codes in the
tranlatable string are referring to C formatting codes. So, '%s' means text,
translatable string are referring to C formatting codes. So, '%s' means text,
'%d' means an integer, etc...

==============================================================================
8) Testing and submitting your translations

You must check that your new translations are programatically correct (ie:
You must check that your new translations are programmatically correct (ie:
that there are no unclosed quotes, etc). To do this, use the msgfmt program

/usr/bin/msgfmt -c --statistics XXXX.po
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/iif/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This directory contains sample data files in the 'iif'
Intuit Interchange Format files. Most of thise files
Intuit Interchange Format files. Most of these files
have only one transaction in them, with only one or two
splits.

Expand Down
18 changes: 9 additions & 9 deletions doc/examples/taxreport.gnucash
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
<cmdty:id>USD</cmdty:id>
</act:commodity>
<act:commodity-scu>100</act:commodity-scu>
<act:description>Company 50% match of S&amp;S, to 7% of salery.</act:description>
<act:description>Company 50% match of S&amp;S, to 7% of salary.</act:description>
<act:slots>
<slot>
<slot:key>tax-US</slot:key>
Expand Down Expand Up @@ -1993,7 +1993,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>HomeMaintainance</act:name>
<act:name>HomeMaintenance</act:name>
<act:id type="guid">2f46699ef618ac2e88c9a5201d4bff2d</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand All @@ -2004,7 +2004,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>IRA Contribution, Non Deductable</act:name>
<act:name>IRA Contribution, Non Deductible</act:name>
<act:id type="guid">911b7f106931fb26917aa2aa6662e70e</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand Down Expand Up @@ -2081,7 +2081,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Morgage</act:name>
<act:name>Mortgage</act:name>
<act:id type="guid">8d172831a7cee627802966332dc04411</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand Down Expand Up @@ -2139,7 +2139,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Restarant</act:name>
<act:name>Restaurant</act:name>
<act:id type="guid">ab78940fcbc8e25834c57c92a0dadd0e</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand All @@ -2162,7 +2162,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Tax Deductable</act:name>
<act:name>Tax Deductible</act:name>
<act:id type="guid">d7bfc2020fd8cb91e46a6cda6bdb6efd</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand Down Expand Up @@ -2392,7 +2392,7 @@
<act:parent type="guid">d7bfc2020fd8cb91e46a6cda6bdb6efd</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Non Deductable</act:name>
<act:name>Non Deductible</act:name>
<act:id type="guid">82119f5617cc4cbaf7f882a0883fd7df</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand Down Expand Up @@ -2512,7 +2512,7 @@
<act:parent type="guid">babd20035ed6cd6415d878a31675210c</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>IRA mangement fee</act:name>
<act:name>IRA management fee</act:name>
<act:id type="guid">380635c3d759d34529e0422ced08628c</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
Expand Down Expand Up @@ -4008,7 +4008,7 @@ Witholding</act:name>
<trn:date-entered>
<ts:date>2000-10-21 16:41:40 +0200</ts:date>
</trn:date-entered>
<trn:description>IRA Contrib, non Deductable</trn:description>
<trn:description>IRA Contrib, non Deductible</trn:description>
<trn:splits>
<trn:split>
<split:id type="guid">d6d30e081d5da4f33d5248e8a6aae3c2</split:id>
Expand Down
2 changes: 1 addition & 1 deletion doc/gtk-3.0.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is an example GTK CSS file that can be used with Gnucash.
Simply copy this file to the loaction specified below according
Simply copy this file to the location specified below according
to your platform and then restart gnucash.
- Windows: CSIDL_APPDATA/GnuCash
Expand Down
Loading

0 comments on commit 65bb60d

Please sign in to comment.