mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
gio: Change ‘unrecognised’ to ‘unrecognized’ in various user-visible places
The source language of GLib is technically en-US, so we should consistently use en-US spellings. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3269
This commit is contained in:
parent
9bb63af72e
commit
ed4f29cce8
@ -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
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ main (int argc, char **argv)
|
|||||||
if (g_str_equal (argv[1], "list-actions"))
|
if (g_str_equal (argv[1], "list-actions"))
|
||||||
return app_list_actions (argv + 2);
|
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);
|
return app_help (FALSE, NULL);
|
||||||
}
|
}
|
||||||
|
@ -709,8 +709,8 @@ add_packed_option (GApplication *application,
|
|||||||
* was to send all of the commandline arguments (options and all) to the
|
* was to send all of the commandline arguments (options and all) to the
|
||||||
* primary instance for handling. #GApplication ignored them completely
|
* primary instance for handling. #GApplication ignored them completely
|
||||||
* on the local side. Calling this function "opts in" to the new
|
* on the local side. Calling this function "opts in" to the new
|
||||||
* behaviour, and in particular, means that unrecognised options will be
|
* behaviour, and in particular, means that unrecognized options will be
|
||||||
* treated as errors. Unrecognised options have never been ignored when
|
* treated as errors. Unrecognized options have never been ignored when
|
||||||
* %G_APPLICATION_HANDLES_COMMAND_LINE is unset.
|
* %G_APPLICATION_HANDLES_COMMAND_LINE is unset.
|
||||||
*
|
*
|
||||||
* If #GApplication::handle-local-options needs to see the list of
|
* 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
|
* 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
|
* 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.
|
* %G_APPLICATION_HANDLES_COMMAND_LINE was given.
|
||||||
*
|
*
|
||||||
* Since: 2.40
|
* Since: 2.40
|
||||||
|
@ -1073,7 +1073,7 @@ g_resolver_records_from_res_query (const gchar *rrname,
|
|||||||
record = parse_res_txt (answer, p + rdlength, &p, &parsing_error);
|
record = parse_res_txt (answer, p + rdlength, &p, &parsing_error);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_debug ("Unrecognised DNS record type %u", rrtype);
|
g_debug ("Unrecognized DNS record type %u", rrtype);
|
||||||
record = NULL;
|
record = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ main (int argc, char **argv)
|
|||||||
progress = report_progress;
|
progress = report_progress;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_printerr ("unrecognised flag %s\n", argv[i]);
|
g_printerr ("unrecognized flag %s\n", argv[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user