[gtk] Use Unicode apostrophes in new strings



commit 2b8e30a8ed4e09a57dd04a2a65b0f007f4eb819f
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Sep 20 19:01:14 2018 +0200

    Use Unicode apostrophes in new strings
    
    See https://developer.gnome.org/hig/stable/typography.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772371

 gdk/gdkdrop.c                          | 2 +-
 gdk/win32/gdkhdataoutputstream-win32.c | 2 +-
 gtk/gtktreelistmodel.c                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdrop.c b/gdk/gdkdrop.c
index f7f812a19e..643a74d790 100644
--- a/gdk/gdkdrop.c
+++ b/gdk/gdkdrop.c
@@ -107,7 +107,7 @@ gdk_drop_read_local_async (GdkDrop             *self,
   if (priv->drag == NULL)
     {
       g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                                     _("Drag'n'drop from other applications is not supported."));
+                                     _("Drag’n’drop from other applications is not supported."));
       g_object_unref (task);
       return;
     }
diff --git a/gdk/win32/gdkhdataoutputstream-win32.c b/gdk/win32/gdkhdataoutputstream-win32.c
index b6cfb9745f..aa10ab415f 100644
--- a/gdk/win32/gdkhdataoutputstream-win32.c
+++ b/gdk/win32/gdkhdataoutputstream-win32.c
@@ -201,7 +201,7 @@ gdk_win32_hdata_output_stream_close (GOutputStream  *output_stream,
       if (priv->handle_is_buffer)
         {
           g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-                               _("Can't transmute a single handle"));
+                               _("Can’t transmute a single handle"));
           return FALSE;
         }
 
diff --git a/gtk/gtktreelistmodel.c b/gtk/gtktreelistmodel.c
index 3848e12e93..186a25b967 100644
--- a/gtk/gtktreelistmodel.c
+++ b/gtk/gtktreelistmodel.c
@@ -1045,7 +1045,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
   row_properties[ROW_PROP_CHILDREN] =
       g_param_spec_object ("children",
                            P_("Children"),
-                           P_("Model holding the row's children"),
+                           P_("Model holding the row’s children"),
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READABLE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]