diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c index 2b4ef0ebb..bfac84a65 100644 --- a/gio/glib-compile-schemas.c +++ b/gio/glib-compile-schemas.c @@ -1885,7 +1885,7 @@ set_overrides (GHashTable *schema_table, { fprintf (stderr, _("error parsing key `%s' in schema `%s' " "as specified in override file `%s': " - "%s. "), + "%s."), key, group, filename, error->message); g_clear_error (&error); diff --git a/glib/gmarkup.c b/glib/gmarkup.c index 655554565..f424026a9 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -424,7 +424,7 @@ slow_name_validate (GMarkupParseContext *context, g_unichar_isalpha (g_utf8_get_char (p)))))) { set_error (context, error, G_MARKUP_ERROR_PARSE, - _("'%s' is not a valid name "), name); + _("'%s' is not a valid name"), name); return FALSE; } @@ -440,7 +440,7 @@ slow_name_validate (GMarkupParseContext *context, g_unichar_isalpha (g_utf8_get_char (p)))))) { set_error (context, error, G_MARKUP_ERROR_PARSE, - _("'%s' is not a valid name: '%c' "), name, *p); + _("'%s' is not a valid name: '%c'"), name, *p); return FALSE; } }