From 5c69617973690bf75cf911f03e2c47f382e4673a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Tue, 11 Oct 2016 15:18:39 +0200 Subject: Use Unicode in translatable strings See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772753 --- json-glib/json-path.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'json-glib/json-path.c') diff --git a/json-glib/json-path.c b/json-glib/json-path.c index ed09e9b..5777f64 100644 --- a/json-glib/json-path.c +++ b/json-glib/json-path.c @@ -395,7 +395,7 @@ json_path_compile (JsonPath *path, 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'"), + _("Root node followed by invalid character “%c”"), *(p + 1)); return FALSE; } @@ -509,7 +509,7 @@ json_path_compile (JsonPath *path, { g_set_error (error, JSON_PATH_ERROR, JSON_PATH_ERROR_INVALID_QUERY, - _("Malformed slice expression '%*s'"), + _("Malformed slice expression “%*s”"), (int)(end_p - p), p + 1); goto fail; @@ -553,7 +553,7 @@ json_path_compile (JsonPath *path, g_array_unref (indices); g_set_error (error, JSON_PATH_ERROR, JSON_PATH_ERROR_INVALID_QUERY, - _("Invalid set definition '%*s'"), + _("Invalid set definition “%*s”"), (int)(end_p - p), p + 1); goto fail; @@ -606,7 +606,7 @@ json_path_compile (JsonPath *path, { g_set_error (error, JSON_PATH_ERROR, JSON_PATH_ERROR_INVALID_QUERY, - _("Invalid slice definition '%*s'"), + _("Invalid slice definition “%*s”"), (int)(end_p - p), p + 1); goto fail; @@ -634,7 +634,7 @@ json_path_compile (JsonPath *path, { g_set_error (error, JSON_PATH_ERROR, JSON_PATH_ERROR_INVALID_QUERY, - _("Invalid array index definition '%*s'"), + _("Invalid array index definition “%*s”"), (int)(end_p - p), p + 1); goto fail; @@ -653,7 +653,7 @@ json_path_compile (JsonPath *path, { g_set_error(error, JSON_PATH_ERROR, JSON_PATH_ERROR_INVALID_QUERY, - _("Invalid first character '%c'"), + _("Invalid first character “%c”"), *p); return FALSE; } -- cgit v1.2.1