diff --git a/hikka/modules/help.py b/hikka/modules/help.py
index 1c785bf..18c16d0 100755
--- a/hikka/modules/help.py
+++ b/hikka/modules/help.py
@@ -225,8 +225,8 @@ class HelpMod(loader.Module):
"single_cmd": "\n▫️ {}{}
{}",
"undoc_cmd": "🦥 Hujjatlanmagan",
"all_header": (
- "🌘 {} taqdim etilgan"
- " modullar, {} yashirin:"
+ "🌘 {} Umumiy modullar,"
+ " yashirin {}:"
),
"mod_tmpl": "\n{} {}
",
"first_cmd_tmpl": ": ( {}",
diff --git a/hikka/modules/hikka_config.py b/hikka/modules/hikka_config.py
index e8f2063..6ccfe66 100755
--- a/hikka/modules/hikka_config.py
+++ b/hikka/modules/hikka_config.py
@@ -153,6 +153,17 @@ class HikkaConfigMod(loader.Module):
}
strings_de = {
+ "choose_core": "🎚 Wähle eine Kategorie",
+ "configure": "🎚 Modul zum Konfigurieren auswählen",
+ "configure_lib": "🪴 Wählen Sie eine zu konfigurierende Bibliothek aus",
+ "configuring_mod": (
+ "🎚 Wählen Sie einen Parameter für das Modul aus"
+ " {}
\n\nAktuell Einstellungen:\n\n{}"
+ ),
+ "configuring_lib": (
+ "🪴 Wählen Sie eine Option für die Bibliothek aus"
+ " {}
\n\nAktuell Einstellungen:\n\n{}"
+ ),
"configuring_option": (
"🎚 Option {}
des Moduls {}
"
" konfigurieren\nℹ️ {}\n\nStandard: {}\n\n"
@@ -206,6 +217,17 @@ class HikkaConfigMod(loader.Module):
}
strings_hi = {
+ "choose_core": "🎚 एक श्रेणी चुनें",
+ "configure": "🎚 कॉन्फ़िगर करने के लिए एक मॉड्यूल चुनें",
+ "configure_lib": "🪴 कॉन्फ़िगर करने के लिए लाइब्रेरी का चयन करें",
+ "configuring_mod": (
+ "🎚 मॉड्यूल के लिए एक पैरामीटर चुनें {}
\n\nवर्तमान"
+ " सेटिंग:\n\n{}"
+ ),
+ "configuring_lib": (
+ "🪴 लाइब्रेरी के लिए एक विकल्प चुनें {}
\n\nवर्तमान"
+ " सेटिंग:\n\n{}"
+ ),
"configuring_option": (
"🎚 विकल्प {}
मॉड्यूल {}
"
" कॉन्फ़िगर कर रहा है\nℹ️ {}\n\nडिफ़ॉल्ट: {}\n\n"
@@ -253,6 +275,17 @@ class HikkaConfigMod(loader.Module):
}
strings_uz = {
+ "choose_core": "🎚 Kurum tanlang",
+ "configure": "🎚 Sozlash uchun modulni tanlang",
+ "configure_lib": "🪴 Sozlash uchun kutubxonani tanlang",
+ "configuring_mod": (
+ "🎚 Modul uchun parametrni tanlang {}
\n\nJoriy"
+ " sozlamalar:\n\n{}"
+ ),
+ "configuring_lib": (
+ "🪴 Kutubxona uchun variantni tanlang {}
\n\nHozirgi"
+ " sozlamalar:\n\n{}"
+ ),
"configuring_option": (
"🎚 Modul {}
sozlamasi {}
"
" konfiguratsiya qilinmoqda\nℹ️ {}\n\nDefault:"
@@ -300,6 +333,17 @@ class HikkaConfigMod(loader.Module):
}
strings_tr = {
+ "choose_core": "🎚 Bir kategori seçin",
+ "configure": "🎚 Yapılandırılacak bir modül seçin",
+ "configure_lib": "🪴 Yapılandırılacak bir kitaplık seçin",
+ "configuring_mod": (
+ "🎚 Modül için bir parametre seçin {}
\n\nMevcut"
+ " ayarlar:\n\n{}"
+ ),
+ "configuring_lib": (
+ "🪴 Kitaplık için bir seçenek belirleyin"
+ " {}
\n\nGeçerli ayarlar:\n\n{}"
+ ),
"configuring_option": (
"🎚 Modül {}
seçeneği {}
"
" yapılandırılıyor\nℹ️ {}\n\nVarsayılan: {}\n\n"
diff --git a/hikka/modules/hikka_info.py b/hikka/modules/hikka_info.py
index f391514..6a1803c 100755
--- a/hikka/modules/hikka_info.py
+++ b/hikka/modules/hikka_info.py
@@ -187,12 +187,12 @@ class HikkaInfoMod(loader.Module):
"version": "Versiya",
"build": "Build",
"prefix": "Prefix",
- "uptime": "Uptime",
- "branch": "Branch",
+ "uptime": "Ishlash vaqti",
+ "branch": "Vetkasi",
"send_info": "Bot haqida ma'lumot",
"description": "ℹ Bu shaxsiy ma'lumot emas",
"_ihandle_doc_info": "Bot haqida ma'lumot",
- "up-to-date": "😌 Yangi",
+ "up-to-date": "😌 So'ngi versia",
"update_required": (
"😕 Yangilash"
" kerak .update
"
diff --git a/hikka/modules/loader.py b/hikka/modules/loader.py
index 5d47748..fe52f92 100755
--- a/hikka/modules/loader.py
+++ b/hikka/modules/loader.py
@@ -742,7 +742,7 @@ class LoaderMod(loader.Module):
),
"loaded": (
"🌘 मॉड्यूल"
- " {}
{} लोड किया गया {}{}{}{}{}{}{}{}"
+ " {}
{} लोड किया गया {}{}{}{}{}{}{}"
),
"no_class": "किस वर्ग को अनलोड करने की आवश्यकता है?",
"unloaded": (
diff --git a/hikka/modules/quickstart.py b/hikka/modules/quickstart.py
index 1cd34c9..41cc07c 100644
--- a/hikka/modules/quickstart.py
+++ b/hikka/modules/quickstart.py
@@ -130,7 +130,7 @@ class QuickstartMod(loader.Module):
}
strings_uz = {
- "base": """🌘🇺🇿 Salom. Sizning Hikka foydalanuvchi botingiz o'rnatildi.
+ "base": """🌘🇺🇿 Salom. Sizning Hikka userbotingiz o'rnatildi.
❓ Yordam kerakmi? Bizning qo'llab-quvvatlash chatingizga qo'shiling. Bizga hamma yordam bering.
@@ -149,13 +149,13 @@ class QuickstartMod(loader.Module):
💡 Hikka Friendly-Telegram va GeekTG modullarini hamda o'z modullarini qo'llab-quvvatlaydi.
""",
"okteto": (
- "☁️ Sizning foydalanuvchi botingiz Okteto platformasida o'rnatilgan."
+ "☁️ Sizning userbotingiz Okteto platformasida o'rnatilgan."
" Sizdan @WebpageBotga xabarlar keladi. Uni bloklashmaslik."
),
"railway": (
- "🚂 Sizning foydalanuvchi botingiz Railway platformasida o'rnatilgan."
+ "🚂 Sizning userbotingiz Railway platformasida o'rnatilgan."
" Sizga bu platformada 500 ta bepul soat beriladi. Agar limit o'tgan"
- " bo'lsa, foydalanuvchi botingiz bloklanadi. Keyingi oyda"
+ " bo'lsa, userbotingiz bloklanadi. Keyingi oyda"
" https://railway.app ga o'tib, uni qayta ishga tushiring."
),
"language_saved": "🇺🇿 Til saqlandi!",
diff --git a/hikka/modules/settings.py b/hikka/modules/settings.py
index 07b8bf7..8f177e9 100755
--- a/hikka/modules/settings.py
+++ b/hikka/modules/settings.py
@@ -12,7 +12,7 @@ import telethon
from telethon.tl.types import Message
from telethon.extensions.html import CUSTOM_EMOJIS
-from .. import loader, main, translations, utils, version
+from .. import loader, main, utils, version
from ..inline.types import InlineCall
@@ -252,7 +252,7 @@ class CoreMod(loader.Module):
" {}\n\n⚙️"
" Hikka-TL: {}\n\n⌨️ Entwickler:"
- "t.me/hikariyatama"
+ "t.me/hikariatama"
),
"_cls_doc": "Verwaltung der Grundeinstellungen des Userbots",
"confirm_cleardb": (
@@ -337,7 +337,7 @@ class CoreMod(loader.Module):
" {}\n\n⚙️"
" Hikka-TL: {}\n\n⌨️ Geliştirici:"
- "t.me/hikariyatama"
+ "t.me/hikariatama"
),
"_cls_doc": "Userbot temel ayar yönetimi",
"confirm_cleardb": (
@@ -423,7 +423,7 @@ class CoreMod(loader.Module):
" {}\n\n⚙️"
" हिक्का-टीएल: {}\n\n⌨️ डेवलपर:"
- "t.me/hikariyatama"
+ "t.me/hikariatama"
),
"_cls_doc": "Userbot मूलभूत सेटिंग प्रबंधन",
"confirm_cleardb": "⚠️ क्या आप वाकई डेटाबेस को रीसेट करना चाहते हैं?",
@@ -507,7 +507,7 @@ class CoreMod(loader.Module):
" Yaratish: {}\n\n⚙️ Hikka-TL:"
" {}\n\n⌨️"
- " Ishlab chiquvchi:t.me/hikariyatama"
+ " Ishlab chiquvchi: t.me/hikariatama"
),
"_cls_doc": "Userbot asosiy sozlamalarini boshqarish",
"confirm_cleardb": (
@@ -525,7 +525,7 @@ class CoreMod(loader.Module):
),
"unstable": (
"\n\n🙈 Siz"
- " foydalanmoqdasizbarqaror filial {}
!"
+ " foydalanayotgan versiya {}
!"
),
}
diff --git a/hikka/modules/translations.py b/hikka/modules/translations.py
index c725bc6..855eec7 100644
--- a/hikka/modules/translations.py
+++ b/hikka/modules/translations.py
@@ -242,7 +242,10 @@ class Translations(loader.Module):
await self.translator.init()
for module in self.allmodules.modules:
- module.config_complete(reload_dynamic_translate=True)
+ try:
+ module.config_complete(reload_dynamic_translate=True)
+ except Exception as e:
+ logger.debug("Can't complete dynamic translations reload of %s due to %s", module, e)
fixmap = {"en": "gb", "hi": "in"}