]> git.ipfire.org Git - thirdparty/grub.git/commit
templates: Filter C.UTF-8 locale for translation
authorChristian Hesse <mail@eworm.de>
Mon, 19 Sep 2022 13:31:28 +0000 (15:31 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 4 Oct 2022 14:59:38 +0000 (16:59 +0200)
commitf42266a8a2a4215e4ffe419b8092bdf9ced33e8e
treeb6e0d9875fe7b8214c31569b924fa223a0bd088d
parent8d59cbd64e781173559b77fb53185ab71975fa2f
templates: Filter C.UTF-8 locale for translation

In addition to C locale there is also C.UTF-8 locale now. Filter that as
well, by using ${grub_lang}, which contains a stripped value.
This fixes the following message and resulting boot failure:

    error: file `/boot/grub/locale/C.gmo' not found.

Signed-off-by: Christian Hesse <mail@eworm.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub.d/00_header.in