summaryrefslogtreecommitdiff
path: root/json-glib/json-glib-format.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-10-28 11:17:06 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2013-10-28 11:42:04 +0000
commit42c36ba1c5a04a60bf1a6ec221c722b6c0136562 (patch)
treecab1ae54ec5ab913c55580e07e4e106dc75207be /json-glib/json-glib-format.c
parenta6816327ece4edbce8903967780364638752616a (diff)
downloadjson-glib-42c36ba1c5a04a60bf1a6ec221c722b6c0136562.tar.gz
Improve consistency in error messages
Use the same spacing and formatting rules.
Diffstat (limited to 'json-glib/json-glib-format.c')
-rw-r--r--json-glib/json-glib-format.c4
1 files changed, 2 insertions, 2 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;