diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-11-11 18:20:09 +0100 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2017-01-31 16:04:53 +0100 |
commit | 6a7e240916b9d5f28c75e86561250b01f1414866 (patch) | |
tree | d0c019a6c1356275f44ddc4fdc6133ba3f6da43b | |
parent | 652e3c96254629e64e3b6c3867d74b8d61dc2253 (diff) | |
download | totem-6a7e240916b9d5f28c75e86561250b01f1414866.tar.gz |
main: Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
Also takes the opportunity to make the use of single vs. double quotation
marks consistent within totem, as well as with other GNOME apps that use
double quotation marks, as GNOME HIG recommends.
https://bugzilla.gnome.org/show_bug.cgi?id=774286
-rw-r--r-- | src/totem-interface.c | 4 | ||||
-rw-r--r-- | src/totem-object.c | 6 | ||||
-rw-r--r-- | src/totem-options.c | 2 | ||||
-rw-r--r-- | src/totem-playlist.c | 2 | ||||
-rw-r--r-- | src/totem-properties-view.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/totem-interface.c b/src/totem-interface.c index 9fa061046..675bdec81 100644 --- a/src/totem-interface.c +++ b/src/totem-interface.c @@ -176,7 +176,7 @@ totem_interface_load (const char *name, gboolean fatal, GtkWindow *parent, gpoin if (filename == NULL) { char *msg; - msg = g_strdup_printf (_("Couldn't load the '%s' interface. %s"), name, _("The file does not exist.")); + msg = g_strdup_printf (_("Couldn’t load the “%s” interface. %s"), name, _("The file does not exist.")); if (fatal == FALSE) totem_interface_error (msg, _("Make sure that Totem is properly installed."), parent); else @@ -219,7 +219,7 @@ totem_interface_load_with_full_path (const char *filename, gboolean fatal, if (builder == NULL || gtk_builder_add_from_file (builder, filename, &error) == FALSE) { char *msg; - msg = g_strdup_printf (_("Couldn't load the '%s' interface. %s"), filename, error->message); + msg = g_strdup_printf (_("Couldn’t load the “%s” interface. %s"), filename, error->message); if (fatal == FALSE) totem_interface_error (msg, _("Make sure that Totem is properly installed."), parent); else diff --git a/src/totem-object.c b/src/totem-object.c index 502fe8214..9c2f1041d 100644 --- a/src/totem-object.c +++ b/src/totem-object.c @@ -1467,7 +1467,7 @@ totem_object_play (TotemObject *totem) } disp = totem_uri_escape_for_display (totem->mrl); - msg = g_strdup_printf(_("Totem could not play '%s'."), disp); + msg = g_strdup_printf(_("Totem could not play “%s”."), disp); g_free (disp); totem_object_show_error (totem, msg, err->message); @@ -1494,7 +1494,7 @@ totem_object_seek (TotemObject *totem, double pos) char *msg, *disp; disp = totem_uri_escape_for_display (totem->mrl); - msg = g_strdup_printf(_("Totem could not play '%s'."), disp); + msg = g_strdup_printf(_("Totem could not play “%s”."), disp); g_free (disp); reset_seek_status (totem); @@ -1986,7 +1986,7 @@ totem_seek_time_rel (TotemObject *totem, gint64 _time, gboolean relative, gboole char *msg, *disp; disp = totem_uri_escape_for_display (totem->mrl); - msg = g_strdup_printf(_("Totem could not play '%s'."), disp); + msg = g_strdup_printf(_("Totem could not play “%s”."), disp); g_free (disp); totem_object_stop (totem); diff --git a/src/totem-options.c b/src/totem-options.c index 06b4f7c48..72059ab28 100644 --- a/src/totem-options.c +++ b/src/totem-options.c @@ -97,7 +97,7 @@ totem_options_process_for_server (Totem *totem, /* Then handle the things that modify the playlist */ if (options->replace && options->enqueue) { - g_warning (_("Can't enqueue and replace at the same time")); + g_warning (_("Can’t enqueue and replace at the same time")); } else if (options->replace) { action = TOTEM_REMOTE_COMMAND_REPLACE; } else if (options->enqueue) { diff --git a/src/totem-playlist.c b/src/totem-playlist.c index 4cba0d619..01203e194 100644 --- a/src/totem-playlist.c +++ b/src/totem-playlist.c @@ -989,7 +989,7 @@ handle_parse_result (TotemPlParserResult res, TotemPlaylist *playlist, const gch return totem_playlist_add_one_mrl (playlist, mrl, display_name, NULL, NULL, FALSE); if (res == TOTEM_PL_PARSER_RESULT_ERROR) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("The playlist '%s' could not be parsed. It might be damaged."), display_name ? display_name : mrl); + _("The playlist “%s” could not be parsed. It might be damaged."), display_name ? display_name : mrl); return FALSE; } diff --git a/src/totem-properties-view.c b/src/totem-properties-view.c index 4ddf3e1e3..bf681c89b 100644 --- a/src/totem-properties-view.c +++ b/src/totem-properties-view.c @@ -187,7 +187,7 @@ update_video (TotemPropertiesView *props, width = gst_discoverer_video_info_get_width (info); height = gst_discoverer_video_info_get_height (info); - string = g_strdup_printf (N_("%d x %d"), width, height); + string = g_strdup_printf (N_("%d × %d"), width, height); bacon_video_widget_properties_set_label (props->priv->props, "dimensions", string); |