diff options
author | Philip Withnall <withnall@endlessm.com> | 2020-06-18 13:47:21 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2020-06-18 13:47:40 +0100 |
commit | 772db1f35c077fed6ec9357cd7990eedeb90e13a (patch) | |
tree | 195e41d9f1c3813ff0904e5c17be818c4508e57d | |
parent | 6901ab22a1cbc41b89fa84f6121a1233bce76657 (diff) | |
download | libgdata-772db1f35c077fed6ec9357cd7990eedeb90e13a.tar.gz |
all: Fix various typos and incorrect terminology
Done using:
```
codespell \
--builtin clear,rare,usage \
--skip './po/*' --skip './help/*/*.po' --skip './.git/*' --skip './NEWS*' \
--write-changes .
```
and then some manual checking and editing.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r-- | docs/reference/meson.build | 2 | ||||
-rw-r--r-- | gdata/gd/gdata-gd-postal-address.c | 4 | ||||
-rw-r--r-- | gdata/gdata-query.c | 2 | ||||
-rw-r--r-- | gdata/gdata-service.h | 4 | ||||
-rw-r--r-- | gdata/services/contacts/gdata-contacts-contact.c | 2 | ||||
-rw-r--r-- | gdata/services/documents/gdata-documents-entry.c | 4 | ||||
-rw-r--r-- | gdata/services/documents/gdata-documents-property.c | 2 | ||||
-rw-r--r-- | gdata/services/documents/gdata-documents-service.c | 8 | ||||
-rw-r--r-- | gdata/services/picasaweb/gdata-picasaweb-album.h | 2 | ||||
-rw-r--r-- | gdata/services/picasaweb/gdata-picasaweb-service.c | 2 | ||||
-rw-r--r-- | gdata/services/youtube/gdata-youtube-service.c | 2 | ||||
-rw-r--r-- | gdata/tests/common.c | 2 | ||||
-rw-r--r-- | gdata/tests/picasaweb.c | 2 |
13 files changed, 19 insertions, 19 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build index 82a1aedd..859ee121 100644 --- a/docs/reference/meson.build +++ b/docs/reference/meson.build @@ -23,7 +23,7 @@ ignore_headers = [ 'gdata-youtube-enums.h', 'mock-resolver.h', 'mock-server.h', - # FIXME: theses files are created by enums workaround + # FIXME: these files are created by enums workaround 'gdata-documents-enums-in.h', 'gdata-enums-in.h', 'gdata-freebase-enums-in.h', diff --git a/gdata/gd/gdata-gd-postal-address.c b/gdata/gd/gdata-gd-postal-address.c index 7adc68d7..a037b48e 100644 --- a/gdata/gd/gdata-gd-postal-address.c +++ b/gdata/gd/gdata-gd-postal-address.c @@ -196,7 +196,7 @@ gdata_gd_postal_address_class_init (GDataGDPostalAddressClass *klass) /** * GDataGDPostalAddress:usage: * - * The context in which this addess can be used. For example: %GDATA_GD_ADDRESS_USAGE_GENERAL or %GDATA_GD_ADDRESS_USAGE_LOCAL. + * The context in which this address can be used. For example: %GDATA_GD_ADDRESS_USAGE_GENERAL or %GDATA_GD_ADDRESS_USAGE_LOCAL. * * For more information, see the * <ulink type="http" url="http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress">GData specification</ulink>. @@ -205,7 +205,7 @@ gdata_gd_postal_address_class_init (GDataGDPostalAddressClass *klass) */ g_object_class_install_property (gobject_class, PROP_USAGE, g_param_spec_string ("usage", - "Usage", "The context in which this addess can be used.", + "Usage", "The context in which this address can be used.", GDATA_GD_ADDRESS_USAGE_GENERAL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); diff --git a/gdata/gdata-query.c b/gdata/gdata-query.c index 5e903ea0..e2d59486 100644 --- a/gdata/gdata-query.c +++ b/gdata/gdata-query.c @@ -76,7 +76,7 @@ struct _GDataQueryPrivate { * The next_uri, previous_uri or next_page_token are set by * #GDataService if a query returns a new #GDataFeed containing them. If * the user then calls next_page() or previous_page(), use_next_page or - * use_previous_page are set as appopriate, and the next call to + * use_previous_page are set as appropriate, and the next call to * get_uri() will return a URI for the next or previous page. This might * be next_uri, previous_uri, or a constructed URI which appends the * next_page_token. diff --git a/gdata/gdata-service.h b/gdata/gdata-service.h index f5fbdcb8..c518909a 100644 --- a/gdata/gdata-service.h +++ b/gdata/gdata-service.h @@ -58,13 +58,13 @@ typedef enum { /** * GDataServiceError: - * @GDATA_SERVICE_ERROR_UNAVAILABLE: The service is unavailable due to maintainence or other reasons (e.g. network errors at the server end) + * @GDATA_SERVICE_ERROR_UNAVAILABLE: The service is unavailable due to maintenance or other reasons (e.g. network errors at the server end) * @GDATA_SERVICE_ERROR_PROTOCOL_ERROR: The client or server unexpectedly strayed from the protocol (fatal error) * @GDATA_SERVICE_ERROR_ENTRY_ALREADY_INSERTED: An entry has already been inserted, and cannot be re-inserted * @GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED: The user attempted to do something which required authentication, and they weren't authenticated or * didn't have authorization for the operation * @GDATA_SERVICE_ERROR_NOT_FOUND: A requested resource (feed or entry) was not found on the server - * @GDATA_SERVICE_ERROR_CONFLICT: There was a conflict when updating an entry on the server; the server-side copy was modified inbetween downloading + * @GDATA_SERVICE_ERROR_CONFLICT: There was a conflict when updating an entry on the server; the server-side copy was modified between downloading * and uploading the modified entry * @GDATA_SERVICE_ERROR_FORBIDDEN: Generic error for a forbidden action (not due to having insufficient permissions) * @GDATA_SERVICE_ERROR_BAD_QUERY_PARAMETER: A given query parameter was invalid for the query type diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c index 3fed49c6..fc577f3d 100644 --- a/gdata/services/contacts/gdata-contacts-contact.c +++ b/gdata/services/contacts/gdata-contacts-contact.c @@ -1433,7 +1433,7 @@ gdata_contacts_contact_get_birthday (GDataContactsContact *self, GDate *birthday * @birthday_has_year: %TRUE if @birthday's year is relevant, %FALSE otherwise * * Sets the #GDataContactsContact:birthday property to @birthday and the #GDataContactsContact:birthday-has-year property to @birthday_has_year. - * See gdata_contacts_contact_get_birthday() for an explanation of the interation between these two properties. + * See gdata_contacts_contact_get_birthday() for an explanation of the interaction between these two properties. * * If @birthday is %NULL, the contact's birthday will be removed. * diff --git a/gdata/services/documents/gdata-documents-entry.c b/gdata/services/documents/gdata-documents-entry.c index ea19c885..f16cfcd3 100644 --- a/gdata/services/documents/gdata-documents-entry.c +++ b/gdata/services/documents/gdata-documents-entry.c @@ -1348,7 +1348,7 @@ gdata_documents_entry_get_document_properties (GDataDocumentsEntry *self) * * In case that there already exists a @property in "properties", the #GDataDocumentsProperty inside the list will be updated to @property. Note that #GDataDocumentsProperty:value has no role in determining the uniqueness of a #GDataDocumentsProperty. * - * The changes made by this function will be local only and you need to explicity update @self by calling gdata_service_update_entry(). + * The changes made by this function will be local only and you need to explicitly update @self by calling gdata_service_update_entry(). * * Return value: %TRUE if the @property doesn't exist in the "properties" list, or that #GDataDocumentsProperty:value of @property has been set to %NULL by a call to gdata_documents_entry_remove_documents_property(). %FALSE if @property exists in "properties" list, or in the case that @self or @property aren't of proper types. * @@ -1385,7 +1385,7 @@ gdata_documents_entry_add_documents_property (GDataDocumentsEntry *self, GDataDo * * Only #GDataDocumentsProperty:key and #GDataDocumentsProperty:visibility will be used to find @property in "properties" list. #GDataDocumentsProperty:value has no role in determining the uniqueness of a #GDataDocumentsProperty. * - * The changes made by this function will be local only and you need to explicity update @self by calling gdata_service_update_entry(). + * The changes made by this function will be local only and you need to explicitly update @self by calling gdata_service_update_entry(). * * Return value: %TRUE if @property has been successfully removed from "properties" list on @self, %FALSE otherwise. * diff --git a/gdata/services/documents/gdata-documents-property.c b/gdata/services/documents/gdata-documents-property.c index 48ec43f5..c1d497d5 100644 --- a/gdata/services/documents/gdata-documents-property.c +++ b/gdata/services/documents/gdata-documents-property.c @@ -319,7 +319,7 @@ gdata_documents_property_set_property (GObject *object, guint property_id, const GDataDocumentsProperty * gdata_documents_property_new (const gchar *key) { - /* GDataDocumentsProperty must have a non NULL key at initilization time, + /* GDataDocumentsProperty must have a non NULL key at initialization time, * rest of the properties can be NULL or take their default values. */ g_return_val_if_fail (key != NULL && key[0] != '\0', NULL); diff --git a/gdata/services/documents/gdata-documents-service.c b/gdata/services/documents/gdata-documents-service.c index f0c919ee..93bc8f71 100644 --- a/gdata/services/documents/gdata-documents-service.c +++ b/gdata/services/documents/gdata-documents-service.c @@ -727,7 +727,7 @@ _upload_checks (GDataDocumentsService *self, GDataDocumentsDocument *document, G * * If @document is %NULL, only the document data will be uploaded. The new document entry will be named using @slug, and will have default metadata. * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_documents_service_finish_upload() should be called on it to parse and return the updated * #GDataDocumentsDocument for the document. This must be done, as @document isn't updated in-place. * @@ -798,7 +798,7 @@ gdata_documents_service_upload_document (GDataDocumentsService *self, GDataDocum * If @query is non-%NULL and #GDataDocumentsUploadQuery:convert is %FALSE, @document must be an instance of #GDataDocumentsDocument. Otherwise, * @document must be a subclass of it, such as #GDataDocumentsPresentation. * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_documents_service_finish_upload() should be called on it to parse and return the updated * #GDataDocumentsDocument for the document. This must be done, as @document isn't updated in-place. * @@ -868,7 +868,7 @@ _update_checks (GDataDocumentsService *self, GError **error) * upload to fail, and the entire document will have to be re-uploaded. It is recommended that gdata_documents_service_update_document_resumable() * be used instead. * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_documents_service_finish_upload() should be called on it to parse and return the updated * #GDataDocumentsDocument for the document. This must be done, as @document isn't updated in-place. * @@ -931,7 +931,7 @@ gdata_documents_service_update_document (GDataDocumentsService *self, GDataDocum * <ulink type="http" url="http://code.google.com/apis/gdata/docs/resumable_upload.html">resumable upload</ulink> which allows for correction of * transmission errors without re-uploading the entire file. Use of this method is preferred over gdata_documents_service_update_document(). * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_documents_service_finish_upload() should be called on it to parse and return the updated * #GDataDocumentsDocument for the document. This must be done, as @document isn't updated in-place. * diff --git a/gdata/services/picasaweb/gdata-picasaweb-album.h b/gdata/services/picasaweb/gdata-picasaweb-album.h index e228aca1..005560b4 100644 --- a/gdata/services/picasaweb/gdata-picasaweb-album.h +++ b/gdata/services/picasaweb/gdata-picasaweb-album.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS /** * GDataPicasaWebVisibility: * @GDATA_PICASAWEB_PUBLIC: the album is visible to everyone, regardless of whether they're authenticated - * @GDATA_PICASAWEB_PRIVATE: the album is visible only to authenticated users in a whitelist + * @GDATA_PICASAWEB_PRIVATE: the album is visible only to authenticated users in an allowlist * * Visibility statuses available for albums on PicasaWeb. For more information, see the * <ulink type="http" url="http://code.google.com/apis/picasaweb/reference.html#Visibility">online documentation</ulink>. diff --git a/gdata/services/picasaweb/gdata-picasaweb-service.c b/gdata/services/picasaweb/gdata-picasaweb-service.c index 8ce73747..89dcd7ac 100644 --- a/gdata/services/picasaweb/gdata-picasaweb-service.c +++ b/gdata/services/picasaweb/gdata-picasaweb-service.c @@ -577,7 +577,7 @@ gdata_picasaweb_service_query_files_async (GDataPicasaWebService *self, GDataPic * If no user is authenticated with the service, %GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED will be returned. It is recommended to retry the * upload after refreshing the authorization tokens held by the associated #GDataAuthorizer using gdata_authorizer_refresh_authorization(). * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_picasaweb_service_finish_file_upload() should be called on it to parse and return the updated * #GDataPicasaWebFile for the uploaded file. This must be done, as @file_entry isn't updated in-place. * diff --git a/gdata/services/youtube/gdata-youtube-service.c b/gdata/services/youtube/gdata-youtube-service.c index 8719bd45..89d44bb5 100644 --- a/gdata/services/youtube/gdata-youtube-service.c +++ b/gdata/services/youtube/gdata-youtube-service.c @@ -990,7 +990,7 @@ gdata_youtube_service_query_related_async (GDataYouTubeService *self, GDataYouTu * If @video has already been inserted, a %GDATA_SERVICE_ERROR_ENTRY_ALREADY_INSERTED error will be returned. If no user is authenticated * with the service, %GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED will be returned. * - * The stream returned by this function should be written to using the standard #GOutputStream methods, asychronously or synchronously. Once the stream + * The stream returned by this function should be written to using the standard #GOutputStream methods, asynchronously or synchronously. Once the stream * is closed (using g_output_stream_close()), gdata_youtube_service_finish_video_upload() should be called on it to parse and return the updated * #GDataYouTubeVideo for the uploaded video. This must be done, as @video isn't updated in-place. * diff --git a/gdata/tests/common.c b/gdata/tests/common.c index 25d85008..21090044 100644 --- a/gdata/tests/common.c +++ b/gdata/tests/common.c @@ -909,7 +909,7 @@ output_log_message (const gchar *message) xmlChar *xml_buff; int buffer_size; xmlDocPtr xml_doc; - /* we need to cut to the begining of XML string */ + /* we need to cut to the beginning of XML string */ message = message + 2; /* create xml document and dump it to string buffer */ xml_doc = xmlParseDoc ((const xmlChar*) message); diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c index 33a85ff8..eecf1b78 100644 --- a/gdata/tests/picasaweb.c +++ b/gdata/tests/picasaweb.c @@ -1790,7 +1790,7 @@ test_album_new (void) g_assert (GDATA_IS_PICASAWEB_ALBUM (album)); /* Check the XML: match it against the regex built above, then check that the timestamp is within 100ms of the current time at the start of - * the test function. We can't check it exactly, as a few milliseconds may have passed inbetween building the expected XML and building the XML + * the test function. We can't check it exactly, as a few milliseconds may have passed between building the expected XML and building the XML * for the photo. */ xml = gdata_parsable_get_xml (GDATA_PARSABLE (album)); g_assert (g_regex_match (regex, xml, 0, &match_info) == TRUE); |