mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +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:
|
||||
_lang_trad = translation[lang]
|
||||
if text in _lang_trad: return _lang_trad[text]
|
||||
else:
|
||||
print(f"no translation for : \"{text}\"")
|
||||
return text
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue