diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-10-11 15:18:39 +0200 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2017-03-18 17:04:55 +0100 |
commit | 5c69617973690bf75cf911f03e2c47f382e4673a (patch) | |
tree | 89a008c469c215dee0bf53119910a6847189ed9f /json-glib/json-path.c | |
parent | 4171dea099d689dca356fcd5fc45e685cb30b259 (diff) | |
download | json-glib-5c69617973690bf75cf911f03e2c47f382e4673a.tar.gz |
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772753
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r-- | json-glib/json-path.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |