* grub-core/gettext/gettext.c (grub_gettext_init_ext): Ignore errors

if language is English.
This commit is contained in:
Vladimir Serbinenko committed 2013-11-03 05:42:02 +01:00
1 parent 090d7c81cf
commit 6cd660435e
2 files changed
+9

No files matched your search

+4
View File
@@ -423,6 +423,10 @@ grub_gettext_init_ext (struct grub_gettext_context *ctx,
grub_free (lang);
}
if (locale[0] == 'e' && locale[1] == 'n'
&& (locale[2] == '\0' || locale[2] == '_'))
grub_errno = err = GRUB_ERR_NONE;
return err;
}