oops
took changes from another branch, this should yeet
This commit is contained in:
@@ -44,7 +44,7 @@ def load_translations() -> None:
|
||||
print("Default translation file 'en_US.json' not found.")
|
||||
|
||||
def t(phrase: str, *args, **kwargs) -> str:
|
||||
output: str = dictionary.get(phrase, None)
|
||||
output: str = dictionary.get(phrase)
|
||||
if output is None:
|
||||
if verbose:
|
||||
print('Warning: Unknown phrase: ' + phrase)
|
||||
|
||||
Reference in New Issue
Block a user