Commit be4b9495 authored by Sven Neumann's avatar Sven Neumann
Browse files

reuse a translatable message instead of introducing yet another one

parent 9b751c2a
...@@ -996,7 +996,7 @@ copy_file (gchar *source, ...@@ -996,7 +996,7 @@ copy_file (gchar *source,
if (fclose (dfile) == EOF) if (fclose (dfile) == EOF)
{ {
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno), g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Error while closing '%s': %s"), _("Error while writing '%s': %s"),
dest, g_strerror (errno)); dest, g_strerror (errno));
return FALSE; return FALSE;
} }
......
...@@ -996,7 +996,7 @@ copy_file (gchar *source, ...@@ -996,7 +996,7 @@ copy_file (gchar *source,
if (fclose (dfile) == EOF) if (fclose (dfile) == EOF)
{ {
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno), g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Error while closing '%s': %s"), _("Error while writing '%s': %s"),
dest, g_strerror (errno)); dest, g_strerror (errno));
return FALSE; return FALSE;
} }
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment