From 42c36ba1c5a04a60bf1a6ec221c722b6c0136562 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 28 Oct 2013 11:17:06 +0000 Subject: Improve consistency in error messages Use the same spacing and formatting rules. --- json-glib/json-glib-format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'json-glib/json-glib-format.c') diff --git a/json-glib/json-glib-format.c b/json-glib/json-glib-format.c index df9123b..f10cee9 100644 --- a/json-glib/json-glib-format.c +++ b/json-glib/json-glib-format.c @@ -96,7 +96,7 @@ format (JsonParser *parser, /* Translators: the first %s is the program name, the * second one is the URI of the file. */ - g_printerr (_("%s: %s, error writing to stdout"), g_get_prgname (), g_file_get_uri (file)); + g_printerr (_("%s: %s: error writing to stdout"), g_get_prgname (), g_file_get_uri (file)); res = FALSE; goto out; } @@ -116,7 +116,7 @@ out: /* Translators: the first %s is the program name, the second one * is the URI of the file, the third is the error message. */ - g_printerr (_("%s: %s:error closing: %s\n"), + g_printerr (_("%s: %s: error closing: %s\n"), g_get_prgname (), g_file_get_uri (file), error->message); g_clear_error (&error); res = FALSE; -- cgit v1.2.1