summaryrefslogtreecommitdiff
path: root/json-glib/json-gvariant.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-gvariant.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-gvariant.c')
-rw-r--r--json-glib/json-gvariant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-gvariant.c b/json-glib/json-gvariant.c
index 6d55fb8..061c284 100644
--- a/json-glib/json-gvariant.c
+++ b/json-glib/json-gvariant.c
@@ -516,10 +516,10 @@ json_node_assert_type (JsonNode *json_node,
(type == JSON_NODE_VALUE &&
(json_node_get_value_type (json_node) != sub_type)))
{
- /* translators: the '%s' is the type name */
g_set_error (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_DATA,
+ /* translators: the '%s' is the type name */
_("Unexpected type '%s' in JSON node"),
g_type_name (json_node_get_value_type (json_node)));
return FALSE;