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:
Mario Limonciello 2017-07-17 10:49:57 -05:00
parent 4851158249
commit e9bcab0f8f

View File

@ -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,