fix footer locales
This commit is contained in:
parent
5e92c3c8a2
commit
deaa83ab2a
2
chat.py
2
chat.py
@ -82,7 +82,7 @@ if __name__ == "__main__":
|
|||||||
st.markdown("---")
|
st.markdown("---")
|
||||||
selected_footer = option_menu(
|
selected_footer = option_menu(
|
||||||
menu_title=None,
|
menu_title=None,
|
||||||
options=["Info", "Donates", ],
|
options=[st.session_state.locale.footer_option1, st.session_state.locale.footer_option2],
|
||||||
icons=["info-circle", "piggy-bank"],
|
icons=["info-circle", "piggy-bank"],
|
||||||
menu_icon="cast",
|
menu_icon="cast",
|
||||||
default_index=0,
|
default_index=0,
|
||||||
|
@ -21,6 +21,8 @@ class Locale:
|
|||||||
select_placeholder2: str
|
select_placeholder2: str
|
||||||
stt_placeholder: str
|
stt_placeholder: str
|
||||||
footer_title: str
|
footer_title: str
|
||||||
|
footer_option1: str
|
||||||
|
footer_option2: str
|
||||||
footer_chat: str
|
footer_chat: str
|
||||||
footer_channel: str
|
footer_channel: str
|
||||||
|
|
||||||
@ -43,6 +45,8 @@ class EnLocale(Locale):
|
|||||||
select_placeholder2: str = "Select AI Role"
|
select_placeholder2: str = "Select AI Role"
|
||||||
stt_placeholder: str = "To Hear The Voice Of AI, Press Play"
|
stt_placeholder: str = "To Hear The Voice Of AI, Press Play"
|
||||||
footer_title: str = "Support & Feedback"
|
footer_title: str = "Support & Feedback"
|
||||||
|
footer_option1: str = "Info"
|
||||||
|
footer_option2: str = "Donates"
|
||||||
footer_chat: str = "AI Talks Chat"
|
footer_chat: str = "AI Talks Chat"
|
||||||
footer_channel: str = "AI Talks Channel"
|
footer_channel: str = "AI Talks Channel"
|
||||||
|
|
||||||
@ -65,6 +69,8 @@ class RuLocale(Locale):
|
|||||||
select_placeholder2: str = "Выберите Роль ИИ"
|
select_placeholder2: str = "Выберите Роль ИИ"
|
||||||
stt_placeholder: str = "Чтобы Услышать ИИ Нажми Кнопку Проигрывателя"
|
stt_placeholder: str = "Чтобы Услышать ИИ Нажми Кнопку Проигрывателя"
|
||||||
footer_title: str = "Поддержка и Обратная Связь"
|
footer_title: str = "Поддержка и Обратная Связь"
|
||||||
|
footer_option1: str = "Информация"
|
||||||
|
footer_option2: str = "Задонатить"
|
||||||
footer_chat: str = "Чат Разговорчики с ИИ"
|
footer_chat: str = "Чат Разговорчики с ИИ"
|
||||||
footer_channel: str = "Канал Разговорчики с ИИ"
|
footer_channel: str = "Канал Разговорчики с ИИ"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user