From 96ef45d94842c9d62dd41d4183fa917c5c34d9d1 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Wed, 24 Jan 2018 13:24:58 +0000 Subject: [PATCH] Fix spelling --- ChangeLog.md | 2 +- autosetup/autosetup | 2 +- contrib/language50.txt | 6 +++--- contrib/smime_keys | 2 +- curs_main.c | 2 +- hcache/backend.h | 2 +- init.c | 12 ++++++------ mutt/rfc2047.c | 2 +- nntp.c | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 77a8073fb..857f3e169 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -689,7 +689,7 @@ - 22 resource leaks * Translations - Update translations - - Update the german translation (#397) + - Update the German translation (#397) * Docs - fix typo in notmuch example - remove duplicate "default" in the sidebar intro diff --git a/autosetup/autosetup b/autosetup/autosetup index ef742d072..dece81b88 100755 --- a/autosetup/autosetup +++ b/autosetup/autosetup @@ -464,7 +464,7 @@ proc options-add {opts {header ""}} { set defaultvalue [dict get $autosetup(options-defaults) $name] dict set autosetup(optdefault) $name $defaultvalue } elseif {![info exists defaultvalue]} { - # For backward compatiblity, if ":name" was given, use name as both + # For backward compatibility, if ":name" was given, use name as both # the display text and the default value, but only if the user # specified the option without the value set defaultvalue $value diff --git a/contrib/language50.txt b/contrib/language50.txt index 50376bfc2..3fa4fdfcd 100644 --- a/contrib/language50.txt +++ b/contrib/language50.txt @@ -136,7 +136,7 @@ us=Cannot combine -c and -r arguments\n #Untested [PGPK_IS_SEPERATE] -us=pgpk is a seperate program, not a symlink to pgp!\n +us=pgpk is a separate program, not a symlink to pgp!\n #Untested [UNKNOWN_SYMLINK] @@ -376,7 +376,7 @@ us="I/O error during call to ftell(): %s" #Untested [PGPERR_PRECEDING_ASSOCIATED_WITH] -us="The preceeding error was associated with: " +us="The preceding error was associated with: " #Untested [NOT_PGP_KEYFILE] @@ -882,7 +882,7 @@ us=You cannot disable an axiomatic key. Use pgpk -e to change your\n\ trust of this key, first.\n [RETRIEVING_URL] -us="Retreiving %s:/%s:%i%s\n" +us="Retrieving %s:/%s:%i%s\n" [ADD_THESE_KEYS] us="\nAdd these keys to your keyring? [Y/n] " diff --git a/contrib/smime_keys b/contrib/smime_keys index b3084390f..99854798d 100755 --- a/contrib/smime_keys +++ b/contrib/smime_keys @@ -176,7 +176,7 @@ Usage: smime_keys [file(s) | keyID [file(s)]] label : keyID required. changes/removes/adds label. remove : keyID required. verify : 1=keyID and optionally 2=CRL - Verifies the certificate chain, and optionally wether + Verifies the certificate chain, and optionally whether this certificate is included in supplied CRL (PEM format). Note: to verify all certificates at the same time, replace keyID with "all" diff --git a/curs_main.c b/curs_main.c index 1821703cd..64aca02df 100644 --- a/curs_main.c +++ b/curs_main.c @@ -2418,7 +2418,7 @@ int mutt_index_menu(void) case OP_DECRYPT_SAVE: if (!WithCrypto) break; - /* fall thru */ + /* fallthrough */ case OP_COPY_MESSAGE: case OP_SAVE: case OP_DECODE_COPY: diff --git a/hcache/backend.h b/hcache/backend.h index 68985aa13..169510bb9 100644 --- a/hcache/backend.h +++ b/hcache/backend.h @@ -36,7 +36,7 @@ * * The hcache_open function has the purpose of opening a backend-specific * connection to the database file specified by the path parameter. Backends - * MUST return non-NULL specific context informations on success. This will be + * MUST return non-NULL specific context information on success. This will be * stored in the ctx member of the header_cache_t structure and passed on to * all other backend-specific functions (see below). */ diff --git a/init.c b/init.c index 9a07b8472..b1911746d 100644 --- a/init.c +++ b/init.c @@ -3313,7 +3313,7 @@ int mutt_command_complete(char *buffer, size_t len, int pos, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } @@ -3370,7 +3370,7 @@ int mutt_command_complete(char *buffer, size_t len, int pos, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } @@ -3418,7 +3418,7 @@ int mutt_command_complete(char *buffer, size_t len, int pos, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } @@ -3574,7 +3574,7 @@ bool mutt_nm_query_complete(char *buffer, size_t len, int pos, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } @@ -3629,7 +3629,7 @@ bool mutt_nm_tag_complete(char *buffer, size_t len, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } @@ -4526,7 +4526,7 @@ int mutt_label_complete(char *buffer, size_t len, int numtabs) snprintf(Completed, sizeof(Completed), "%s", Matches[0]); else if (numtabs > 1 && NumMatched > 2) { - /* cycle thru all the matches */ + /* cycle through all the matches */ snprintf(Completed, sizeof(Completed), "%s", Matches[(numtabs - 2) % NumMatched]); } diff --git a/mutt/rfc2047.c b/mutt/rfc2047.c index 0690cec86..65c07b30e 100644 --- a/mutt/rfc2047.c +++ b/mutt/rfc2047.c @@ -663,7 +663,7 @@ void mutt_rfc2047_decode(char **pd) char *beg; /* Begin of encoded word */ enum ContentEncoding enc; /* ENCBASE64 or ENCQUOTEDPRINTABLE */ char *charset; /* Which charset */ - size_t charsetlen; /* Lenght of the charset */ + size_t charsetlen; /* Length of the charset */ char *text; /* Encoded text */ size_t textlen; /* Length of encoded text */ diff --git a/nntp.c b/nntp.c index 4541f1f28..ba2933b4e 100644 --- a/nntp.c +++ b/nntp.c @@ -67,7 +67,7 @@ static int nntp_connect_error(struct NntpServer *nserv) /** * nntp_capabilities - Get capabilities * @retval -1 Error, connection is closed - * @retval 0 Mode is reader, capabilities setted up + * @retval 0 Mode is reader, capabilities set up * @retval 1 Need to switch to reader mode */ static int nntp_capabilities(struct NntpServer *nserv) -- 2.49.0