summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-09-30 00:43:18 +0200
committerBastien Nocera <hadess@hadess.net>2017-12-05 16:38:07 +0100
commit37cdb6ce1ff4ba197a3b3585ccb6dc3d32b94228 (patch)
treecb442bb601ce6991b228d932371d4e0a09e6b198
parent4cc39d479356b6b09e3d62a0f3ab424db6c266d8 (diff)
downloadgdk-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
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c8
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c24
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c6
-rw-r--r--gdk-pixbuf/io-bmp.c4
-rw-r--r--gdk-pixbuf/io-gdip-jpeg.c4
-rw-r--r--gdk-pixbuf/io-gdip-utils.c6
-rw-r--r--gdk-pixbuf/io-jasper.c10
-rw-r--r--gdk-pixbuf/io-jpeg.c18
-rw-r--r--gdk-pixbuf/io-png.c8
-rw-r--r--gdk-pixbuf/io-pnm.c2
-rw-r--r--gdk-pixbuf/io-tiff.c10
11 files changed, 50 insertions, 50 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 9bb387293..0161ee2ec 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -153,7 +153,7 @@ gdk_pixbuf_animation_new_from_file (const gchar *filename,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
- _("Failed to open file '%s': %s"),
+ _("Failed to open file “%s”: %s"),
display_name,
g_strerror (save_errno));
g_free (display_name);
@@ -166,7 +166,7 @@ gdk_pixbuf_animation_new_from_file (const gchar *filename,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("Image file '%s' contains no data"),
+ _("Image file “%s” contains no data"),
display_name);
g_free (display_name);
fclose (f);
@@ -204,7 +204,7 @@ gdk_pixbuf_animation_new_from_file (const gchar *filename,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Failed to load animation '%s': reason not known, probably a corrupt animation file"),
+ _("Failed to load animation “%s”: reason not known, probably a corrupt animation file"),
display_name);
}
@@ -272,7 +272,7 @@ fail_begin_load:
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Failed to load image '%s': reason not known, probably a corrupt image file"),
+ _("Failed to load image “%s”: reason not known, probably a corrupt image file"),
display_name);
}
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index c8dee4d2d..20edeb725 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -787,7 +787,7 @@ gdk_pixbuf_load_module_unlocked (GdkPixbufModule *image_module,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Image-loading module %s does not export the proper interface; perhaps it's from a different gdk-pixbuf version?"),
+ _("Image-loading module %s does not export the proper interface; perhaps it’s from a different gdk-pixbuf version?"),
path);
return FALSE;
}
@@ -796,7 +796,7 @@ gdk_pixbuf_load_module_unlocked (GdkPixbufModule *image_module,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
- _("Image type '%s' is not supported"),
+ _("Image type “%s” is not supported"),
image_module->module_name);
return FALSE;
#endif /* !USE_GMODULE */
@@ -839,7 +839,7 @@ _gdk_pixbuf_get_named_module (const char *name,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
- _("Image type '%s' is not supported"),
+ _("Image type “%s” is not supported"),
name);
return NULL;
@@ -924,7 +924,7 @@ _gdk_pixbuf_get_module (guchar *buffer, guint size,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
- _("Couldn't recognize the image file format for file '%s'"),
+ _("Couldn’t recognize the image file format for file “%s”"),
display_name);
g_free (display_name);
}
@@ -952,7 +952,7 @@ _gdk_pixbuf_get_module_for_file (FILE *f, const gchar *filename, GError **error)
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("Image file '%s' contains no data"),
+ _("Image file “%s” contains no data"),
display_name);
g_free (display_name);
return NULL;
@@ -1067,7 +1067,7 @@ gdk_pixbuf_new_from_file (const char *filename,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
- _("Failed to open file '%s': %s"),
+ _("Failed to open file “%s”: %s"),
display_name,
g_strerror (save_errno));
g_free (display_name);
@@ -1103,7 +1103,7 @@ gdk_pixbuf_new_from_file (const char *filename,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Failed to load image '%s': reason not known, probably a corrupt image file"),
+ _("Failed to load image “%s”: reason not known, probably a corrupt image file"),
display_name);
g_free (display_name);
} else if (error != NULL && *error != NULL) {
@@ -1114,7 +1114,7 @@ gdk_pixbuf_new_from_file (const char *filename,
display_name = g_filename_display_name (filename);
old = e->message;
- e->message = g_strdup_printf (_("Failed to load image '%s': %s"),
+ e->message = g_strdup_printf (_("Failed to load image “%s”: %s"),
display_name,
old);
g_free (old);
@@ -1327,7 +1327,7 @@ gdk_pixbuf_new_from_file_at_scale (const char *filename,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
- _("Failed to open file '%s': %s"),
+ _("Failed to open file “%s”: %s"),
display_name,
g_strerror (save_errno));
g_free (display_name);
@@ -1379,7 +1379,7 @@ gdk_pixbuf_new_from_file_at_scale (const char *filename,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Failed to load image '%s': reason not known, probably a corrupt image file"),
+ _("Failed to load image “%s”: reason not known, probably a corrupt image file"),
display_name);
g_free (display_name);
return NULL;
@@ -2506,7 +2506,7 @@ gdk_pixbuf_savev (GdkPixbuf *pixbuf,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
- _("Failed to open '%s' for writing: %s"),
+ _("Failed to open “%s” for writing: %s"),
display_name,
g_strerror (save_errno));
g_free (display_name);
@@ -2532,7 +2532,7 @@ gdk_pixbuf_savev (GdkPixbuf *pixbuf,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
- _("Failed to close '%s' while writing image, all data may not have been saved: %s"),
+ _("Failed to close “%s” while writing image, all data may not have been saved: %s"),
display_name,
g_strerror (save_errno));
g_free (display_name);
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index 89f46a3e0..aab5303e7 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -379,8 +379,8 @@ gdk_pixbuf_loader_ensure_error (GdkPixbufLoader *loader,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Internal error: Image loader module '%s' failed to"
- " complete an operation, but didn't give a reason for"
+ _("Internal error: Image loader module “%s” failed to"
+ " complete an operation, but didn’t give a reason for"
" the failure"),
priv->image_module->module_name);
}
@@ -421,7 +421,7 @@ gdk_pixbuf_loader_load_module (GdkPixbufLoader *loader,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
- _("Incremental loading of image type '%s' is not supported"),
+ _("Incremental loading of image type “%s” is not supported"),
priv->image_module->module_name);
return 0;
diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c
index 06b0cff2c..996822635 100644
--- a/gdk-pixbuf/io-bmp.c
+++ b/gdk-pixbuf/io-bmp.c
@@ -1415,7 +1415,7 @@ gdk_pixbuf__bmp_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for saving BMP file"));
+ _("Couldn’t allocate memory for saving BMP file"));
return FALSE;
}
@@ -1456,7 +1456,7 @@ save_to_file_cb (const gchar *buf,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Couldn't write to BMP file"));
+ _("Couldn’t write to BMP file"));
return FALSE;
}
diff --git a/gdk-pixbuf/io-gdip-jpeg.c b/gdk-pixbuf/io-gdip-jpeg.c
index 73fa1f19d..3d2103dbc 100644
--- a/gdk-pixbuf/io-gdip-jpeg.c
+++ b/gdk-pixbuf/io-gdip-jpeg.c
@@ -51,7 +51,7 @@ gdk_pixbuf__gdip_image_save_JPEG_to_callback (GdkPixbufSaveFunc save_func,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG quality must be a value between 0 and 100; value '%s' could not be parsed."),
+ _("JPEG quality must be a value between 0 and 100; value “%s” could not be parsed."),
*viter);
return FALSE;
@@ -66,7 +66,7 @@ gdk_pixbuf__gdip_image_save_JPEG_to_callback (GdkPixbufSaveFunc save_func,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG quality must be a value between 0 and 100; value '%d' is not allowed."),
+ _("JPEG quality must be a value between 0 and 100; value “%d” is not allowed."),
(int)quality);
return FALSE;
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;
}
diff --git a/gdk-pixbuf/io-jasper.c b/gdk-pixbuf/io-jasper.c
index d20513831..d3b26bb5e 100644
--- a/gdk-pixbuf/io-jasper.c
+++ b/gdk-pixbuf/io-jasper.c
@@ -70,7 +70,7 @@ jasper_image_begin_load (GdkPixbufModuleSizeFunc size_func,
stream = jas_stream_memopen (NULL, -1);
if (!stream) {
g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for stream"));
+ _("Couldn’t allocate memory for stream"));
return NULL;
}
@@ -121,7 +121,7 @@ jasper_image_try_load (struct jasper_context *context, GError **error)
raw_image = jas_image_decode (context->stream, -1, 0);
if (!raw_image) {
g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("Couldn't decode image"));
+ _("Couldn’t decode image"));
return FALSE;
}
@@ -167,7 +167,7 @@ jasper_image_try_load (struct jasper_context *context, GError **error)
if (!profile) {
jas_image_destroy (raw_image);
g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for color profile"));
+ _("Couldn’t allocate memory for color profile"));
return FALSE;
}
@@ -175,7 +175,7 @@ jasper_image_try_load (struct jasper_context *context, GError **error)
if (!image) {
jas_image_destroy (raw_image);
g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for color profile"));
+ _("Couldn’t allocate memory for color profile"));
return FALSE;
}
} else {
@@ -280,7 +280,7 @@ jasper_image_load_increment (gpointer data, const guchar *buf, guint size, GErro
if (jas_stream_write (context->stream, buf, size) < 0) {
g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory to buffer image data"));
+ _("Couldn’t allocate memory to buffer image data"));
return FALSE;
}
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index 4ab311396..87c705c6c 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -815,7 +815,7 @@ gdk_pixbuf__jpeg_image_begin_load (GdkPixbufModuleSizeFunc size_func,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for loading JPEG file"));
+ _("Couldn’t allocate memory for loading JPEG file"));
return NULL;
}
memset (context->cinfo.src, 0, sizeof (my_source_mgr));
@@ -1136,7 +1136,7 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for loading JPEG file"));
+ _("Couldn’t allocate memory for loading JPEG file"));
retval = FALSE;
goto out;
}
@@ -1377,7 +1377,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG quality must be a value between 0 and 100; value '%s' could not be parsed."),
+ _("JPEG quality must be a value between 0 and 100; value “%s” could not be parsed."),
*viter);
retval = FALSE;
@@ -1393,7 +1393,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG quality must be a value between 0 and 100; value '%d' is not allowed."),
+ _("JPEG quality must be a value between 0 and 100; value “%d” is not allowed."),
quality);
retval = FALSE;
@@ -1414,7 +1414,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG x-dpi must be a value between 1 and 65535; value '%s' is not allowed."),
+ _("JPEG x-dpi must be a value between 1 and 65535; value “%s” is not allowed."),
*viter);
retval = FALSE;
@@ -1435,7 +1435,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("JPEG y-dpi must be a value between 1 and 65535; value '%s' is not allowed."),
+ _("JPEG y-dpi must be a value between 1 and 65535; value “%s” is not allowed."),
*viter);
retval = FALSE;
@@ -1449,7 +1449,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("Color profile has invalid length '%u'."),
+ _("Color profile has invalid length “%u”."),
(guint) icc_profile_size);
retval = FALSE;
goto cleanup;
@@ -1484,7 +1484,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for loading JPEG file"));
+ _("Couldn’t allocate memory for loading JPEG file"));
retval = FALSE;
goto cleanup;
}
@@ -1494,7 +1494,7 @@ real_save_jpeg (GdkPixbuf *pixbuf,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
- _("Couldn't allocate memory for loading JPEG file"));
+ _("Couldn’t allocate memory for loading JPEG file"));
retval = FALSE;
goto cleanup;
}
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index 72bd78a61..6447ea373 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -929,7 +929,7 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("PNG compression level must be a value between 0 and 9; value '%s' could not be parsed."),
+ _("PNG compression level must be a value between 0 and 9; value “%s” could not be parsed."),
*viter);
success = FALSE;
goto cleanup;
@@ -942,7 +942,7 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("PNG compression level must be a value between 0 and 9; value '%d' is not allowed."),
+ _("PNG compression level must be a value between 0 and 9; value “%d” is not allowed."),
compression);
success = FALSE;
goto cleanup;
@@ -961,7 +961,7 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("PNG x-dpi must be greater than zero; value '%s' is not allowed."),
+ _("PNG x-dpi must be greater than zero; value “%s” is not allowed."),
*viter);
success = FALSE;
@@ -981,7 +981,7 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("PNG y-dpi must be greater than zero; value '%s' is not allowed."),
+ _("PNG y-dpi must be greater than zero; value “%s” is not allowed."),
*viter);
success = FALSE;
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c
index c5e4fc475..1332b09cc 100644
--- a/gdk-pixbuf/io-pnm.c
+++ b/gdk-pixbuf/io-pnm.c
@@ -243,7 +243,7 @@ pnm_read_next_value (PnmIOBuffer *inbuf, gint max_length, guint *value, GError *
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("PNM loader expected to find an integer, but didn't"));
+ _("PNM loader expected to find an integer, but didn’t"));
return PNM_FATAL_ERR;
}
*value = result;
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c
index 49fe60eee..c25c28707 100644
--- a/gdk-pixbuf/io-tiff.c
+++ b/gdk-pixbuf/io-tiff.c
@@ -800,7 +800,7 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("TIFF compression doesn't refer to a valid codec."));
+ _("TIFF compression doesn’t refer to a valid codec."));
retval = FALSE;
goto cleanup;
}
@@ -845,7 +845,7 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("TIFF bits-per-sample doesn't contain a supported value."));
+ _("TIFF bits-per-sample doesn’t contain a supported value."));
retval = FALSE;
goto cleanup;
}
@@ -944,7 +944,7 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("TIFF x-dpi must be greater than zero; value '%s' is not allowed."),
+ _("TIFF x-dpi must be greater than zero; value “%s” is not allowed."),
x_dpi);
retval = FALSE;
goto cleanup;
@@ -956,7 +956,7 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_BAD_OPTION,
- _("TIFF y-dpi must be greater than zero; value '%s' is not allowed."),
+ _("TIFF y-dpi must be greater than zero; value “%s” is not allowed."),
y_dpi);
retval = FALSE;
goto cleanup;
@@ -997,7 +997,7 @@ save_to_file_cb (const gchar *buf,
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_FAILED,
- _("Couldn't write to TIFF file"));
+ _("Couldn’t write to TIFF file"));
return FALSE;
}