app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c

2002-06-09  Sven Neumann  <sven@gimp.org>

	* app/undo.c
	* app/config/gimpconfig-deserialize.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpcontainer.c
	* app/core/gimpimagefile.c
	* app/gui/paths-dialog.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpgradienteditor.c: unified translatable strings
	and unmarked a few for translation since they should never be seen.

2002-06-09  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.

	* de.po: updated german translation.
This commit is contained in:
Sven Neumann 2002-06-09 12:53:42 +00:00 committed by Sven Neumann
parent 1718677456
commit fd21daebdf
18 changed files with 368 additions and 475 deletions

View File

@ -1,3 +1,17 @@
2002-06-09 Sven Neumann <sven@gimp.org>
* app/undo.c
* app/config/gimpconfig-deserialize.c
* app/core/gimpbrushpipe.c
* app/core/gimpcontainer.c
* app/core/gimpimagefile.c
* app/gui/paths-dialog.c
* app/tools/gimpcurvestool.c
* app/tools/gimplevelstool.c
* app/widgets/gimpcomponentlistitem.c
* app/widgets/gimpgradienteditor.c: unified translatable strings
and unmarked a few for translation since they should never be seen.
2002-06-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
* plug-ins/common/shift.c (shift_dialog)

View File

@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef __GNUC__
#warning GTK_DISABLE_DEPRECATED
@ -1793,13 +1794,14 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}
if (!curves_read_from_file (f))
{
g_message (("Error in reading file %s"), filename);
g_message (("Error in reading file '%s'."), filename);
return;
}
@ -1811,7 +1813,8 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}

View File

@ -386,9 +386,9 @@ gimp_config_deserialize_fundamental (GValue *value,
g_value_set_boolean (value, FALSE);
else
{
/* don't translate 'yes' and 'no' */
g_scanner_error
(scanner,
/* please don't translate 'yes' and 'no' */
_("expected 'yes' or 'no' for boolean token %s, got '%s'"),
prop_spec->name, scanner->value.v_identifier);
return G_TOKEN_NONE;

View File

@ -19,9 +19,9 @@
#include "config.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -305,7 +305,8 @@ gimp_brush_pipe_load (const gchar *filename)
fd = open (filename, O_RDONLY | _O_BINARY);
if (fd == -1)
{
g_message (_("Could not open file '%s'"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return NULL;
}

View File

@ -19,9 +19,9 @@
#include "config.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -305,7 +305,8 @@ gimp_brush_pipe_load (const gchar *filename)
fd = open (filename, O_RDONLY | _O_BINARY);
if (fd == -1)
{
g_message (_("Could not open file '%s'"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return NULL;
}

View File

@ -38,8 +38,6 @@
#include "config/gimpconfig-deserialize.h"
#include "config/gimpscanner.h"
#include "libgimp/gimpintl.h"
/* #define DEBUG_CONTAINER */
@ -506,7 +504,7 @@ gimp_container_deserialize (GObject *object,
if (! type)
{
g_scanner_error (scanner,
_("unable to determine type of '%s'"),
"unable to determine type of '%s'",
scanner->value.v_identifier);
return FALSE;
}
@ -514,7 +512,7 @@ gimp_container_deserialize (GObject *object,
if (! g_type_is_a (type, container->children_type))
{
g_scanner_error (scanner,
_("'%s' is not a subclass of '%s'"),
"'%s' is not a subclass of '%s'",
scanner->value.v_identifier,
g_type_name (container->children_type));
return FALSE;
@ -523,7 +521,7 @@ gimp_container_deserialize (GObject *object,
if (! g_type_is_a (type, GIMP_TYPE_CONFIG_INTERFACE))
{
g_scanner_error (scanner,
_("'%s' does not implement GimpConfigInterface"),
"'%s' does not implement GimpConfigInterface",
scanner->value.v_identifier);
return FALSE;
}

View File

@ -3577,7 +3577,7 @@ undo_name[] =
{ PARASITE_ATTACH_UNDO, N_("Attach Parasite") },
{ PARASITE_REMOVE_UNDO, N_("Remove Parasite") },
{ CANT_UNDO, N_("EEK: can't undo") }
{ CANT_UNDO, "EEK: can't undo" }
};
static const gchar *

View File

@ -450,13 +450,13 @@ gimp_imagefile_save_fail_thumb (GimpImagefile *imagefile,
TAG_THUMB_SIZE, s_str,
NULL))
{
g_message (_("Couldn't write thumbnail for '%s'\nas '%s'.\n%s"),
g_message (_("Failed to write thumbnail for '%s' as '%s': %s"),
uri, thumb_name, error->message);
g_error_free (error);
}
else if (chmod (thumb_name, 0600))
{
g_message (_("Couldn't set permissions of thumbnail '%s'.\n%s"),
g_message (_("Failed to set permissions of thumbnail '%s': %s"),
thumb_name, g_strerror (errno));
}
@ -660,7 +660,7 @@ gimp_imagefile_get_description (GimpImagefile *imagefile)
break;
case GIMP_IMAGEFILE_STATE_NOT_FOUND:
imagefile->description = _("Could not open image");
imagefile->description = _("Failed to open");
imagefile->static_desc = TRUE;
break;
@ -806,7 +806,7 @@ gimp_imagefile_read_png_thumb (GimpImagefile *imagefile,
if (!pixbuf)
{
g_message (_("Could not open thumbnail\nfile '%s':\n%s"),
g_message (_("Failed to open thumbnail file '%s': %s"),
thumbname, error->message);
goto cleanup;
@ -961,13 +961,13 @@ gimp_imagefile_save_png_thumb (GimpImagefile *imagefile,
if (! success)
{
g_message (_("Couldn't write thumbnail for '%s'\nas '%s'.\n%s"),
g_message (_("Failed to write thumbnail for '%s' as '%s': %s"),
uri, thumb_name, error->message);
g_error_free (error);
}
else if (chmod (thumb_name, 0600))
{
g_message (_("Couldn't set permissions of thumbnail '%s'.\n%s"),
g_message (_("Failed to set permissions of thumbnail '%s': %s"),
thumb_name, g_strerror (errno));
}
@ -1055,7 +1055,7 @@ gimp_imagefile_png_thumb_path (const gchar *uri,
if (! g_file_test (thumb_subdirs[i], G_FILE_TEST_IS_DIR))
{
g_message (_("Couldn't create thumbnail directory '%s'"),
g_message (_("Failed to create thumbnail directory '%s'."),
thumb_subdirs[i]);
return NULL;
}

View File

@ -1883,8 +1883,8 @@ file_ok_callback (GtkWidget *widget,
if(!f)
{
g_message (_("Unable to open file '%s'\nError: %s."),
filename, g_strerror(errno));
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}
@ -1899,7 +1899,7 @@ file_ok_callback (GtkWidget *widget,
if(!fgets(txt,512,f) || strlen(txt) < 7)
{
g_message (_("Failed to read from '%s'"), filename);
g_message (_("Failed to read from '%s'."), filename);
gtk_widget_hide (file_dlg);
return;
}
@ -1914,14 +1914,14 @@ file_ok_callback (GtkWidget *widget,
if(readfields != 4)
{
g_message (_("Failed to read path from '%s'"), filename);
g_message (_("Failed to read path from '%s'."), filename);
gtk_widget_hide (file_dlg);
return;
}
if(val <= 0)
{
g_message (_("No points specified in path file '%s'"), filename);
g_message (_("No points specified in path file '%s'."), filename);
gtk_widget_hide (file_dlg);
return;
}
@ -1932,7 +1932,7 @@ file_ok_callback (GtkWidget *widget,
readfields = fscanf(f,"TYPE: %d X: %lg Y: %lg\n", &type, &x, &y);
if(readfields != 3)
{
g_message (_("Failed to read path points from %s"),
g_message (_("Failed to read path points from '%s'."),
filename);
gtk_widget_hide (file_dlg);
return;
@ -2008,8 +2008,8 @@ file_ok_callback (GtkWidget *widget,
f = fopen(filename, "wb");
if (NULL == f)
{
g_message (_("Opening '%s' failed:\n%s"),
filename, g_strerror(errno));
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}

View File

@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef __GNUC__
#warning GTK_DISABLE_DEPRECATED
@ -1793,13 +1794,14 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}
if (!curves_read_from_file (f))
{
g_message (("Error in reading file %s"), filename);
g_message (("Error in reading file '%s'."), filename);
return;
}
@ -1811,7 +1813,8 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}

View File

@ -1574,13 +1574,14 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}
if (!levels_read_from_file (f))
{
g_message (("Error in reading file %s"), filename);
g_message (("Error in reading file '%s'."), filename);
return;
}
@ -1592,7 +1593,8 @@ file_dialog_ok_callback (GtkWidget *widget,
if (!f)
{
g_message (_("Unable to open file %s"), filename);
g_message (_("Failed to open file: '%s': %s"),
filename, g_strerror (errno));
return;
}

View File

@ -3577,7 +3577,7 @@ undo_name[] =
{ PARASITE_ATTACH_UNDO, N_("Attach Parasite") },
{ PARASITE_REMOVE_UNDO, N_("Remove Parasite") },
{ CANT_UNDO, N_("EEK: can't undo") }
{ CANT_UNDO, "EEK: can't undo" }
};
static const gchar *

View File

@ -423,6 +423,6 @@ gimp_component_list_item_get_name (GtkWidget *widget,
case GIMP_ALPHA_CHANNEL: return g_strdup (_("Alpha")); break;
default:
return g_strdup (_("EEEEK"));
return g_strdup ("EEEEK");
}
}

View File

@ -876,8 +876,7 @@ preview_set_foreground (GimpGradientEditor *editor,
(gint) (color.g * 255.0),
(gint) (color.b * 255.0));
str3 = g_strdup_printf (_("(%0.3f, %0.3f, %0.3f)"),
color.r, color.g, color.b);
str3 = g_strdup_printf ("(%0.3f, %0.3f, %0.3f)", color.r, color.g, color.b);
gradient_editor_set_hint (editor, _("Foreground color set to:"), str2, str3);

View File

@ -386,9 +386,9 @@ gimp_config_deserialize_fundamental (GValue *value,
g_value_set_boolean (value, FALSE);
else
{
/* don't translate 'yes' and 'no' */
g_scanner_error
(scanner,
/* please don't translate 'yes' and 'no' */
_("expected 'yes' or 'no' for boolean token %s, got '%s'"),
prop_spec->name, scanner->value.v_identifier);
return G_TOKEN_NONE;

View File

@ -1,3 +1,9 @@
2002-06-09 Sven Neumann <sven@gimp.org>
* POTFILES.in: updated.
* de.po: updated german translation.
2002-06-08 Gediminas Paulauskas <menesis@delfi.lt>
* lt.po: Added Lithuanian translation from stable branch

View File

@ -19,7 +19,6 @@ app/core/gimp.c
app/core/gimpbrush.c
app/core/gimpbrushpipe.c
app/core/gimpchannel.c
app/core/gimpcontainer.c
app/core/gimpcontext.c
app/core/gimpdatafactory.c
app/core/gimpdrawable.c
@ -99,6 +98,7 @@ app/gui/qmask-commands.c
app/gui/resize-dialog.c
app/gui/resolution-calibrate-dialog.c
app/gui/select-commands.c
app/gui/session.c
app/gui/splash.c
app/gui/tips-dialog.c
app/gui/tips-parser.c

734
po/de.po

File diff suppressed because it is too large Load Diff