mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 01:41:56 +00:00
Default to "en" for UEFI capsule graphics
"C" is not a supported locale code per ISO 639-2 see https://lintian.debian.org/tags/unknown-locale-code.html for more information
This commit is contained in:
parent
4851158249
commit
e9bcab0f8f
@ -72,7 +72,7 @@ class Rasterizer:
|
||||
if x == 'hi':
|
||||
continue
|
||||
yield x
|
||||
yield "C"
|
||||
yield "en"
|
||||
|
||||
def render(self):
|
||||
""" Do the work... """
|
||||
@ -167,7 +167,7 @@ class Rasterizer:
|
||||
'directory': self.directory,
|
||||
'language': lang,
|
||||
}
|
||||
if lang == 'C':
|
||||
if lang == 'en':
|
||||
string = self.text
|
||||
else:
|
||||
tl = gettext.translation(self.domain, self.modir,
|
||||
|
Loading…
Reference in New Issue
Block a user