[evolution-ews] M!5 - Correct typos in a/an



commit 2a73951cc833d0ad3745c8cd2cbf1f3f212988ff
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Fri Feb 12 22:01:17 2021 +0200

    M!5 - Correct typos in a/an
    
    Closes https://gitlab.gnome.org/GNOME/evolution-ews/-/merge_requests/5

 src/EWS/calendar/e-cal-backend-ews.c                    |  4 ++--
 src/EWS/camel/camel-ews-folder.c                        |  4 ++--
 src/EWS/common/camel-ews-settings.c                     |  2 +-
 src/EWS/common/e-soap-message.c                         |  2 +-
 src/EWS/common/e-soap-response.c                        | 16 ++++++++--------
 src/EWS/evolution/e-ews-subscribe-foreign-folder.c      |  2 +-
 src/Microsoft365/camel/camel-m365-folder.c              |  2 +-
 src/Microsoft365/common/e-m365-connection.c             |  2 +-
 src/Microsoft365/evolution/e-mail-config-m365-backend.c |  2 +-
 9 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/EWS/calendar/e-cal-backend-ews.c b/src/EWS/calendar/e-cal-backend-ews.c
index eab2d88b..210ea658 100644
--- a/src/EWS/calendar/e-cal-backend-ews.c
+++ b/src/EWS/calendar/e-cal-backend-ews.c
@@ -3826,7 +3826,7 @@ ecb_ews_do_method_request_publish_reply (ECalBackendEws *cbews,
                        GSList *l;
 
                        /*
-                        * user can accept meeting but mark it as free in it's calendar
+                        * user can accept meeting but mark it as free in its calendar
                         * the following code is updating the exchange meeting status to free
                         */
                        for (l = ids; l != NULL; l = g_slist_next (l)) {
@@ -4062,7 +4062,7 @@ ecb_ews_send_objects_sync (ECalBackendSync *sync_backend,
                return;
        }
 
-       /* make sure ical data we parse is actually an vcal component */
+       /* make sure ical data we parse is actually a vcal component */
        if (i_cal_component_isa (icomp) != I_CAL_VCALENDAR_COMPONENT &&
            i_cal_component_isa (icomp) != I_CAL_VEVENT_COMPONENT) {
                g_object_unref (icomp);
diff --git a/src/EWS/camel/camel-ews-folder.c b/src/EWS/camel/camel-ews-folder.c
index 63caa7a2..574829d9 100644
--- a/src/EWS/camel/camel-ews-folder.c
+++ b/src/EWS/camel/camel-ews-folder.c
@@ -1994,7 +1994,7 @@ sync_updated_items (CamelEwsFolder *ews_folder,
                }
 
                /* Compare the item_type from summary as the updated items seems to
-                * arrive as generic types while its not the case */
+                * arrive as generic types while it's not the case */
                mi = camel_folder_summary_get (camel_folder_get_folder_summary (folder), id->id);
                if (!mi) {
                        g_object_unref (item);
@@ -2351,7 +2351,7 @@ ews_refresh_info_sync (CamelFolder *folder,
        is_drafts_folder = camel_ews_utils_folder_is_drafts_folder (ews_folder);
 
        /* Sync folder items does not return the fields ToRecipients,
-        * CCRecipients. With the item_type unknown, its not possible
+        * CCRecipients. With the item_type unknown, it's not possible
         * to fetch the right properties which are valid for an item type.
         * Due to these reasons we just get the item ids and its type in
         * SyncFolderItem request and fetch the item using the
diff --git a/src/EWS/common/camel-ews-settings.c b/src/EWS/common/camel-ews-settings.c
index bab1a896..a4db2b16 100644
--- a/src/EWS/common/camel-ews-settings.c
+++ b/src/EWS/common/camel-ews-settings.c
@@ -867,7 +867,7 @@ camel_ews_settings_unlock (CamelEwsSettings *settings)
  * camel_ews_settings_get_auth_mechanism:
  * @settings: a #CamelEwsSettings
  *
- * Returns a #EwsAuthType enum value indicating which authentication
+ * Returns an #EwsAuthType enum value indicating which authentication
  * method to use.
  *
  * Returns: authentication method to use for this account
diff --git a/src/EWS/common/e-soap-message.c b/src/EWS/common/e-soap-message.c
index 7c0d4828..e559f851 100644
--- a/src/EWS/common/e-soap-message.c
+++ b/src/EWS/common/e-soap-message.c
@@ -1135,7 +1135,7 @@ e_soap_message_get_xml_doc (ESoapMessage *msg)
  *
  * Parses the response returned by the server.
  *
- * Returns: a #ESoapResponse representing the response from
+ * Returns: an #ESoapResponse representing the response from
  * the server, or %NULL if there was an error.
  */
 ESoapResponse *
diff --git a/src/EWS/common/e-soap-response.c b/src/EWS/common/e-soap-response.c
index bbb7d6c2..45de3069 100644
--- a/src/EWS/common/e-soap-response.c
+++ b/src/EWS/common/e-soap-response.c
@@ -347,7 +347,7 @@ e_soap_parameter_get_string_value (ESoapParameter *param)
 
 /**
  * e_soap_parameter_get_first_child:
- * @param: A #ESoapParameter.
+ * @param: An #ESoapParameter.
  *
  * Gets the first child of the given #ESoapParameter. This is used
  * for compound data types, which can contain several parameters
@@ -365,7 +365,7 @@ e_soap_parameter_get_first_child (ESoapParameter *param)
 
 /**
  * e_soap_parameter_get_first_child_by_name:
- * @param: A #ESoapParameter.
+ * @param: An #ESoapParameter.
  * @name: The name of the child parameter to look for.
  *
  * Gets the first child of the given #ESoapParameter whose name is
@@ -395,7 +395,7 @@ e_soap_parameter_get_first_child_by_name (ESoapParameter *param,
 
 /**
  * e_soap_parameter_get_next_child:
- * @param: A #ESoapParameter.
+ * @param: An #ESoapParameter.
  *
  * Gets the next sibling of the given #ESoapParameter. This is used
  * for compound data types, which can contain several parameters
@@ -416,7 +416,7 @@ e_soap_parameter_get_next_child (ESoapParameter *param)
 
 /**
  * e_soap_parameter_get_next_child_by_name:
- * @param: A #ESoapParameter.
+ * @param: An #ESoapParameter.
  * @name: The name of the sibling parameter to look for.
  *
  * Gets the next sibling of the given #ESoapParameter whose name is
@@ -501,7 +501,7 @@ e_soap_response_get_parameter (ESoapResponse *response)
  *
  * Retrieves the first parameter contained in the SOAP response.
  *
- * Returns: a #ESoapParameter representing the first
+ * Returns: an #ESoapParameter representing the first
  * parameter, or %NULL if there are no parameters.
  */
 ESoapParameter *
@@ -528,7 +528,7 @@ e_soap_response_get_first_parameter (ESoapResponse *response)
  * The function also checks for a SOAP "faultstring" parameter and,
  * if found, uses it to set the #GError message.
  *
- * Returns: a #ESoapParameter representing the first parameter
+ * Returns: an #ESoapParameter representing the first parameter
  * with the given name, or %NULL.
  */
 ESoapParameter *
@@ -588,7 +588,7 @@ e_soap_response_get_first_parameter_by_name (ESoapResponse *response,
  * Retrieves the parameter following @from in the #ESoapResponse
  * object.
  *
- * Returns: a #ESoapParameter representing the parameter.
+ * Returns: an #ESoapParameter representing the parameter.
  */
 ESoapParameter *
 e_soap_response_get_next_parameter (ESoapResponse *response,
@@ -615,7 +615,7 @@ e_soap_response_get_next_parameter (ESoapResponse *response,
  * Retrieves the first parameter following @from in the
  * #ESoapResponse object whose name matches @name.
  *
- * Returns: a #ESoapParameter representing the parameter.
+ * Returns: an #ESoapParameter representing the parameter.
  */
 ESoapParameter *
 e_soap_response_get_next_parameter_by_name (ESoapResponse *response,
diff --git a/src/EWS/evolution/e-ews-subscribe-foreign-folder.c 
b/src/EWS/evolution/e-ews-subscribe-foreign-folder.c
index 09c3ae13..45263da6 100644
--- a/src/EWS/evolution/e-ews-subscribe-foreign-folder.c
+++ b/src/EWS/evolution/e-ews-subscribe-foreign-folder.c
@@ -473,7 +473,7 @@ subscribe_foreign_response_cb (GObject *dialog,
        } else if (g_strcmp0 (orig_foldername, _("Tasks")) == 0) {
                use_foldername = g_strdup ("tasks");
        } else if (strlen (orig_foldername) > 13) {
-               /* if its a folder ID, then show only first 10 letters of it */
+               /* if it's a folder ID, then show only first 10 letters of it */
                show_foldername = g_strdup_printf ("%.10s…", orig_foldername);
        }
 
diff --git a/src/Microsoft365/camel/camel-m365-folder.c b/src/Microsoft365/camel/camel-m365-folder.c
index 8cb54599..2db2b366 100644
--- a/src/Microsoft365/camel/camel-m365-folder.c
+++ b/src/Microsoft365/camel/camel-m365-folder.c
@@ -630,7 +630,7 @@ m365_folder_append_message_sync (CamelFolder *folder,
        return success;
 #else
        g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-               _("Cannot add messages into an Microsoft 365 account from another account. Only messages from 
the same account can be moved/copied between the Microsoft 365 folders."));
+               _("Cannot add messages into a Microsoft 365 account from another account. Only messages from 
the same account can be moved/copied between the Microsoft 365 folders."));
        return FALSE;
 #endif
 }
diff --git a/src/Microsoft365/common/e-m365-connection.c b/src/Microsoft365/common/e-m365-connection.c
index cf8e1d2d..e81d06ed 100644
--- a/src/Microsoft365/common/e-m365-connection.c
+++ b/src/Microsoft365/common/e-m365-connection.c
@@ -2165,7 +2165,7 @@ e_m365_connection_batch_request_sync (EM365Connection *cnc,
        return success;
 }
 
-/* This can be used as a EM365ConnectionJsonFunc function, it only
+/* This can be used as an EM365ConnectionJsonFunc function, it only
    copies items of 'results' into 'user_data', which is supposed
    to be a pointer to a GSList *. */
 gboolean
diff --git a/src/Microsoft365/evolution/e-mail-config-m365-backend.c 
b/src/Microsoft365/evolution/e-mail-config-m365-backend.c
index 996c9f58..80dc65a1 100644
--- a/src/Microsoft365/evolution/e-mail-config-m365-backend.c
+++ b/src/Microsoft365/evolution/e-mail-config-m365-backend.c
@@ -47,7 +47,7 @@ mail_config_m365_backend_new_collection (EMailConfigServiceBackend *backend)
         * the backend is associated with.  We return a new collection
         * for both the Receiving Page and Sending Page.  Although the
         * Sending Page instance ultimately gets discarded, it's still
-        * needed to avoid creating an [Microsoft365 Backend] extension
+        * needed to avoid creating a [Microsoft365 Backend] extension
         * in the mail transport source. */
 
        class = E_MAIL_CONFIG_SERVICE_BACKEND_GET_CLASS (backend);


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