mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 19:28:25 +02:00
not translated line will be printed
This commit is contained in:
parent
460fe028ea
commit
db56ce2306
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ def translate(self, text, lang = None):
|
||||||
if lang in translation:
|
if lang in translation:
|
||||||
_lang_trad = translation[lang]
|
_lang_trad = translation[lang]
|
||||||
if text in _lang_trad: return _lang_trad[text]
|
if text in _lang_trad: return _lang_trad[text]
|
||||||
|
else:
|
||||||
|
print(f"no translation for : \"{text}\"")
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue