Fix reporting of unknown .ifo keys

This commit is contained in:
Přemysl Eric Janouch 2015-02-24 08:38:56 +01:00
parent 2abbe7017f
commit ccfa92ba2a

View File

@ -244,8 +244,7 @@ load_ifo (StardictInfo *sti, const gchar *path, GError **error)
if (i == _stardict_ifo_keys_length)
{
g_set_error (error, STARDICT_ERROR, STARDICT_ERROR_INVALID_DATA,
"%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
g_info ("%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
continue;
}