* grub-core/gettext/gettext.c (grub_gettext_init_ext): Ignore errors
if language is English.
This commit is contained in:
parent
090d7c81cf
commit
6cd660435e
@ -1,3 +1,8 @@
|
|||||||
|
2013-11-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/gettext/gettext.c (grub_gettext_init_ext): Ignore errors
|
||||||
|
if language is English.
|
||||||
|
|
||||||
2013-11-03 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/osdep/linux/getroot.c: Fix cast-align problems.
|
* grub-core/osdep/linux/getroot.c: Fix cast-align problems.
|
||||||
|
|||||||
@ -423,6 +423,10 @@ grub_gettext_init_ext (struct grub_gettext_context *ctx,
|
|||||||
|
|
||||||
grub_free (lang);
|
grub_free (lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (locale[0] == 'e' && locale[1] == 'n'
|
||||||
|
&& (locale[2] == '\0' || locale[2] == '_'))
|
||||||
|
grub_errno = err = GRUB_ERR_NONE;
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user