*: fix spelling mistakes found by codespell

This commit is contained in:
Björn Daase 2020-08-19 09:34:58 +02:00
parent f1d9e767e0
commit 1d02b8b70b
17 changed files with 19 additions and 19 deletions

2
NEWS
View file

@ -179,7 +179,7 @@ Changes:
* Substantial client application/controller/main window/composer class
cleanup
* Geary.Engine API cleanup
* Improve logging intialisation
* Improve logging initialisation
* Online manual updates
Thanks to all who contributed code fixes and enhancements to this

View file

@ -103,7 +103,7 @@ posix = valac.find_library('posix')
webkit2gtk_web_extension = dependency('webkit2gtk-web-extension-4.0', version: '>=' + target_webkit)
# Libunwind system dependencies above ensures appropriate versions,
# but this declared depencency is what we actually build against so we
# but this declared dependency is what we actually build against so we
# can include the custom VAPI correctly. We need to add unwind_lib to
# the search path for these so Flatpak builds can find the C lib.
if libunwind_dep.found()

View file

@ -35,7 +35,7 @@ option(
'valadoc',
type: 'boolean',
value: false,
description: 'Whether to build the documentaton (requires valadoc).'
description: 'Whether to build the documentation (requires valadoc).'
)
# Development options

View file

@ -194,7 +194,7 @@ internal class Accounts.EditorAddPane : Gtk.Grid, EditorPane {
// Translators: In-app notification label
message = _("Check your receiving login and password");
} catch (GLib.TlsError.BAD_CERTIFICATE err) {
debug("Error validating IMAP certifiate: %s", err.message);
debug("Error validating IMAP certificate: %s", err.message);
// Nothing to do here, since the untrusted host
// handler will be dealing with it
} catch (GLib.IOError.CANCELLED err) {
@ -262,7 +262,7 @@ internal class Accounts.EditorAddPane : Gtk.Grid, EditorPane {
} catch (GLib.TlsError.BAD_CERTIFICATE err) {
// Nothing to do here, since the untrusted host
// handler will be dealing with it
debug("Error validating SMTP certifiate: %s", err.message);
debug("Error validating SMTP certificate: %s", err.message);
} catch (GLib.Error err) {
Geary.ErrorContext context = new Geary.ErrorContext(err);
debug("Error validating SMTP service: %s",

View file

@ -322,7 +322,7 @@ internal class Accounts.EditorServersPane :
} catch (GLib.TlsError.BAD_CERTIFICATE err) {
// Nothing to do here, since the untrusted host
// handler will be dealing with it
debug("Error validating IMAP certifiate: %s", err.message);
debug("Error validating IMAP certificate: %s", err.message);
} catch (GLib.IOError.CANCELLED err) {
// Nothing to do here, someone just cancelled
debug("IMAP validation was cancelled: %s", err.message);
@ -356,7 +356,7 @@ internal class Accounts.EditorServersPane :
} catch (GLib.TlsError.BAD_CERTIFICATE err) {
// Nothing to do here, since the untrusted host
// handler will be dealing with it
debug("Error validating SMTP certifiate: %s", err.message);
debug("Error validating SMTP certificate: %s", err.message);
} catch (GLib.IOError.CANCELLED err) {
// Nothing to do here, someone just cancelled
debug("SMTP validation was cancelled: %s", err.message);

View file

@ -46,7 +46,7 @@ public class Application.AccountContext : Geary.BaseObject {
get; internal set; default = false;
}
/** Determines if the account is prompting for a pasword. */
/** Determines if the account is prompting for a password. */
internal bool authentication_prompting {
get; internal set; default = false;
}

View file

@ -176,7 +176,7 @@ internal class Application.NotificationPluginContext :
}
}
/** Determines if a folder is curently being monitored. */
/** Determines if a folder is currently being monitored. */
public bool is_monitoring_folder(Plugin.Folder target) {
return this.folder_information.has_key(
this.globals.folders.to_engine_folder(target)

View file

@ -437,7 +437,7 @@ public class Composer.WebView : ClientWebView {
null)
);
} catch (Error err) {
debug("Error checking or attchment keywords: %s", err.message);
debug("Error checking or attachment keywords: %s", err.message);
return false;
}
}

View file

@ -2764,7 +2764,7 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
if (lang == null) {
// No preferred lang found, so just use first
// supported matching langauge
// supported matching language
foreach (string pref in langs) {
lang = Gspell.Language.lookup(pref);
if (lang != null) {

View file

@ -120,7 +120,7 @@ public interface Plugin.NotificationContext : Geary.BaseObject {
/** Stops monitoring a folder for new messages. */
public abstract void stop_monitoring_folder(Plugin.Folder target);
/** Determines if a folder is curently being monitored. */
/** Determines if a folder is currently being monitored. */
public abstract bool is_monitoring_folder(Plugin.Folder target);
}

View file

@ -159,7 +159,7 @@ namespace Util.Gtk {
* @param existing_child_menu - if not null, a child menu that is
* about to be descended into
* @param existing_action - existing fully qualified action name
* of the curent item, if any
* of the current item, if any
* @param new_item - copy of the menu item being visited, which if
* accepted will be added to the new model
*/

View file

@ -185,7 +185,7 @@ namespace Util.JS {
}
/**
* A class for constructing a well formed, safe, invokable JS call.
* A class for constructing a well formed, safe, invocable JS call.
*/
public class Callable {

View file

@ -327,7 +327,7 @@ public class Geary.Imap.ClientService : Geary.ClientService {
ClientSession? new_session = null;
try {
// Work around GNOME/glib#1872 by waiting a second and
// retying when a G_IO_ERROR_FAILED is received. Pull this
// retrying when a G_IO_ERROR_FAILED is received. Pull this
// loop out when that bug is fixed.
int attempts = 3;
while (new_session == null) {

View file

@ -34,7 +34,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter {
// noop
}
/** Constructs a new list wit a single parameter. */
/** Constructs a new list with a single parameter. */
public ListParameter.single(Parameter param) {
base();
add(param);

View file

@ -26,7 +26,7 @@ public class Geary.Imap.ResponseCodeType : BaseObject, Gee.Hashable<ResponseCode
public const string COPYUID = "copyuid";
public const string MYRIGHTS = "myrights";
public const string NEWNAME = "newname";
public const string NONEXISTANT = "nonexistant";
public const string NONEXISTENT = "nonexistent";
public const string PARSE = "parse";
public const string PERMANENT_FLAGS = "permanentflags";
public const string READONLY = "read-only";

View file

@ -643,7 +643,7 @@ public class Geary.RFC822.Message : BaseObject, EmailHeaderSet {
if (gmime != null) {
var stream = new GMime.StreamMem();
// GMime doens't support writing content-only via the
// GMime doesn't support writing content-only via the
// public API, so suppress all headers in the message
// instead.
GMime.FormatOptions options = Geary.RFC822.get_format_options().clone();

View file

@ -381,7 +381,7 @@ I can send email through smtp.gmail.com:587 or through <a href="https://www.gmai
));
assert(!Util.JS.to_bool(run_javascript(
@"ComposerPageState.containsKeywords('http://something/esle.sf2', $complete_keys, $suffix_keys);"
@"ComposerPageState.containsKeywords('http://something/else.sf2', $complete_keys, $suffix_keys);"
).get_js_value()
));