diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-09-30 00:43:18 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-12-05 16:38:07 +0100 |
commit | 37cdb6ce1ff4ba197a3b3585ccb6dc3d32b94228 (patch) | |
tree | cb442bb601ce6991b228d932371d4e0a09e6b198 /gdk-pixbuf/io-gdip-utils.c | |
parent | 4cc39d479356b6b09e3d62a0f3ab424db6c266d8 (diff) | |
download | gdk-pixbuf-37cdb6ce1ff4ba197a3b3585ccb6dc3d32b94228.tar.gz |
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772216
Diffstat (limited to 'gdk-pixbuf/io-gdip-utils.c')
-rw-r--r-- | gdk-pixbuf/io-gdip-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/io-gdip-utils.c b/gdk-pixbuf/io-gdip-utils.c index e5f3e1473..30028ff59 100644 --- a/gdk-pixbuf/io-gdip-utils.c +++ b/gdk-pixbuf/io-gdip-utils.c @@ -615,7 +615,7 @@ gdip_bitmap_to_pixbuf (GpBitmap *bitmap, GError **error) pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, has_alpha, 8, width, height); if (!pixbuf) { - g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, _("Couldn't load bitmap")); + g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, _("Couldn’t load bitmap")); return NULL; } @@ -771,7 +771,7 @@ gdk_pixbuf__gdip_image_stop_vector_load (gpointer data, GError **error) metafile = gdip_buffer_to_image (context, error); if (!metafile) { destroy_gdipcontext (context); - g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE, _("Couldn't load metafile")); + g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE, _("Couldn’t load metafile")); return FALSE; } @@ -883,7 +883,7 @@ gdip_save_pixbuf (GdkPixbuf *pixbuf, image = gdip_pixbuf_to_bitmap (pixbuf); if (image == NULL) { - g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_FAILED, _("Couldn't save")); + g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_FAILED, _("Couldn’t save")); return FALSE; } |