summaryrefslogtreecommitdiff
path: root/json-glib/json-gvariant.c
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-10-11 15:18:39 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2017-03-18 17:04:55 +0100
commit5c69617973690bf75cf911f03e2c47f382e4673a (patch)
tree89a008c469c215dee0bf53119910a6847189ed9f /json-glib/json-gvariant.c
parent4171dea099d689dca356fcd5fc45e685cb30b259 (diff)
downloadjson-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-gvariant.c')
-rw-r--r--json-glib/json-gvariant.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/json-glib/json-gvariant.c b/json-glib/json-gvariant.c
index afa6405..58694de 100644
--- a/json-glib/json-gvariant.c
+++ b/json-glib/json-gvariant.c
@@ -520,7 +520,7 @@ json_node_assert_type (JsonNode *json_node,
G_IO_ERROR,
G_IO_ERROR_INVALID_DATA,
/* translators: the '%s' is the type name */
- _("Unexpected type '%s' in JSON node"),
+ _("Unexpected type “%s” in JSON node"),
g_type_name (json_node_get_value_type (json_node)));
return FALSE;
}
@@ -618,7 +618,7 @@ json_to_gvariant_tuple (JsonNode *json_node,
g_set_error_literal (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_DATA,
- _("Missing closing symbol ')' in the GVariant tuple type"));
+ _("Missing closing symbol “)” in the GVariant tuple type"));
roll_back = TRUE;
}
else if (json_array_get_length (array) >= i)
@@ -1245,7 +1245,7 @@ json_to_gvariant_recurse (JsonNode *json_node,
g_set_error (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_DATA,
- _("GVariant class '%c' not supported"), class);
+ _("GVariant class “%c” not supported"), class);
break;
}