app/config/gimpconfig-utils.c use standard file error message strings.

2003-11-14  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-utils.c
	* app/gui/themes.c: use standard file error message
	strings. Removes two more translatable strings.
This commit is contained in:
Michael Natterer
2003-11-14 17:08:51 +00:00
committed by Michael Natterer
parent 1f6695f4f4
commit c6bd27d286
4 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2003-11-14 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfig-utils.c
* app/gui/themes.c: use standard file error message
strings. Removes two more translatable strings.
2003-11-14 Michael Natterer <mitch@gimp.org>
* app/core/gimpbrush.c (gimp_brush_load_brush): fixed order of

View File

@ -469,7 +469,7 @@ gimp_config_file_copy (const gchar *source,
if (sfile == NULL)
{
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot open '%s' for reading: %s"),
_("Could not open '%s' for reading: %s"),
source, g_strerror (errno));
return FALSE;
}
@ -478,7 +478,7 @@ gimp_config_file_copy (const gchar *source,
if (dfile == NULL)
{
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot open '%s' for writing: %s"),
_("Could not open '%s' for writing: %s"),
dest, g_strerror (errno));
fclose (sfile);
return FALSE;

View File

@ -18,6 +18,7 @@
#include "config.h"
#include <errno.h>
#include <stdio.h>
#include <gtk/gtk.h>
@ -185,7 +186,8 @@ themes_apply_theme (Gimp *gimp,
if (! file)
{
g_message ("Can't open themerc");
g_message (_("Could not open '%s' for writing: %s"),
themerc, g_strerror (errno));
goto cleanup;
}

View File

@ -469,7 +469,7 @@ gimp_config_file_copy (const gchar *source,
if (sfile == NULL)
{
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot open '%s' for reading: %s"),
_("Could not open '%s' for reading: %s"),
source, g_strerror (errno));
return FALSE;
}
@ -478,7 +478,7 @@ gimp_config_file_copy (const gchar *source,
if (dfile == NULL)
{
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot open '%s' for writing: %s"),
_("Could not open '%s' for writing: %s"),
dest, g_strerror (errno));
fclose (sfile);
return FALSE;