diff --git a/modules/transliteration-decoder/index.py b/modules/transliteration-decoder/index.py index 8b291aa..cd955c1 100644 --- a/modules/transliteration-decoder/index.py +++ b/modules/transliteration-decoder/index.py @@ -14,6 +14,7 @@ if self.MESSAGE['text'].split()[0] == "!decode" and (2 <= len(self.MESSAGE['text else: for i in models[chosen_model]: translated_t = translated_t.replace(i[0], i[1]) + translated_t = translated_t.replace(i[0].capitalize(), i[1].capitalize()) translated_t = translated_t.replace(i[0].upper(), i[1].upper()) self.RESPONCE = f"Результат: {translated_t}"