From c6b4da02b8158673fee07b18a62c640277173c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Thu, 6 Oct 2016 03:20:14 +0200 Subject: Use Unicode in translatable strings See https://developer.gnome.org/hig/stable/typography.html --- tp-account-widgets/tpaw-account-widget-irc.ui | 2 +- tp-account-widgets/tpaw-account-widget-jabber.ui | 4 ++-- tp-account-widgets/tpaw-avatar-chooser.c | 8 ++++---- tp-account-widgets/tpaw-calendar-button.c | 2 +- tp-account-widgets/tpaw-keyring.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tp-account-widgets') diff --git a/tp-account-widgets/tpaw-account-widget-irc.ui b/tp-account-widgets/tpaw-account-widget-irc.ui index be9fd7b5..b976cc57 100644 --- a/tp-account-widgets/tpaw-account-widget-irc.ui +++ b/tp-account-widgets/tpaw-account-widget-irc.ui @@ -325,7 +325,7 @@ 0 0 3 - Most IRC servers don't need a password, so if you're not sure, don't enter a password. + Most IRC servers don’t need a password, so if you’re not sure, don’t enter a password. True True diff --git a/tp-account-widgets/tpaw-account-widget-jabber.ui b/tp-account-widgets/tpaw-account-widget-jabber.ui index 44441835..a02b2f9e 100644 --- a/tp-account-widgets/tpaw-account-widget-jabber.ui +++ b/tp-account-widgets/tpaw-account-widget-jabber.ui @@ -53,7 +53,7 @@ 0.10000000149011612 This is your username, not your normal Facebook login. If you are facebook.com/<b>badger</b>, enter <b>badger</b>. -Use <a href="http://www.facebook.com/username/">this page</a> to choose a Facebook username if you don't have one. +Use <a href="http://www.facebook.com/username/">this page</a> to choose a Facebook username if you don’t have one. True @@ -319,7 +319,7 @@ Use <a href="http://www.facebook.com/username/">this page</a> to cho 3 This is your username, not your normal Facebook login. If you are facebook.com/<b>badger</b>, enter <b>badger</b>. -Use <a href="http://www.facebook.com/username/">this page</a> to choose a Facebook username if you don't have one. +Use <a href="http://www.facebook.com/username/">this page</a> to choose a Facebook username if you don’t have one. True True diff --git a/tp-account-widgets/tpaw-avatar-chooser.c b/tp-account-widgets/tpaw-avatar-chooser.c index 59e51492..89c29aef 100644 --- a/tp-account-widgets/tpaw-avatar-chooser.c +++ b/tp-account-widgets/tpaw-avatar-chooser.c @@ -584,7 +584,7 @@ avatar_chooser_maybe_convert_and_scale (TpawAvatarChooser *self, /* If there is no format we can use, report error to the user. */ if (new_mime_type == NULL || new_format_name == NULL) { - avatar_chooser_error_show (self, _("Couldn't convert image"), + avatar_chooser_error_show (self, _("Couldn’t convert image"), _("None of the accepted image formats are " "supported on your system")); return FALSE; @@ -669,7 +669,7 @@ avatar_chooser_maybe_convert_and_scale (TpawAvatarChooser *self, g_free (new_format_name); g_free (new_mime_type); avatar_chooser_error_show (self, - _("Couldn't convert image"), + _("Couldn’t convert image"), error ? error->message : NULL); g_clear_error (&error); return FALSE; @@ -945,7 +945,7 @@ avatar_chooser_set_avatar_from_pixbuf (TpawAvatarChooser *self, if (!gdk_pixbuf_save_to_buffer (pb, &buf, &size, "png", &error, NULL)) { avatar_chooser_error_show (self, - _("Couldn't save picture to file"), + _("Couldn’t save picture to file"), error ? error->message : NULL); g_clear_error (&error); return; @@ -1076,7 +1076,7 @@ avatar_chooser_clicked_cb (GtkWidget *button, #ifdef HAVE_CHEESE picture_button = gtk_dialog_add_button ( GTK_DIALOG (self->priv->chooser_dialog), - _("Take a picture..."), TPAW_AVATAR_CHOOSER_RESPONSE_WEBCAM); + _("Take a picture…"), TPAW_AVATAR_CHOOSER_RESPONSE_WEBCAM); /* Button is sensitive only if there is one camera connected */ monitor = tpaw_camera_monitor_dup_singleton (); diff --git a/tp-account-widgets/tpaw-calendar-button.c b/tp-account-widgets/tpaw-calendar-button.c index 07a7085f..e9c73566 100644 --- a/tp-account-widgets/tpaw-calendar-button.c +++ b/tp-account-widgets/tpaw-calendar-button.c @@ -60,7 +60,7 @@ update_label (TpawCalendarButton *self) if (self->priv->date == NULL) { gtk_button_set_label (GTK_BUTTON (self->priv->button_date), - _("Select...")); + _("Select…")); } else { diff --git a/tp-account-widgets/tpaw-keyring.c b/tp-account-widgets/tpaw-keyring.c index d8f175ce..57f4bd5b 100644 --- a/tp-account-widgets/tpaw-keyring.c +++ b/tp-account-widgets/tpaw-keyring.c @@ -618,7 +618,7 @@ tpaw_keyring_set_room_password_async (TpAccount *account, DEBUG ("Remembering password for room '%s' on account '%s'", id, account_id); - name = g_strdup_printf (_("Password for chatroom '%s' on account %s (%s)"), + name = g_strdup_printf (_("Password for chatroom “%s” on account %s (%s)"), id, tp_account_get_display_name (account), account_id); secret_password_store (&room_keyring_schema, NULL, name, password, -- cgit v1.2.1