Update profile_manager.py

This commit is contained in:
Snowykami 2024-03-26 08:35:41 +08:00 committed by GitHub
parent d4a8aa1f87
commit 2eb60b3e1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,11 +110,11 @@ def get_profile_menu(key: str, ulang: Language) -> Optional[str]:
if key in no_menu:
return None
reply = f"{setting_name} {ulang.get('user.profile.settings')}\n***\n"
reply = f"**{setting_name} {ulang.get('user.profile.settings')}**\n***\n"
if key == "lang":
for lang_code, lang_name in get_all_lang().items():
btn_set = md.button(ulang.get('user.profile.set'), f"profile set {key} {lang_code}")
reply += f"\n{btn_set} **{lang_name}** **{lang_code}**\n"
reply += f"\n{btn_set} **{lang_name}** **{lang_code}**\n***\n"
return reply