summaryrefslogtreecommitdiff
path: root/json-glib/json-path.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-path.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-path.c')
-rw-r--r--json-glib/json-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c
index 4604cd9..c325da5 100644
--- a/json-glib/json-path.c
+++ b/json-glib/json-path.c
@@ -391,9 +391,9 @@ json_path_compile (JsonPath *path,
if (!(*(p + 1) == '.' || *(p + 1) == '[' || *(p + 1) == '\0'))
{
- /* translators: the %c is the invalid character */
g_set_error (error, JSON_PATH_ERROR,
JSON_PATH_ERROR_INVALID_QUERY,
+ /* translators: the %c is the invalid character */
_("Root node followed by invalid character '%c'"),
*(p + 1));
return FALSE;