Files
furrybot/localization.py
2025-10-09 16:39:07 +03:00

10 lines
518 B
Python

def getstr(lang, strname):
# ======== RUSSIAN ========
if lang == "ru" and strname == "test": return "Привет, мир!"
if lang == "ru" and strname == "test2": return "жопа"
if lang == "ru" and strname == "succlang": return "Русский язык был успешно пременён!"
# ======== ENGLISH ========
if lang == "en" and strname == "test": return "Hello, world!"
if lang == "en" and strname == "succlang": return "English language has been successfully applied!"