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:

committed by
Michael Natterer

parent
1f6695f4f4
commit
c6bd27d286
@ -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>
|
2003-11-14 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpbrush.c (gimp_brush_load_brush): fixed order of
|
* app/core/gimpbrush.c (gimp_brush_load_brush): fixed order of
|
||||||
|
@ -469,7 +469,7 @@ gimp_config_file_copy (const gchar *source,
|
|||||||
if (sfile == NULL)
|
if (sfile == NULL)
|
||||||
{
|
{
|
||||||
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),
|
||||||
_("Cannot open '%s' for reading: %s"),
|
_("Could not open '%s' for reading: %s"),
|
||||||
source, g_strerror (errno));
|
source, g_strerror (errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@ -478,7 +478,7 @@ gimp_config_file_copy (const gchar *source,
|
|||||||
if (dfile == NULL)
|
if (dfile == NULL)
|
||||||
{
|
{
|
||||||
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),
|
||||||
_("Cannot open '%s' for writing: %s"),
|
_("Could not open '%s' for writing: %s"),
|
||||||
dest, g_strerror (errno));
|
dest, g_strerror (errno));
|
||||||
fclose (sfile);
|
fclose (sfile);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
@ -185,7 +186,8 @@ themes_apply_theme (Gimp *gimp,
|
|||||||
|
|
||||||
if (! file)
|
if (! file)
|
||||||
{
|
{
|
||||||
g_message ("Can't open themerc");
|
g_message (_("Could not open '%s' for writing: %s"),
|
||||||
|
themerc, g_strerror (errno));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -469,7 +469,7 @@ gimp_config_file_copy (const gchar *source,
|
|||||||
if (sfile == NULL)
|
if (sfile == NULL)
|
||||||
{
|
{
|
||||||
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),
|
||||||
_("Cannot open '%s' for reading: %s"),
|
_("Could not open '%s' for reading: %s"),
|
||||||
source, g_strerror (errno));
|
source, g_strerror (errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@ -478,7 +478,7 @@ gimp_config_file_copy (const gchar *source,
|
|||||||
if (dfile == NULL)
|
if (dfile == NULL)
|
||||||
{
|
{
|
||||||
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),
|
||||||
_("Cannot open '%s' for writing: %s"),
|
_("Could not open '%s' for writing: %s"),
|
||||||
dest, g_strerror (errno));
|
dest, g_strerror (errno));
|
||||||
fclose (sfile);
|
fclose (sfile);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user