diff --git a/modules/globalvars.py b/modules/globalvars.py index 1226cc3..9431950 100644 --- a/modules/globalvars.py +++ b/modules/globalvars.py @@ -40,5 +40,5 @@ latest_version = "0.0.0" local_version = "2.0.1" os.environ['gooberlocal_version'] = local_version REACT = os.getenv("REACT") -beta = False # this makes goober think its a beta version, so it will not update to the latest stable version or run any version checks +beta = True # this makes goober think its a beta version, so it will not update to the latest stable version or run any version checks \ No newline at end of file diff --git a/modules/volta/main.py b/modules/volta/main.py index a90ec53..53f1224 100644 --- a/modules/volta/main.py +++ b/modules/volta/main.py @@ -130,6 +130,9 @@ def get_translation(lang: str, key: str): lang_translations = translations.get(lang, {}) if key in lang_translations: return lang_translations[key] + else: + if key not in translations.get("en", {}): + return f"[VOLTA] {RED}Missing key: '{key}' in en.json!{RESET}" fallback = translations.get("en", {}).get(key, key) print(f"[VOLTA] {RED}Missing key: '{key}' in language '{lang}', falling back to: '{fallback}'{RESET}") # yeah probably print this return fallback