[gtk+] Use Unicode quotation marks in new strings



commit 794a2bfd0087614b1a6b07c314cde7bbefba77f3
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Dec 3 18:38:39 2017 +0100

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

 gdk/gdkcontentprovider.c           |    2 +-
 gdk/gdkcontentproviderimpl.c       |    2 +-
 gdk/x11/gdktextlistconverter-x11.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkcontentprovider.c b/gdk/gdkcontentprovider.c
index 55aa384..9d89f94 100644
--- a/gdk/gdkcontentprovider.c
+++ b/gdk/gdkcontentprovider.c
@@ -88,7 +88,7 @@ gdk_content_provider_real_write_mime_type_async (GdkContentProvider  *provider,
   g_task_set_source_tag (task, gdk_content_provider_real_write_mime_type_async);
 
   g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                           _("Cannot provide contents as \"%s\""), mime_type);
+                           _("Cannot provide contents as “%s”"), mime_type);
   g_object_unref (task);
 }
 
diff --git a/gdk/gdkcontentproviderimpl.c b/gdk/gdkcontentproviderimpl.c
index adb3cc4..9ae14e0 100644
--- a/gdk/gdkcontentproviderimpl.c
+++ b/gdk/gdkcontentproviderimpl.c
@@ -212,7 +212,7 @@ gdk_content_provider_bytes_write_mime_type_async (GdkContentProvider     *provid
   if (mime_type != content->mime_type)
     {
       g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                               _("Cannot provide contents as \"%s\""), mime_type);
+                               _("Cannot provide contents as “%s”"), mime_type);
       g_object_unref (task);
       return;
     }
diff --git a/gdk/x11/gdktextlistconverter-x11.c b/gdk/x11/gdktextlistconverter-x11.c
index f39dc6c..e3c7296 100644
--- a/gdk/x11/gdktextlistconverter-x11.c
+++ b/gdk/x11/gdktextlistconverter-x11.c
@@ -199,7 +199,7 @@ gdk_x11_text_list_converter_encode (GdkX11TextListConverter *conv,
   else
     {
       g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-                   _("Unsupported encoding \"%s\""), conv->encoding);
+                   _("Unsupported encoding “%s”"), conv->encoding);
       return G_CONVERTER_ERROR;
     }
 


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