mirror of https://gitlab.com/bashrc2/epicyon
Default to english
parent
b2bece502e
commit
bccb79a038
2
theme.py
2
theme.py
|
@ -54,6 +54,8 @@ def _copyThemeHelpFiles(baseDir: str, themeName: str,
|
||||||
systemLanguage: str) -> None:
|
systemLanguage: str) -> None:
|
||||||
"""Copies any theme specific help files from the welcome subdirectory
|
"""Copies any theme specific help files from the welcome subdirectory
|
||||||
"""
|
"""
|
||||||
|
if not systemLanguage:
|
||||||
|
systemLanguage = 'en'
|
||||||
themeDir = baseDir + '/theme/' + themeName + '/welcome'
|
themeDir = baseDir + '/theme/' + themeName + '/welcome'
|
||||||
if not os.path.isdir(themeDir):
|
if not os.path.isdir(themeDir):
|
||||||
themeDir = baseDir + '/defaultwelcome'
|
themeDir = baseDir + '/defaultwelcome'
|
||||||
|
|
Loading…
Reference in New Issue