[geary: 1/2] *: fix spelling mistakes found by codespell




commit 1d02b8b70b55b9c2014ac8508afc56563170c788
Author: Björn Daase <bjoern daase net>
Date:   Wed Aug 19 09:34:58 2020 +0200

    *: fix spelling mistakes found by codespell

 NEWS                                                                | 2 +-
 meson.build                                                         | 2 +-
 meson_options.txt                                                   | 2 +-
 src/client/accounts/accounts-editor-add-pane.vala                   | 4 ++--
 src/client/accounts/accounts-editor-servers-pane.vala               | 4 ++--
 src/client/application/application-account-context.vala             | 2 +-
 src/client/application/application-notification-plugin-context.vala | 2 +-
 src/client/composer/composer-web-view.vala                          | 2 +-
 src/client/composer/composer-widget.vala                            | 2 +-
 src/client/plugin/plugin-notification-extension.vala                | 2 +-
 src/client/util/util-gtk.vala                                       | 2 +-
 src/client/util/util-js.vala                                        | 2 +-
 src/engine/imap/api/imap-client-service.vala                        | 2 +-
 src/engine/imap/parameter/imap-list-parameter.vala                  | 2 +-
 src/engine/imap/response/imap-response-code-type.vala               | 2 +-
 src/engine/rfc822/rfc822-message.vala                               | 2 +-
 test/js/composer-page-state-test.vala                               | 2 +-
 17 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/NEWS b/NEWS
index d37d46d54..4bf674c86 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/meson.build b/meson.build
index 100626889..4db419efe 100644
--- a/meson.build
+++ b/meson.build
@@ -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()
diff --git a/meson_options.txt b/meson_options.txt
index 1e72e0af3..a18438d41 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -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
diff --git a/src/client/accounts/accounts-editor-add-pane.vala 
b/src/client/accounts/accounts-editor-add-pane.vala
index 8932d8c30..a4a333cdc 100644
--- a/src/client/accounts/accounts-editor-add-pane.vala
+++ b/src/client/accounts/accounts-editor-add-pane.vala
@@ -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",
diff --git a/src/client/accounts/accounts-editor-servers-pane.vala 
b/src/client/accounts/accounts-editor-servers-pane.vala
index 3c9a8f1a7..54476264b 100644
--- a/src/client/accounts/accounts-editor-servers-pane.vala
+++ b/src/client/accounts/accounts-editor-servers-pane.vala
@@ -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);
diff --git a/src/client/application/application-account-context.vala 
b/src/client/application/application-account-context.vala
index 0d18648ff..d24b1e672 100644
--- a/src/client/application/application-account-context.vala
+++ b/src/client/application/application-account-context.vala
@@ -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;
     }
diff --git a/src/client/application/application-notification-plugin-context.vala 
b/src/client/application/application-notification-plugin-context.vala
index 2f0b61038..774a543f2 100644
--- a/src/client/application/application-notification-plugin-context.vala
+++ b/src/client/application/application-notification-plugin-context.vala
@@ -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)
diff --git a/src/client/composer/composer-web-view.vala b/src/client/composer/composer-web-view.vala
index a998f113c..aea469789 100644
--- a/src/client/composer/composer-web-view.vala
+++ b/src/client/composer/composer-web-view.vala
@@ -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;
         }
     }
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 176c60df5..addda1277 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -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) {
diff --git a/src/client/plugin/plugin-notification-extension.vala 
b/src/client/plugin/plugin-notification-extension.vala
index 200098c81..11be9e8ad 100644
--- a/src/client/plugin/plugin-notification-extension.vala
+++ b/src/client/plugin/plugin-notification-extension.vala
@@ -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);
 
 }
diff --git a/src/client/util/util-gtk.vala b/src/client/util/util-gtk.vala
index 1d41f2e52..09d59e816 100644
--- a/src/client/util/util-gtk.vala
+++ b/src/client/util/util-gtk.vala
@@ -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
      */
diff --git a/src/client/util/util-js.vala b/src/client/util/util-js.vala
index 6d12072cf..52c9428b4 100644
--- a/src/client/util/util-js.vala
+++ b/src/client/util/util-js.vala
@@ -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 {
 
diff --git a/src/engine/imap/api/imap-client-service.vala b/src/engine/imap/api/imap-client-service.vala
index 044a7c050..b20da56c0 100644
--- a/src/engine/imap/api/imap-client-service.vala
+++ b/src/engine/imap/api/imap-client-service.vala
@@ -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) {
diff --git a/src/engine/imap/parameter/imap-list-parameter.vala 
b/src/engine/imap/parameter/imap-list-parameter.vala
index 777d42fc5..f828e290c 100644
--- a/src/engine/imap/parameter/imap-list-parameter.vala
+++ b/src/engine/imap/parameter/imap-list-parameter.vala
@@ -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);
diff --git a/src/engine/imap/response/imap-response-code-type.vala 
b/src/engine/imap/response/imap-response-code-type.vala
index ce318d020..bfd2a68e0 100644
--- a/src/engine/imap/response/imap-response-code-type.vala
+++ b/src/engine/imap/response/imap-response-code-type.vala
@@ -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";
diff --git a/src/engine/rfc822/rfc822-message.vala b/src/engine/rfc822/rfc822-message.vala
index 9cc55ac85..51563caf9 100644
--- a/src/engine/rfc822/rfc822-message.vala
+++ b/src/engine/rfc822/rfc822-message.vala
@@ -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();
diff --git a/test/js/composer-page-state-test.vala b/test/js/composer-page-state-test.vala
index ec31221a5..86382fc42 100644
--- a/test/js/composer-page-state-test.vala
+++ b/test/js/composer-page-state-test.vala
@@ -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()
             ));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]