Spelling fixes for comments and doc

--
Patch provided by ka7 in dev.gnupg.org

Differential D423
This commit is contained in:
Andre Heinecke 2017-12-08 05:59:11 +01:00
parent 1458adaea4
commit 7b5182f288
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C
15 changed files with 34 additions and 34 deletions

View File

@ -60,7 +60,7 @@ AC_DEFUN([GNUPG_CHECK_VA_COPY],
])
dnl LIST_MEMBER()
dnl Check wether an element ist contained in a list. Set `found' to
dnl Check whether an element ist contained in a list. Set `found' to
dnl `1' if the element is found in the list, to `0' otherwise.
AC_DEFUN([LIST_MEMBER],
[

View File

@ -280,7 +280,7 @@ if test x$fixed_search_path != x ; then
fi
# Note: You need to declare all possible langauges also in
# Note: You need to declare all possible languages also in
# lang/Makefile.am's DIST_SUBDIRS.
AC_ARG_ENABLE([languages],
AC_HELP_STRING([--enable-languages=languages],
@ -336,7 +336,7 @@ fi
# Check that if qt is enabled cpp also is enabled
LIST_MEMBER("qt", $enabled_languages)
if test "$found" = "1"; then
# We need to ensure that in the langauge order qt comes after cpp
# We need to ensure that in the language order qt comes after cpp
# so we remove qt first and explicitly add it as last list member.
enabled_languages=$(echo $enabled_languages | sed 's/qt//')
LIST_MEMBER("cpp", $enabled_languages)

View File

@ -502,13 +502,13 @@ systems. To address offsets in large files, you can either enable
largefile support add-on. Then a new data type @code{off64_t} is
provided, which is 64 bit wide. Or you can replace the existing
@code{off_t} data type with its 64 bit wide counterpart. All
occurences of @code{off_t} are then automagically replaced.
occurrences of @code{off_t} are then automagically replaced.
As if matters were not complex enough, there are also two different
types of file descriptors in such systems. This is important because
if file descriptors are exchanged between programs that use a
different maximum file size, certain errors must be produced on some
file descriptors to prevent subtle overflow bugs from occuring.
file descriptors to prevent subtle overflow bugs from occurring.
As you can see, supporting two different maximum file sizes at the
same time is not at all an easy task. However, the maximum file size
@ -733,7 +733,7 @@ Windows.
@item require-gnupg
Set the mimimum version of the required GnuPG engine. If that version
is not met, GPGME fails early instead of trying to use the existant
is not met, GPGME fails early instead of trying to use the existent
version. The given version must be a string with major, minor, and
micro number. Example: "2.1.0".
@ -1131,7 +1131,7 @@ of the configuration directory for this crypto engine. If
The new defaults are not applied to already created GPGME contexts.
This function returns the error code @code{GPG_ERR_NO_ERROR} if
successful, or an eror code on failure.
successful, or an error code on failure.
@end deftypefun
The functions @code{gpgme_ctx_get_engine_info} and
@ -1568,7 +1568,7 @@ This value indicates success. The value of this error code is
@code{0}. Also, it is guaranteed that an error value made from the
error code @code{0} will be @code{0} itself (as a whole). This means
that the error source information is lost for this error code,
however, as this error code indicates that no error occured, this is
however, as this error code indicates that no error occurred, this is
generally not a problem.
@item GPG_ERR_GENERAL
@ -1642,7 +1642,7 @@ This value indicates that no certificate revocation list is known for
the certificate.
@item GPG_ERR_NO_POLICY_MATCH
This value indicates that a policy issue occured.
This value indicates that a policy issue occurred.
@item GPG_ERR_NO_SECKEY
This value indicates that no secret key for the user ID is available.
@ -2498,7 +2498,7 @@ if the function is called after starting the first operation on the
context @var{ctx}.
This function returns the error code @code{GPG_ERR_NO_ERROR} if
successful, or an eror code on failure.
successful, or an error code on failure.
@end deftypefun
@ -2761,7 +2761,7 @@ is the default.
@item GPGME_KEYLIST_MODE_EXTERN
The @code{GPGME_KEYLIST_MODE_EXTERN} symbol specifies that an external
source should be searched for keys in the keylisting operation. The
type of external source is dependant on the crypto engine used and
type of external source is dependent on the crypto engine used and
whether it is combined with @code{GPGME_KEYLIST_MODE_LOCAL}. For
example, it can be a remote keyserver or LDAP certificate server.
@ -6399,7 +6399,7 @@ If this flag is set the given @code{name} is not known.
If this flag is set the available information is not fresh enough.
@item error
If this flag is set some other error has occured.
If this flag is set some other error has occurred.
@item version
The version string of the latest released version.
@ -6435,7 +6435,7 @@ current gpgme version is checked. @var{reserved} must be set to 0.
The function @code{gpgme_op_query_swdb_result} returns a
@code{gpgme_query_swdb_result_t} pointer to a structure holding the
result of a @code{gpgme_op_query_swdb} operation. The pointer is only
valid if the last operation on the context was a sucessful call to
valid if the last operation on the context was a successful call to
@code{gpgme_op_query_swdb}. If that call failed, the result might
be a @code{NULL} pointer. The returned pointer is only valid until
the next operation is started on the context @var{ctx}.
@ -6693,9 +6693,9 @@ in a context which has I/O callback functions registered by the user.
@code{gpgme_event_io_cb_t} function with @acronym{GPGME} and will always be
passed as the first argument when registering a callback function.
For example, the user can use this to determine the context in which
this event has occured.
this event has occurred.
@var{type} will specify the type of event that has occured.
@var{type} will specify the type of event that has occurred.
@var{type_data} specifies the event further, as described in the above
list of possible @code{gpgme_event_io_t} types.
@ -6733,7 +6733,7 @@ must be processed.
@item void *event_priv
This is passed as the first argument to the @code{event} function when
it is called by @acronym{GPGME}. For example, it can be used to
determine the context in which the event has occured.
determine the context in which the event has occurred.
@end table
@end deftp

View File

@ -460,7 +460,7 @@
\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
% Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space.
% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
%
% \argremovec might leave us with trailing space, e.g.,
% @end itemize @c foo
@ -485,7 +485,7 @@
% to get _exactly_ the rest of the line, we had to prevent such situation.
% We prepended an \empty token at the very beginning and we expand it now,
% just before passing the control to \argtorun.
% (Similarily, we have to think about #3 of \argcheckspacesY above: it is
% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
% either the null string, or it ends with \^^M---thus there is no danger
% that a pair of braces would be stripped.
%
@ -542,7 +542,7 @@
% used to check whether the current environment is the one expected.
%
% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
% are not treated as enviroments; they don't open a group. (The
% are not treated as environments; they don't open a group. (The
% implementation of @end takes care not to call \endgroup in this
% special case.)
@ -565,7 +565,7 @@
\fi
}
% Evironment mismatch, #1 expected:
% Environment mismatch, #1 expected:
\def\badenverr{%
\errhelp = \EMsimple
\errmessage{This command can appear only \inenvironment\temp,
@ -7317,7 +7317,7 @@ end
% In case a @footnote appears in a vbox, save the footnote text and create
% the real \insert just after the vbox finished. Otherwise, the insertion
% would be lost.
% Similarily, if a @footnote appears inside an alignment, save the footnote
% Similarly, if a @footnote appears inside an alignment, save the footnote
% text to a box and make the \insert when a row of the table is finished.
% And the same can be done for other insert classes. --kasal, 16nov03.

View File

@ -484,7 +484,7 @@ First, the input files need to be specified by one or more
@code{FILE} commands. Afterwards, the actual operation is requested:
@deffn Command CHECKSUM_CREATE_FILES --nohup
Request that checksums are created for the files specifed by
Request that checksums are created for the files specified by
@code{FILE}. The choice of checksum algorithm and the destination
storage and format for the created checksums depend on the preferences
of the user and the functionality provided by the UI server. For
@ -499,7 +499,7 @@ promptly, and completes the operation asynchronously.
@deffn Command CHECKSUM_VERIFY_FILES --nohup
Request that checksums are created for the files specifed by
Request that checksums are created for the files specified by
@code{FILE} and verified against previously created and stored
checksums. The choice of checksum algorithm and the source storage
and format for previously created checksums depend on the preferences

View File

@ -62,7 +62,7 @@ Example to set the ownertrust of a key:
Data data;
/* Start the edit on some key previously obtained. */
Error e = ctx->edit(key, std::unique_ptr<EditInteractor>(ei), data);
/* Errors provide boolean comparision */
/* Errors provide boolean comparison */
if (!e)
...
/* Delete the context */

View File

@ -87,7 +87,7 @@ public:
/* The time the online info was retrieved. */
unsigned long retrieved() const;
/* This bit is set if an error occured or some of the information
/* This bit is set if an error occurred or some of the information
* in this structure may not be set. */
bool warning() const;

View File

@ -45,7 +45,7 @@ with gpg.Context(armor=True) as c, gpg.Data() as expkey:
# of them.
with gpg.Context() as c:
# Note: We must not modify the key store during iteration,
# therfore, we explicitly make a list.
# therefore, we explicitly make a list.
keys = list(c.keylist(user))
for k in keys:

View File

@ -38,7 +38,7 @@ with QObject::deleteLater so they can be started without
result handlers.
The result signal provides a tuple of objects with the
appropiate result information for this job. For historic
appropriate result information for this job. For historic
reasons each result signal also includes an AuditLog
and an AuditLog Error. These are only useful for
S/MIME signature validation but are part of other jobs
@ -72,7 +72,7 @@ Async usage:
job->start(keys, inptr, outptr, Context::AlwaysTrust);
/* Do not delete the job as it is autodeleted. */
Syncronus usage:
Synchronous usage:
/* Create a job */
KeyListJob *listjob = openpgp()->keyListJob(false, false, false);

View File

@ -222,7 +222,7 @@ debug_init (void)
/* This should be called as soon as the locks are intialized. It is
/* This should be called as soon as the locks are initialized. It is
required so that the assuan logging gets conncted to the gpgme log
stream as early as possible. */
void

View File

@ -194,7 +194,7 @@ gpgme_op_interact (gpgme_ctx_t ctx, gpgme_key_t key, unsigned int flags,
/* The deprectated interface. */
/* The deprecated interface. */
static gpgme_error_t
edit_start (gpgme_ctx_t ctx, int synchronous, int type, gpgme_key_t key,
gpgme_edit_cb_t fnc, void *fnc_value, gpgme_data_t out)

View File

@ -650,7 +650,7 @@ gpgme_op_set_uid_flag_start (gpgme_ctx_t ctx,
}
/* See set_uid_flag. Thsi is the synchronous variant. */
/* See set_uid_flag. This is the synchronous variant. */
gpgme_error_t
gpgme_op_set_uid_flag (gpgme_ctx_t ctx,
gpgme_key_t key, const char *userid,

View File

@ -1,4 +1,4 @@
/* parsetlv.h - TLV functions defintions
/* parsetlv.h - TLV functions definitions
* Copyright (C) 2012 g10 Code GmbH
*
* This file is free software; you can redistribute it and/or modify

View File

@ -66,7 +66,7 @@ trustlist_status_handler (void *priv, gpgme_status_code_t code, char *args)
K for a key
The RECNO is either the one of the dir record or the one of the uid
record. OT is the the usual trust letter and only availabel on K
lines. VAL is the calcualted validity MC is the marginal trust
lines. VAL is the calculated validity MC is the marginal trust
counter and only available on U lines CC is the same for the
complete count NAME ist the username and only printed on U
lines. */

View File

@ -237,7 +237,7 @@
* gpg/t-keylist.c: Reordered list to match new demo keyring. Add
arg for number of subkeys and for extra checking function.
(main): Enhanced a few error outputs. Changed subkey
counting. Call extra checking fucntion.
counting. Call extra checking function.
(check_whisky): New.
2005-10-07 Marcus Brinkmann <marcus@g10code.de>