diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-10-28 11:17:06 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-10-28 11:42:04 +0000 |
commit | 42c36ba1c5a04a60bf1a6ec221c722b6c0136562 (patch) | |
tree | cab1ae54ec5ab913c55580e07e4e106dc75207be | |
parent | a6816327ece4edbce8903967780364638752616a (diff) | |
download | json-glib-42c36ba1c5a04a60bf1a6ec221c722b6c0136562.tar.gz |
Improve consistency in error messages
Use the same spacing and formatting rules.
-rw-r--r-- | json-glib/json-glib-format.c | 4 | ||||
-rw-r--r-- | json-glib/json-glib-validate.c | 2 |
2 files changed, 3 insertions, 3 deletions
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; diff --git a/json-glib/json-glib-validate.c b/json-glib/json-glib-validate.c index 72eec70..97bd53d 100644 --- a/json-glib/json-glib-validate.c +++ b/json-glib/json-glib-validate.c @@ -82,7 +82,7 @@ validate (JsonParser *parser, /* 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; |