app: improve palette loading error message

This commit is contained in:
Michael Natterer 2014-07-04 00:14:36 +02:00
parent aab55c34c8
commit 01878cc2e0
1 changed files with 2 additions and 1 deletions

View File

@ -258,7 +258,8 @@ gimp_palette_load_gpl (GimpContext *context,
gchar *msg;
if (my_error)
msg = g_strdup_printf (_("Line %d: %s"), linenum, my_error->message);
msg = g_strdup_printf (_("Error in line %d: %s"), linenum,
my_error->message);
else
msg = g_strdup_printf (_("File is truncated in line %d"), linenum);