summaryrefslogtreecommitdiff
path: root/json-glib/json-parser.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-parser.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-parser.c')
-rw-r--r--json-glib/json-parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/json-glib/json-parser.c b/json-glib/json-parser.c
index 10ce3d8..efd7e14 100644
--- a/json-glib/json-parser.c
+++ b/json-glib/json-parser.c
@@ -905,12 +905,12 @@ json_scanner_msg_handler (JsonScanner *scanner,
JsonParserPrivate *priv = parser->priv;
GError *error = NULL;
- /* translators: %s: is the file name, the first %d is the line
- * number, the second %d is the position on the line, and %s is
- * the error message
- */
g_set_error (&error, JSON_PARSER_ERROR,
priv->error_code,
+ /* translators: %s: is the file name, the first %d is the line
+ * number, the second %d is the position on the line, and %s is
+ * the error message
+ */
_("%s:%d:%d: Parse error: %s"),
priv->is_filename ? priv->filename : "<data>",
scanner->line,