mirror of https://github.com/GNOME/gimp.git
marked two error messages as translatable strings.
2007-07-06 Sven Neumann <sven@gimp.org> * app/xcf/xcf-load.c (xcf_load_image): marked two error messages as translatable strings. * libgimpbase/gimputils.c (gimp_any_to_utf8): insert a blank before the text that marks the string as invalid. svn path=/trunk/; revision=22887
This commit is contained in:
parent
2d6662cc95
commit
9ab1cf582a
|
@ -1,3 +1,11 @@
|
|||
2007-07-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/xcf/xcf-load.c (xcf_load_image): marked two error messages
|
||||
as translatable strings.
|
||||
|
||||
* libgimpbase/gimputils.c (gimp_any_to_utf8): insert a blank
|
||||
before the text that marks the string as invalid.
|
||||
|
||||
2007-07-06 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* plug-ins/common/sunras.c: validate size values read from files
|
||||
|
|
|
@ -271,8 +271,8 @@ xcf_load_image (Gimp *gimp,
|
|||
goto hard_error;
|
||||
|
||||
gimp_message (gimp, G_OBJECT (info->progress), GIMP_MESSAGE_WARNING,
|
||||
"XCF: This file is corrupt! I have loaded as much\n"
|
||||
"of it as I can, but it is incomplete.");
|
||||
_("This XCF file is corrupt! I have loaded as much "
|
||||
"of it as I can, but it is incomplete."));
|
||||
|
||||
gimp_image_undo_enable (image);
|
||||
|
||||
|
@ -280,8 +280,8 @@ xcf_load_image (Gimp *gimp,
|
|||
|
||||
hard_error:
|
||||
gimp_message (gimp, G_OBJECT (info->progress), GIMP_MESSAGE_ERROR,
|
||||
"XCF: This file is corrupt! I could not even\n"
|
||||
"salvage any partial image data from it.");
|
||||
_("This XCF file is corrupt! I could not even "
|
||||
"salvage any partial image data from it."));
|
||||
|
||||
g_object_unref (image);
|
||||
|
||||
|
@ -363,7 +363,7 @@ xcf_load_image_props (XcfInfo *info,
|
|||
{
|
||||
gimp_message (info->gimp, G_OBJECT (info->progress),
|
||||
GIMP_MESSAGE_ERROR,
|
||||
"unknown compression type: %d",
|
||||
"Unknown compression type: %d",
|
||||
(int) compression);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -403,7 +403,7 @@ xcf_load_image_props (XcfInfo *info,
|
|||
default:
|
||||
gimp_message (info->gimp, G_OBJECT (info->progress),
|
||||
GIMP_MESSAGE_WARNING,
|
||||
"guide orientation out of range in XCF file");
|
||||
"Guide orientation out of range in XCF file");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -167,7 +167,7 @@ gimp_any_to_utf8 (const gchar *str,
|
|||
gchar *tmp;
|
||||
|
||||
tmp = g_strndup (str, start_invalid - str);
|
||||
utf8 = g_strconcat (tmp, _("(invalid UTF-8 string)"), NULL);
|
||||
utf8 = g_strconcat (tmp, " ", _("(invalid UTF-8 string)"), NULL);
|
||||
g_free (tmp);
|
||||
}
|
||||
else
|
||||
|
@ -394,7 +394,8 @@ gimp_enum_get_desc (GEnumClass *enum_class,
|
|||
|
||||
g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL);
|
||||
|
||||
value_desc = gimp_enum_get_value_descriptions (G_TYPE_FROM_CLASS (enum_class));
|
||||
value_desc =
|
||||
gimp_enum_get_value_descriptions (G_TYPE_FROM_CLASS (enum_class));
|
||||
|
||||
if (value_desc)
|
||||
{
|
||||
|
@ -557,7 +558,8 @@ gimp_flags_get_first_desc (GFlagsClass *flags_class,
|
|||
|
||||
g_return_val_if_fail (G_IS_FLAGS_CLASS (flags_class), NULL);
|
||||
|
||||
value_desc = gimp_flags_get_value_descriptions (G_TYPE_FROM_CLASS (flags_class));
|
||||
value_desc =
|
||||
gimp_flags_get_value_descriptions (G_TYPE_FROM_CLASS (flags_class));
|
||||
|
||||
if (value_desc)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue