mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 19:26:15 +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':
|
if x == 'hi':
|
||||||
continue
|
continue
|
||||||
yield x
|
yield x
|
||||||
yield "C"
|
yield "en"
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
""" Do the work... """
|
""" Do the work... """
|
||||||
@ -167,7 +167,7 @@ class Rasterizer:
|
|||||||
'directory': self.directory,
|
'directory': self.directory,
|
||||||
'language': lang,
|
'language': lang,
|
||||||
}
|
}
|
||||||
if lang == 'C':
|
if lang == 'en':
|
||||||
string = self.text
|
string = self.text
|
||||||
else:
|
else:
|
||||||
tl = gettext.translation(self.domain, self.modir,
|
tl = gettext.translation(self.domain, self.modir,
|
||||||
|
Loading…
Reference in New Issue
Block a user