summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2017-01-28 01:19:17 +0100
committerPiotr Drąg <piotrdrag@gmail.com>2017-01-28 01:19:17 +0100
commitc1146f5d0b2fa1a7df6ce73500da4c7c06a750d6 (patch)
tree5240a418f7cd107da60ced85aa9f1d9ba2c542da /json-glib/json-gobject.c
parentbb4c0918c85d6f428b45486ca4402c89fd5d9ac3 (diff)
downloadjson-glib-c1146f5d0b2fa1a7df6ce73500da4c7c06a750d6.tar.gz
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r--json-glib/json-gobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index 34a43c8..9bbb29b 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -937,9 +937,9 @@ json_gobject_from_data (GType gtype,
root = json_parser_get_root (parser);
if (root == NULL || JSON_NODE_TYPE (root) != JSON_NODE_OBJECT)
{
- /* translators: the %s is the name of the data structure */
g_set_error (error, JSON_PARSER_ERROR,
JSON_PARSER_ERROR_PARSE,
+ /* translators: the %s is the name of the data structure */
_("Expecting a JSON object, but the root node is of type `%s'"),
json_node_type_name (root));
g_object_unref (parser);