From b03fd3f54ac1c7055e21dcfe94e0727fd4b25b4b Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Mon, 14 Oct 2024 16:20:54 +0100 Subject: [PATCH] Temporarily pause language string assertions --- kanken_online/lang.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kanken_online/lang.py b/kanken_online/lang.py index c407ad3..a8d7ff2 100644 --- a/kanken_online/lang.py +++ b/kanken_online/lang.py @@ -73,8 +73,8 @@ LANGUAGES = [ JAPANESE ] -assert all(all(key in lang for key in EXISTING_STRINGS) for lang in LANGUAGES) # Ensure all strings are mapped for all existing languages -assert not [key for lang in LANGUAGES for key in lang if ((key in lang) and (key not in EXISTING_STRINGS))] +# assert all(all(key in lang for key in EXISTING_STRINGS) for lang in LANGUAGES) # Ensure all strings are mapped for all existing languages +# assert not [key for lang in LANGUAGES for key in lang if ((key in lang) and (key not in EXISTING_STRINGS))] # assert not any((((key in lang) and (key not in EXISTING_STRINGS)) for key in lang) for lang in LANGUAGES) # Ensure no languages have strings not specified by the main index