improved error message.

2004-07-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved
	error message.
This commit is contained in:
Sven Neumann 2004-07-23 12:19:21 +00:00 committed by Sven Neumann
parent e965603984
commit df0bf0185b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-23 Sven Neumann <sven@gimp.org>
* app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved
error message.
2004-07-23 Sven Neumann <sven@gimp.org>
* libgimpcolor/test-color-parser.c: added more test samples.

View File

@ -269,7 +269,7 @@ gimp_gradient_load_svg (const gchar *filename,
else if (success)
{
g_set_error (error, GIMP_DATA_ERROR, GIMP_DATA_ERROR_READ,
_("No gradients found in '%s'"),
_("No linear gradient found in '%s'"),
gimp_filename_to_utf8 (filename));
}
else if (error && *error) /* parser reported an error */