summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-09-30 00:25:12 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2018-05-30 13:21:00 +0200
commit303d2a556e18d78d41f8e8d5bf5f6f4d5eb85f6d (patch)
treef8e06f131d4f0228b5986e67d5e32903c922cd0a
parentef41a8bc97c381849703814ad4e438bfbdb8df94 (diff)
downloadclutter-wip/piotrdrag/unicode-typography.tar.gz
Use Unicode in translatable stringswip/piotrdrag/unicode-typography
See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772213
-rw-r--r--clutter/clutter-actor.c24
-rw-r--r--clutter/clutter-backend.c2
-rw-r--r--clutter/clutter-main.c2
-rw-r--r--clutter/clutter-text.c2
4 files changed, 15 insertions, 15 deletions
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 18274fe0c..0e641c13f 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -6619,7 +6619,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_ALLOCATION] =
g_param_spec_boxed ("allocation",
P_("Allocation"),
- P_("The actor's allocation"),
+ P_("The actor’s allocation"),
CLUTTER_TYPE_ACTOR_BOX,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS |
@@ -6687,7 +6687,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_REQUEST_MODE] =
g_param_spec_enum ("request-mode",
P_("Request Mode"),
- P_("The actor's request mode"),
+ P_("The actor’s request mode"),
CLUTTER_TYPE_REQUEST_MODE,
CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
CLUTTER_PARAM_READWRITE);
@@ -6740,7 +6740,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_Z_POSITION] =
g_param_spec_float ("z-position",
P_("Z Position"),
- P_("The actor's position on the Z axis"),
+ P_("The actor’s position on the Z axis"),
-G_MAXFLOAT, G_MAXFLOAT,
0.0f,
G_PARAM_READWRITE |
@@ -7452,7 +7452,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_CLIP_TO_ALLOCATION] =
g_param_spec_boolean ("clip-to-allocation",
P_("Clip to Allocation"),
- P_("Sets the clip region to track the actor's allocation"),
+ P_("Sets the clip region to track the actor’s allocation"),
FALSE,
CLUTTER_PARAM_READWRITE);
@@ -7539,7 +7539,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_LAYOUT_MANAGER] =
g_param_spec_object ("layout-manager",
P_("Layout Manager"),
- P_("The object controlling the layout of an actor's children"),
+ P_("The object controlling the layout of an actor’s children"),
CLUTTER_TYPE_LAYOUT_MANAGER,
CLUTTER_PARAM_READWRITE);
@@ -7723,7 +7723,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_BACKGROUND_COLOR] =
clutter_param_spec_color ("background-color",
P_("Background color"),
- P_("The actor's background color"),
+ P_("The actor’s background color"),
CLUTTER_COLOR_Transparent,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS |
@@ -7739,7 +7739,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_FIRST_CHILD] =
g_param_spec_object ("first-child",
P_("First Child"),
- P_("The actor's first child"),
+ P_("The actor’s first child"),
CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READABLE);
@@ -7753,7 +7753,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_LAST_CHILD] =
g_param_spec_object ("last-child",
P_("Last Child"),
- P_("The actor's last child"),
+ P_("The actor’s last child"),
CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READABLE);
@@ -7768,7 +7768,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_CONTENT] =
g_param_spec_object ("content",
P_("Content"),
- P_("Delegate object for painting the actor's content"),
+ P_("Delegate object for painting the actor’s content"),
CLUTTER_TYPE_CONTENT,
CLUTTER_PARAM_READWRITE);
@@ -7794,7 +7794,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_CONTENT_GRAVITY] =
g_param_spec_enum ("content-gravity",
P_("Content Gravity"),
- P_("Alignment of the actor's content"),
+ P_("Alignment of the actor’s content"),
CLUTTER_TYPE_CONTENT_GRAVITY,
CLUTTER_CONTENT_GRAVITY_RESIZE_FILL,
CLUTTER_PARAM_READWRITE);
@@ -7815,7 +7815,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_CONTENT_BOX] =
g_param_spec_boxed ("content-box",
P_("Content Box"),
- P_("The bounding box of the actor's content"),
+ P_("The bounding box of the actor’s content"),
CLUTTER_TYPE_ACTOR_BOX,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS |
@@ -7847,7 +7847,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
obj_props[PROP_CONTENT_REPEAT] =
g_param_spec_flags ("content-repeat",
P_("Content Repeat"),
- P_("The repeat policy for the actor's content"),
+ P_("The repeat policy for the actor’s content"),
CLUTTER_TYPE_CONTENT_REPEAT,
CLUTTER_REPEAT_NONE,
G_PARAM_READWRITE |
diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c
index b4e5f829f..0236cc5c9 100644
--- a/clutter/clutter-backend.c
+++ b/clutter/clutter-backend.c
@@ -514,7 +514,7 @@ clutter_backend_real_create_stage (ClutterBackend *backend,
{
g_set_error (error, CLUTTER_INIT_ERROR,
CLUTTER_INIT_ERROR_BACKEND,
- _("The backend of type '%s' does not support "
+ _("The backend of type “%s” does not support "
"creating multiple stages"),
G_OBJECT_TYPE_NAME (backend));
return NULL;
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index 10fcc2085..3e4335ec4 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -1436,7 +1436,7 @@ static GOptionEntry clutter_args[] = {
N_("Disable mipmapping on text"), NULL },
{ "clutter-use-fuzzy-picking", 0, 0, G_OPTION_ARG_NONE,
&clutter_use_fuzzy_picking,
- N_("Use 'fuzzy' picking"), NULL },
+ N_("Use “fuzzy” picking"), NULL },
#ifdef CLUTTER_ENABLE_DEBUG
{ "clutter-debug", 0, 0, G_OPTION_ARG_CALLBACK, clutter_arg_debug_cb,
N_("Clutter debugging flags to set"), "FLAGS" },
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 54dfae985..0b83de97e 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -3793,7 +3793,7 @@ clutter_text_class_init (ClutterTextClass *klass)
*/
pspec = g_param_spec_unichar ("password-char",
P_("Password Character"),
- P_("If non-zero, use this character to display the actor's contents"),
+ P_("If non-zero, use this character to display the actor’s contents"),
0,
CLUTTER_PARAM_READWRITE);
obj_props[PROP_PASSWORD_CHAR] = pspec;