Merge pull request #517 from xnox/gettext-fallback
Allow starting subiquity/console-conf without translations.
This commit is contained in:
commit
d64c634b21
|
@ -39,7 +39,7 @@ def switch_language(code='en_US'):
|
|||
return message
|
||||
elif code:
|
||||
translation = gettext.translation('subiquity', localedir=localedir,
|
||||
languages=[code])
|
||||
languages=[code], fallback=True)
|
||||
|
||||
def my_gettext(message):
|
||||
if not message:
|
||||
|
|
Loading…
Reference in New Issue