From 2509c5c4f0db8047ad85b68594373fe1ee44bf3b Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 22 May 2019 20:47:08 +0000 Subject: [PATCH] Fix misspellings --- desktop/geary-attach | 2 +- src/client/accounts/accounts-editor.vala | 2 +- src/client/application/application-controller.vala | 6 +++--- src/client/application/geary-application.vala | 2 +- src/client/components/client-web-view.vala | 2 +- .../conversation-list/formatted-conversation-data.vala | 2 +- src/client/conversation-viewer/conversation-message.vala | 2 +- src/client/notification/in-app-notification.vala | 2 +- src/client/notification/new-messages-indicator.vala | 2 +- src/engine/api/geary-revokable.vala | 4 ++-- .../app/conversation-monitor/app-reseed-operation.vala | 2 +- src/engine/imap-db/imap-db-account.vala | 2 +- src/engine/imap-db/imap-db-database.vala | 6 +++--- src/engine/imap-db/imap-db-folder.vala | 4 ++-- src/engine/imap-db/search/imap-db-search-folder.vala | 2 +- src/engine/imap-engine/imap-engine-generic-account.vala | 2 +- src/engine/imap/api/imap-folder-session.vala | 2 +- src/engine/imap/command/imap-message-set.vala | 2 +- src/engine/imap/parameter/imap-atom-parameter.vala | 2 +- src/engine/imap/parameter/imap-list-parameter.vala | 4 ++-- src/engine/imap/parameter/imap-string-parameter.vala | 2 +- src/engine/imap/response/imap-response-code-type.vala | 2 +- src/engine/imap/response/imap-server-data-type.vala | 2 +- src/engine/imap/transport/imap-client-session.vala | 2 +- src/engine/mime/mime-multipart-subtype.vala | 2 +- src/engine/nonblocking/nonblocking-concurrent.vala | 2 +- src/engine/smtp/smtp-authenticator.vala | 2 +- src/engine/smtp/smtp-login-authenticator.vala | 2 +- src/engine/smtp/smtp-plain-authenticator.vala | 2 +- test/client/application/geary-application-test.vala | 2 +- test/mock-object.vala | 2 +- ui/client-web-view.js | 4 ++-- ui/components-inspector.ui | 2 +- ui/composer-web-view.js | 2 +- ui/conversation-web-view.css | 6 +++--- 35 files changed, 45 insertions(+), 45 deletions(-) diff --git a/desktop/geary-attach b/desktop/geary-attach index ebc750b5..c8d3226f 100644 --- a/desktop/geary-attach +++ b/desktop/geary-attach @@ -15,7 +15,7 @@ Relative paths are also supported." exit 1 # so that calling without parameters is counted as a failure fi -#we dont do file checking as geary is clever enough +#we don't do file checking as geary is clever enough ARG="mailto:?attachment=$1" #add first file shift while [ -n "$1" ]; do diff --git a/src/client/accounts/accounts-editor.vala b/src/client/accounts/accounts-editor.vala index 3da9df8c..9f15e553 100644 --- a/src/client/accounts/accounts-editor.vala +++ b/src/client/accounts/accounts-editor.vala @@ -159,7 +159,7 @@ public class Accounts.Editor : Gtk.Dialog { * Removes the current pane from the editor, showing the last one. */ internal void pop() { - // One can't simply remove old panes fro the GTK stack since + // One can't simply remove old panes for the GTK stack since // there won't be any transition between them - the old one // will simply disappear. So we need to keep old, popped panes // around until a new one is pushed on. diff --git a/src/client/application/application-controller.vala b/src/client/application/application-controller.vala index c73c6b9e..cc58b48c 100644 --- a/src/client/application/application-controller.vala +++ b/src/client/application/application-controller.vala @@ -1261,7 +1261,7 @@ public class Application.Controller : Geary.BaseObject { this.main_window.folder_list.add_folder(folder); // Since removing the folder will also remove its children // from the folder list, we need to check for any and re-add - // them. See isssue #11. + // them. See issue #11. try { foreach (Geary.Folder child in folder.account.list_matching_folders(folder.path)) { @@ -1909,7 +1909,7 @@ public class Application.Controller : Geary.BaseObject { private bool open_uri(string _link) { string link = _link; - // Support web URLs that ommit the protocol. + // Support web URLs that omit the protocol. if (!link.contains(":")) link = "http://" + link; @@ -2949,7 +2949,7 @@ public class Application.Controller : Geary.BaseObject { } // This is going to be either an inline image, or a remote - // image, so either treat it as an attachment ot assume we'll + // image, so either treat it as an attachment to assume we'll // have a valid filename in the URL bool handled = false; if (url.has_prefix(ClientWebView.CID_URL_PREFIX)) { diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala index bd413d3e..2ee392c2 100644 --- a/src/client/application/geary-application.vala +++ b/src/client/application/geary-application.vala @@ -352,7 +352,7 @@ public class GearyApplication : Gtk.Application { /** * Signal that is activated when 'exit' is called, but before the application actually exits. * - * To cancel an exit, a callback should return GearyApplication.cancel_exit(). To procede with + * To cancel an exit, a callback should return GearyApplication.cancel_exit(). To proceed with * an exit, a callback should return true. */ public virtual signal bool exiting(bool panicked) { diff --git a/src/client/components/client-web-view.vala b/src/client/components/client-web-view.vala index e9be8ef6..fe312fbb 100644 --- a/src/client/components/client-web-view.vala +++ b/src/client/components/client-web-view.vala @@ -502,7 +502,7 @@ public abstract class ClientWebView : WebKit.WebView, Geary.BaseInterface { */ protected inline void register_message_handler(string name, JavaScriptMessageHandler handler) { - // XXX cant use the delegate directly, see b.g.o Bug + // XXX can't use the delegate directly, see b.g.o Bug // 604781. However the workaround below creates a circular // reference, causing ClientWebView instances to leak. So to // work around that we need to record handler ids and diff --git a/src/client/conversation-list/formatted-conversation-data.vala b/src/client/conversation-list/formatted-conversation-data.vala index c66074f5..c969731f 100644 --- a/src/client/conversation-list/formatted-conversation-data.vala +++ b/src/client/conversation-list/formatted-conversation-data.vala @@ -160,7 +160,7 @@ public class FormattedConversationData : Geary.BaseObject { return true; } - // Creates an example message (used interally for styling calculations.) + // Creates an example message (used internally for styling calculations.) public FormattedConversationData.create_example() { this.is_unread = false; this.is_flagged = false; diff --git a/src/client/conversation-viewer/conversation-message.vala b/src/client/conversation-viewer/conversation-message.vala index 392cbcf9..be2237c8 100644 --- a/src/client/conversation-viewer/conversation-message.vala +++ b/src/client/conversation-viewer/conversation-message.vala @@ -729,7 +729,7 @@ public class ConversationMessage : Gtk.Grid, Geary.BaseInterface { * Highlights user search terms in the message view. * * Highlighting includes both in the message headers, and the - * mesage body. returns the number of matching search terms. + * message body. returns the number of matching search terms. */ public async uint highlight_search_terms(Gee.Set search_matches, GLib.Cancellable cancellable) diff --git a/src/client/notification/in-app-notification.vala b/src/client/notification/in-app-notification.vala index 88993092..b2c34746 100644 --- a/src/client/notification/in-app-notification.vala +++ b/src/client/notification/in-app-notification.vala @@ -23,7 +23,7 @@ public class InAppNotification : Gtk.Revealer { /** * Creates an in-app notification. * - * @param message The messag that should be displayed. + * @param message The message that should be displayed. * @param keepalive The amount of seconds that the notification should stay visible. */ public InAppNotification(string message, uint keepalive = DEFAULT_KEEPALIVE) { diff --git a/src/client/notification/new-messages-indicator.vala b/src/client/notification/new-messages-indicator.vala index 5a235512..3b8eba6c 100644 --- a/src/client/notification/new-messages-indicator.vala +++ b/src/client/notification/new-messages-indicator.vala @@ -24,7 +24,7 @@ public abstract class NewMessagesIndicator : Geary.BaseObject { Configuration config) { NewMessagesIndicator? indicator = null; - // Indicators are ordered from most to least prefered. If more than one is available, + // Indicators are ordered from most to least preferred. If more than one is available, // use the first. #if HAVE_LIBMESSAGINGMENU diff --git a/src/engine/api/geary-revokable.vala b/src/engine/api/geary-revokable.vala index ed2c2953..45bbcdda 100644 --- a/src/engine/api/geary-revokable.vala +++ b/src/engine/api/geary-revokable.vala @@ -43,7 +43,7 @@ public abstract class Geary.Revokable : BaseObject { /** * Fired when the {@link Revokable} has been revoked. * - * {@link valid} will stil be true when this is fired. + * {@link valid} will still be true when this is fired. */ public signal void revoked(); @@ -52,7 +52,7 @@ public abstract class Geary.Revokable : BaseObject { * * Some Revokables will offer a new Revokable to allow revoking the committed state. * - * {@link valid} will stil be true when this is fired. + * {@link valid} will still be true when this is fired. */ public signal void committed(Geary.Revokable? commit_revokable); diff --git a/src/engine/app/conversation-monitor/app-reseed-operation.vala b/src/engine/app/conversation-monitor/app-reseed-operation.vala index c7a4a666..62207c57 100644 --- a/src/engine/app/conversation-monitor/app-reseed-operation.vala +++ b/src/engine/app/conversation-monitor/app-reseed-operation.vala @@ -27,7 +27,7 @@ private class Geary.App.ReseedOperation : ConversationOperation { earliest_id.to_string(), this.monitor.base_folder.to_string()); // Some conversations have already been loaded, so check // from the earliest known right through to the end of the - // vector for updated mesages + // vector for updated messages yield this.monitor.load_by_id_async( earliest_id, int.MAX, diff --git a/src/engine/imap-db/imap-db-account.vala b/src/engine/imap-db/imap-db-account.vala index 6b7d5b28..c57fc837 100644 --- a/src/engine/imap-db/imap-db-account.vala +++ b/src/engine/imap-db/imap-db-account.vala @@ -995,7 +995,7 @@ private class Geary.ImapDB.Account : BaseObject { // // Note that this uses SQLite's "standard" query syntax for MATCH, where AND is implied // (and would be treated as search term if included), parentheses are not allowed, and - // OR has a higher precendence than AND. So the above example in standard syntax is: + // OR has a higher precedence than AND. So the above example in standard syntax is: // // party* OR parti* eventful* OR event* StringBuilder builder = new StringBuilder(); diff --git a/src/engine/imap-db/imap-db-database.vala b/src/engine/imap-db/imap-db-database.vala index 63244b95..b963320f 100644 --- a/src/engine/imap-db/imap-db-database.vala +++ b/src/engine/imap-db/imap-db-database.vala @@ -447,7 +447,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase { stmt.exec(); - // reuse statment, overwrite invalid_id, fields only + // reuse statement, overwrite invalid_id, fields only stmt.reset(Db.ResetScope.SAVE_BINDINGS); } @@ -583,7 +583,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase { /** * Rebuilds the database's FTS table index. * - * This can be used to recover from corrupt indexs, as indicated + * This can be used to recover from corrupt indexes, as indicated * by fts_integrity_check() returning false. */ public void fts_rebuild() throws Error { @@ -597,7 +597,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase { /** * Optimises the database's FTS table index. * - * This is an expensive call, as much as performing a VACCUM. + * This is an expensive call, as much as performing a VACUUM. */ public void fts_optimize() throws Error { Db.Statement stmt = prepare(""" diff --git a/src/engine/imap-db/imap-db-folder.vala b/src/engine/imap-db/imap-db-folder.vala index f43519df..8737af70 100644 --- a/src/engine/imap-db/imap-db-folder.vala +++ b/src/engine/imap-db/imap-db-folder.vala @@ -5,7 +5,7 @@ */ /** - * ImapDB.Folder provides an interface for retreiving messages from the local store in methods + * ImapDB.Folder provides an interface for retrieving messages from the local store in methods * that are synonymous with Geary.Folder's interface, but with some differences that deal with * how IMAP addresses and organizes email. * @@ -1333,7 +1333,7 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics { /** * Adds a message to the folder. * - * Note: does NOT check if message is already associated with thie + * Note: does NOT check if message is already associated with this * folder. */ private void do_associate_with_folder(Db.Connection cx, diff --git a/src/engine/imap-db/search/imap-db-search-folder.vala b/src/engine/imap-db/search/imap-db-search-folder.vala index 0081f349..d387e0fa 100644 --- a/src/engine/imap-db/search/imap-db-search-folder.vala +++ b/src/engine/imap-db/search/imap-db-search-folder.vala @@ -281,7 +281,7 @@ private class Geary.ImapDB.SearchFolder : Geary.SearchFolder, Geary.FolderSuppor results.add(yield fetch_email_async(ids[i], required_fields, flags, cancellable)); } catch (Error err) { // Don't let missing or incomplete messages stop the list operation, which has - // different symantics from fetch + // different semantics from fetch if (!(err is EngineError.NOT_FOUND) && !(err is EngineError.INCOMPLETE_MESSAGE)) { fetch_err = err; diff --git a/src/engine/imap-engine/imap-engine-generic-account.vala b/src/engine/imap-engine/imap-engine-generic-account.vala index 6e4c4bb9..8386419a 100644 --- a/src/engine/imap-engine/imap-engine-generic-account.vala +++ b/src/engine/imap-engine/imap-engine-generic-account.vala @@ -515,7 +515,7 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account { throws GLib.Error { check_open(); - // XXX work out what our public IP adddress is somehow and use + // XXX work out what our public IP address is somehow and use // that in preference to the sender's domain string domain = composed.sender != null ? composed.sender.domain diff --git a/src/engine/imap/api/imap-folder-session.vala b/src/engine/imap/api/imap-folder-session.vala index af013a9a..ae724858 100644 --- a/src/engine/imap/api/imap-folder-session.vala +++ b/src/engine/imap/api/imap-folder-session.vala @@ -300,7 +300,7 @@ private class Geary.Imap.FolderSession : Geary.Imap.SessionObject { // All commands must executed inside the cmd_mutex; returns FETCH or STORE results // - // FETCH commands can generate a FolderError.RETRY. State will be updated to accomodate retry, + // FETCH commands can generate a FolderError.RETRY. State will be updated to accommodate retry, // but all Commands must be regenerated to ensure new state is reflected in requests. private async Gee.Map? exec_commands_async(Gee.Collection cmds, Gee.HashMap? fetch_results, diff --git a/src/engine/imap/command/imap-message-set.vala b/src/engine/imap/command/imap-message-set.vala index 5957c695..d47292a7 100644 --- a/src/engine/imap/command/imap-message-set.vala +++ b/src/engine/imap/command/imap-message-set.vala @@ -5,7 +5,7 @@ */ /** - * A represenation of an IMAP message range specifier. + * A representation of an IMAP message range specifier. * * A MessageSet can be for {@link SequenceNumber}s (which use positional addressing) or * {@link UID}s. diff --git a/src/engine/imap/parameter/imap-atom-parameter.vala b/src/engine/imap/parameter/imap-atom-parameter.vala index 6a4ea22f..b9afc263 100644 --- a/src/engine/imap/parameter/imap-atom-parameter.vala +++ b/src/engine/imap/parameter/imap-atom-parameter.vala @@ -11,7 +11,7 @@ * This class does not check if quoting is required. Use {@link DataFormat.is_quoting_required} * or {@link StringParameter.get_best_for}. * - * See {@link StringParameter} for a note about class heirarchy. In particular, note that + * See {@link StringParameter} for a note about class hierarchy. In particular, note that * [@link Deserializer} will not create this type of {@link Parameter} because it's unable to * deduce if a string is an atom or a string from syntax alone. * diff --git a/src/engine/imap/parameter/imap-list-parameter.vala b/src/engine/imap/parameter/imap-list-parameter.vala index c8ab3bb5..4a6b4859 100644 --- a/src/engine/imap/parameter/imap-list-parameter.vala +++ b/src/engine/imap/parameter/imap-list-parameter.vala @@ -155,7 +155,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter { return null; // Because Deserializer doesn't produce NilParameters, check manually if this Parameter - // can legally be NIL according to IMAP grammer. + // can legally be NIL according to IMAP grammar. StringParameter? stringp = param as StringParameter; if (stringp != null && NilParameter.is_nil(stringp)) return null; @@ -417,7 +417,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter { } /** - * Returns the replaced Paramater. Throws ImapError.TYPE_ERROR if no Parameter exists at the + * Returns the replaced Parameter. Throws ImapError.TYPE_ERROR if no Parameter exists at the * index. */ public Parameter replace(int index, Parameter parameter) throws ImapError { diff --git a/src/engine/imap/parameter/imap-string-parameter.vala b/src/engine/imap/parameter/imap-string-parameter.vala index aaa54bbc..7c0971b5 100644 --- a/src/engine/imap/parameter/imap-string-parameter.vala +++ b/src/engine/imap/parameter/imap-string-parameter.vala @@ -152,7 +152,7 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter { } /** - * Returns the string lowercased. + * Returns the string in lowercase. */ public string as_lower() { return Ascii.strdown(ascii); diff --git a/src/engine/imap/response/imap-response-code-type.vala b/src/engine/imap/response/imap-response-code-type.vala index 494b5663..ce318d02 100644 --- a/src/engine/imap/response/imap-response-code-type.vala +++ b/src/engine/imap/response/imap-response-code-type.vala @@ -70,7 +70,7 @@ public class Geary.Imap.ResponseCodeType : BaseObject, Gee.HashableTrue True True - Togggle appending new log entries + Toggle appending new log entries win.toggle-play True diff --git a/ui/composer-web-view.js b/ui/composer-web-view.js index 9a55bd06..524850ca 100644 --- a/ui/composer-web-view.js +++ b/ui/composer-web-view.js @@ -77,7 +77,7 @@ ComposerPageState.prototype = { } }); // We can't use keydown for this, captured or bubbled, since - // that will also cause the line that the cursor is currenty + // that will also cause the line that the cursor is currently // positioned on when Enter is pressed to also be outdented. document.body.addEventListener("keyup", function(e) { if (e.keyIdentifier == "Enter" && !e.shiftKey) { diff --git a/ui/conversation-web-view.css b/ui/conversation-web-view.css index b752bfdd..9fad89ae 100644 --- a/ui/conversation-web-view.css +++ b/ui/conversation-web-view.css @@ -89,7 +89,7 @@ pre { margin: 1em 0; } - /* Inline collapsable quote blocks */ + /* Inline collapsible quote blocks */ .geary-quote-container { position: relative; @@ -157,9 +157,9 @@ pre { white-space: pre; -webkit-user-select: none; -webkit-user-drag: none; - /* All futher properties below are a workaround for WK Bug 166648 + /* All further properties below are a workaround for WK Bug 166648 * . The result is - * we need to manually style these buttons outselves. */ + * we need to manually style these buttons ourselves. */ -webkit-appearance: none; box-sizing: border-box; /* The following was taken from GTK+4 trunk Adwaita theme: