From ed4f29cce835beba35e3f5171f15a828559cc6c7 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 27 Mar 2024 12:07:42 +0000 Subject: [PATCH] =?UTF-8?q?gio:=20Change=20=E2=80=98unrecognised=E2=80=99?= =?UTF-8?q?=20to=20=E2=80=98unrecognized=E2=80=99=20in=20various=20user-vi?= =?UTF-8?q?sible=20places?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The source language of GLib is technically en-US, so we should consistently use en-US spellings. Signed-off-by: Philip Withnall Helps: #3269 --- docs/reference/gio/gapplication.rst | 2 +- gio/gapplication-tool.c | 2 +- gio/gapplication.c | 6 +++--- gio/gthreadedresolver.c | 2 +- gio/tests/gio-du.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/reference/gio/gapplication.rst b/docs/reference/gio/gapplication.rst index 338b3a7e6..80cea9d0e 100644 --- a/docs/reference/gio/gapplication.rst +++ b/docs/reference/gio/gapplication.rst @@ -177,7 +177,7 @@ Here is a simplified example, as may be installed in ``/usr/bin/fooview``:: ;; -*) - echo "unrecognised commandline argument" + echo "unrecognized commandline argument" exit 1 ;; diff --git a/gio/gapplication-tool.c b/gio/gapplication-tool.c index b810e8ee9..5d4ff7d8a 100644 --- a/gio/gapplication-tool.c +++ b/gio/gapplication-tool.c @@ -470,7 +470,7 @@ main (int argc, char **argv) if (g_str_equal (argv[1], "list-actions")) return app_list_actions (argv + 2); - g_printerr (_("unrecognised command: %s\n\n"), argv[1]); + g_printerr (_("unrecognized command: %s\n\n"), argv[1]); return app_help (FALSE, NULL); } diff --git a/gio/gapplication.c b/gio/gapplication.c index b7d2870e9..482f8d42f 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -709,8 +709,8 @@ add_packed_option (GApplication *application, * was to send all of the commandline arguments (options and all) to the * primary instance for handling. #GApplication ignored them completely * on the local side. Calling this function "opts in" to the new - * behaviour, and in particular, means that unrecognised options will be - * treated as errors. Unrecognised options have never been ignored when + * behaviour, and in particular, means that unrecognized options will be + * treated as errors. Unrecognized options have never been ignored when * %G_APPLICATION_HANDLES_COMMAND_LINE is unset. * * If #GApplication::handle-local-options needs to see the list of @@ -851,7 +851,7 @@ g_application_add_main_option (GApplication *application, * * Calling this function will cause the options in the supplied option * group to be parsed, but it does not cause you to be "opted in" to the - * new functionality whereby unrecognised options are rejected even if + * new functionality whereby unrecognized options are rejected even if * %G_APPLICATION_HANDLES_COMMAND_LINE was given. * * Since: 2.40 diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c index b8588e77e..fc487583c 100644 --- a/gio/gthreadedresolver.c +++ b/gio/gthreadedresolver.c @@ -1073,7 +1073,7 @@ g_resolver_records_from_res_query (const gchar *rrname, record = parse_res_txt (answer, p + rdlength, &p, &parsing_error); break; default: - g_debug ("Unrecognised DNS record type %u", rrtype); + g_debug ("Unrecognized DNS record type %u", rrtype); record = NULL; break; } diff --git a/gio/tests/gio-du.c b/gio/tests/gio-du.c index 253a21f70..f69585204 100644 --- a/gio/tests/gio-du.c +++ b/gio/tests/gio-du.c @@ -112,7 +112,7 @@ main (int argc, char **argv) progress = report_progress; else { - g_printerr ("unrecognised flag %s\n", argv[i]); + g_printerr ("unrecognized flag %s\n", argv[i]); } }