diff options
author | Richard Hughes <richard@hughsie.com> | 2019-04-08 13:01:25 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-04-08 13:02:05 +0100 |
commit | 843caabdeca6ae15f400f38536bc666340c30465 (patch) | |
tree | db13077c9341d2f5db71f3d2e99845e54bd26982 | |
parent | f9acd7b4f2362402f5a23f80e0a27552ea76e3e6 (diff) | |
download | appstream-glib-843caabdeca6ae15f400f38536bc666340c30465.tar.gz |
trivial: Fix some typos spotted using codespell
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | client/as-util.c | 4 | ||||
-rw-r--r-- | libappstream-builder/asb-package-cab.c | 4 | ||||
-rw-r--r-- | libappstream-builder/asb-package.c | 4 | ||||
-rw-r--r-- | libappstream-builder/asb-task.c | 2 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-font.c | 4 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-shell-extension.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-app-builder.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-app-inf.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-app-validate.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-inf.c | 8 | ||||
-rw-r--r-- | libappstream-glib/as-node.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-release.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-self-test.c | 4 | ||||
-rw-r--r-- | libappstream-glib/as-store-cab.c | 4 | ||||
-rw-r--r-- | libappstream-glib/as-store.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-utils.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-version.c | 2 |
18 files changed, 28 insertions, 28 deletions
@@ -739,7 +739,7 @@ New Features: - Remove the long-obsolete appdata-validate tool (Richard Hughes) Bugfixes: - - Accept a '0x' hexidecimal prefix when parsing a version (Richard Hughes) + - Accept a '0x' hexadecimal prefix when parsing a version (Richard Hughes) - Adapt to DEP11 spec change (Matthias Klumpp) - Add AsProfile for speed profiling (Richard Hughes) - Allow as_markup_convert() to ignore errors (Richard Hughes) @@ -923,7 +923,7 @@ New Features: Bugfixes: - Add more applications to the blacklist (Richard Hughes, Igor Gnatenko) - Allow specifying --packages-dir multiple times (Richard Hughes) - - Alow setting the cachedir different from the outputdir (Richard Hughes) + - Allow setting the cachedir different from the outputdir (Richard Hughes) - Always return errors from the correct domain when parsing broken AppData files (Richard Hughes) - Assume <image>foo</image> is a source image kind for AppData files (Richard Hughes) - Assume that stock icons are available in HiDPI sizes (Richard Hughes) diff --git a/client/as-util.c b/client/as-util.c index a50c7ba..9700e69 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -2304,7 +2304,7 @@ as_util_matrix_html_write_item (AsUtilPkgState *state_app, { g_string_append (html, "<td>"); - /* ab-use acronym for the mouse-over explaination */ + /* ab-use acronym for the mouse-over explanation */ if (comment != NULL) g_string_append_printf (html, "<acronym title=\"%s\">", comment); @@ -3333,7 +3333,7 @@ as_util_mirror_screenshots_app_url (AsUtilPrivate *priv, g_set_error (error, AS_ERROR, AS_ERROR_FAILED, - "file:// URLs like %s are not suported", url); + "file:// URLs like %s are not supported", url); return FALSE; } uri = soup_uri_new (url); diff --git a/libappstream-builder/asb-package-cab.c b/libappstream-builder/asb-package-cab.c index 652c0f8..56a0254 100644 --- a/libappstream-builder/asb-package-cab.c +++ b/libappstream-builder/asb-package-cab.c @@ -32,7 +32,7 @@ asb_package_cab_open (AsbPackage *pkg, const gchar *filename, GError **error) g_set_error (error, AS_STORE_ERROR, AS_STORE_ERROR_FAILED, - "Loading firmware is no longer suported, see fwupd"); + "Loading firmware is no longer supported, see fwupd"); return FALSE; } @@ -44,7 +44,7 @@ asb_package_cab_ensure (AsbPackage *pkg, g_set_error (error, AS_STORE_ERROR, AS_STORE_ERROR_FAILED, - "Loading firmware is no longer suported, see fwupd"); + "Loading firmware is no longer supported, see fwupd"); return FALSE; } diff --git a/libappstream-builder/asb-package.c b/libappstream-builder/asb-package.c index 49538dc..6fc77b6 100644 --- a/libappstream-builder/asb-package.c +++ b/libappstream-builder/asb-package.c @@ -487,7 +487,7 @@ asb_package_get_filelist (AsbPackage *pkg) * asb_package_get_deps: * @pkg: A #AsbPackage * - * Get the package dependancy list. + * Get the package dependency list. * * Returns: (transfer none) (element-type utf8): deplist * @@ -692,7 +692,7 @@ asb_package_set_source_pkgname (AsbPackage *pkg, const gchar *source_pkgname) * @pkg: A #AsbPackage * @dep: package dep * - * Add a package dependancy. + * Add a package dependency. * * Since: 0.3.5 **/ diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c index 1e5ea55..355a316 100644 --- a/libappstream-builder/asb-task.c +++ b/libappstream-builder/asb-task.c @@ -10,7 +10,7 @@ * @short_description: One specific task for building metadata. * @stability: Unstable * - * Thsi object represents a single task, typically a package which is created + * This object represents a single task, typically a package which is created * and then processed. Typically this is done in a number of threads. */ diff --git a/libappstream-builder/plugins/asb-plugin-font.c b/libappstream-builder/plugins/asb-plugin-font.c index 20aa5b4..6fda2d1 100644 --- a/libappstream-builder/plugins/asb-plugin-font.c +++ b/libappstream-builder/plugins/asb-plugin-font.c @@ -539,7 +539,7 @@ asb_plugin_font_set_name (AsbApp *app, const gchar *name) NULL }; g_autofree gchar *tmp = NULL; - /* remove font foundary suffix */ + /* remove font foundry suffix */ tmp = g_strdup (name); for (i = 0; suffixes[i] != NULL; i++) { if (g_str_has_suffix (tmp, suffixes[i])) { @@ -548,7 +548,7 @@ asb_plugin_font_set_name (AsbApp *app, const gchar *name) } } - /* remove font foundary prefix */ + /* remove font foundry prefix */ ptr = tmp; for (i = 0; prefixes[i] != NULL; i++) { if (g_str_has_prefix (tmp, prefixes[i])) diff --git a/libappstream-builder/plugins/asb-plugin-shell-extension.c b/libappstream-builder/plugins/asb-plugin-shell-extension.c index c62e71d..5b4f363 100644 --- a/libappstream-builder/plugins/asb-plugin-shell-extension.c +++ b/libappstream-builder/plugins/asb-plugin-shell-extension.c @@ -67,7 +67,7 @@ as_app_parse_shell_extension_data (AsbPlugin *plugin, g_set_error_literal (error, ASB_PLUGIN_ERROR, ASB_PLUGIN_ERROR_FAILED, - "no obect"); + "no object"); return FALSE; } diff --git a/libappstream-glib/as-app-builder.c b/libappstream-glib/as-app-builder.c index 659abdb..16185ed 100644 --- a/libappstream-glib/as-app-builder.c +++ b/libappstream-glib/as-app-builder.c @@ -144,7 +144,7 @@ as_app_builder_search_locale_gettext (AsAppBuilderContext *ctx, if (dir == NULL) return FALSE; - /* do a first pass at this, trying to find the prefered .mo */ + /* do a first pass at this, trying to find the preferred .mo */ mo_paths = g_ptr_array_new_with_free_func (g_free); while ((filename = g_dir_read_name (dir)) != NULL) { g_autofree gchar *path = NULL; diff --git a/libappstream-glib/as-app-inf.c b/libappstream-glib/as-app-inf.c index 95b873c..4206cf2 100644 --- a/libappstream-glib/as-app-inf.c +++ b/libappstream-glib/as-app-inf.c @@ -19,6 +19,6 @@ as_app_parse_inf_file (AsApp *app, g_set_error (error, AS_INF_ERROR, AS_INF_ERROR_FAILED, - "Loading .inf data is no longer suported, see libginf"); + "Loading .inf data is no longer supported, see libginf"); return FALSE; } diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index 248e9b6..04c4332 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -1167,7 +1167,7 @@ as_app_validate_check_id (AsAppValidateHelper *helper, const gchar *id) * @flags: the #AsAppValidateFlags to use, e.g. %AS_APP_VALIDATE_FLAG_NONE * @error: A #GError or %NULL. * - * Validates data in the instance for style and consitency. + * Validates data in the instance for style and consistency. * * Returns: (transfer container) (element-type AsProblem): A list of problems, or %NULL * diff --git a/libappstream-glib/as-inf.c b/libappstream-glib/as-inf.c index 72b64ca..ab6e1d6 100644 --- a/libappstream-glib/as-inf.c +++ b/libappstream-glib/as-inf.c @@ -42,7 +42,7 @@ G_DEFINE_QUARK (as-inf-error-quark, as_inf_error) * Repairs .inf file data and opens it as a keyfile. * * Important: The group and keynames are all forced to lower case as INF files - * are specified as case insensitve and GKeyFile *is* case sensitive. + * are specified as case insensitive and GKeyFile *is* case sensitive. * Any backslashes or spaces in the key name are also converted to '_'. * * Returns: %TRUE for success @@ -58,7 +58,7 @@ as_inf_load_data (GKeyFile *keyfile, g_set_error (error, AS_INF_ERROR, AS_INF_ERROR_FAILED, - "Loading .inf data is no longer suported, see libginf"); + "Loading .inf data is no longer supported, see libginf"); return FALSE; } @@ -84,7 +84,7 @@ as_inf_load_file (GKeyFile *keyfile, g_set_error (error, AS_INF_ERROR, AS_INF_ERROR_FAILED, - "Loading .inf files is no longer suported, see libginf"); + "Loading .inf files is no longer supported, see libginf"); return FALSE; } @@ -106,6 +106,6 @@ as_inf_get_driver_version (GKeyFile *keyfile, guint64 *timestamp, GError **error g_set_error (error, AS_INF_ERROR, AS_INF_ERROR_FAILED, - "Loading .inf files is no longer suported, see libginf"); + "Loading .inf files is no longer supported, see libginf"); return NULL; } diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c index cb3ad5c..40ef277 100644 --- a/libappstream-glib/as-node.c +++ b/libappstream-glib/as-node.c @@ -492,7 +492,7 @@ as_node_to_xml_string (GString *xml, * @text_len: length of @text * * Converts pretty-formatted source text into a format suitable for AppStream. - * This might include joining paragraphs, supressing newlines or doing other + * This might include joining paragraphs, suppressing newlines or doing other * sanity checks to the text. * * Returns: (transfer full): a new string diff --git a/libappstream-glib/as-release.c b/libappstream-glib/as-release.c index 6a71f99..85d5d1e 100644 --- a/libappstream-glib/as-release.c +++ b/libappstream-glib/as-release.c @@ -1004,7 +1004,7 @@ as_release_node_parse (AsRelease *release, GNode *node, xml->str); } - /* AppData: mutliple languages encoded in one <description> tag */ + /* AppData: multiple languages encoded in one <description> tag */ } else { n = as_node_find (node, "description"); if (n != NULL) { diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 03e97b4..d065256 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -996,7 +996,7 @@ as_test_icon_func (void) g_string_free (xml, TRUE); as_node_unref (root); - /* convert to embeddded icon */ + /* convert to embedded icon */ prefix = as_test_get_filename ("rpmbuild"); g_assert (prefix != NULL); as_icon_set_prefix (icon, prefix); @@ -4457,7 +4457,7 @@ as_test_utils_spdx_token_func (void) g_strfreev (tok); g_free (tmp); - /* multiple licences, deprectated 'and' & 'or' */ + /* multiple licences, deprecated 'and' & 'or' */ tok = as_utils_spdx_license_tokenize ("LGPL-2.0+ and GPL-2.0 or LGPL-3.0"); tmp = g_strjoinv (" ", tok); g_assert_cmpstr (tmp, ==, "@LGPL-2.0+ & @GPL-2.0 | @LGPL-3.0"); diff --git a/libappstream-glib/as-store-cab.c b/libappstream-glib/as-store-cab.c index 166894e..2c9a940 100644 --- a/libappstream-glib/as-store-cab.c +++ b/libappstream-glib/as-store-cab.c @@ -22,7 +22,7 @@ as_store_cab_from_bytes (AsStore *store, g_set_error (error, AS_STORE_ERROR, AS_STORE_ERROR_FAILED, - "Loading firmware is no longer suported, see fwupd"); + "Loading firmware is no longer supported, see fwupd"); return FALSE; } @@ -35,6 +35,6 @@ as_store_cab_from_file (AsStore *store, g_set_error (error, AS_STORE_ERROR, AS_STORE_ERROR_FAILED, - "Loading firmware is no longer suported, see fwupd"); + "Loading firmware is no longer supported, see fwupd"); return FALSE; } diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index 2401f62..e435340 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -3597,7 +3597,7 @@ as_store_get_unique_name_app_key (AsApp *app) * @flags: the #AsAppValidateFlags to use, e.g. %AS_APP_VALIDATE_FLAG_NONE * @error: A #GError or %NULL. * - * Validates infomation in the store for data applicable to the defined + * Validates information in the store for data applicable to the defined * metadata version. * * Returns: (transfer container) (element-type AsProblem): A list of problems, or %NULL diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c index 6cd1c3c..f43a9bb 100644 --- a/libappstream-glib/as-utils.c +++ b/libappstream-glib/as-utils.c @@ -2110,7 +2110,7 @@ as_utils_appstream_id_build (const gchar *str) * @str: a string * * Checks to see if a string is a valid AppStream ID. A valid AppStream ID only - * contains alpha-numeric chars, dots and dashes. + * contains alphanumeric chars, dots and dashes. * * Returns: %TRUE if the string is a valid AppStream ID * diff --git a/libappstream-glib/as-version.c b/libappstream-glib/as-version.c index 0e86c00..36f7fd2 100644 --- a/libappstream-glib/as-version.c +++ b/libappstream-glib/as-version.c @@ -25,7 +25,7 @@ * * Gets the libappstream-glib installed runtime version. * - * Returns: a version numer, e.g. "0.7.8" + * Returns: a version number, e.g. "0.7.8" * * Since: 0.7.8 **/ |