from dataclasses import dataclass from typing import List # NOQA: UP035 from .constants import AI_ROLE_OPTIONS_EN @dataclass class Locale: ai_role_options: List[str] ai_role_prefix: str ai_role_postfix: str title: str language: str lang_code: str donates: str donates1: str donates2: str chat_placeholder: str chat_run_btn: str chat_clear_btn: str chat_save_btn: str speak_btn: str input_kind: str input_kind_1: str input_kind_2: str select_placeholder1: str select_placeholder2: str select_placeholder3: str radio_placeholder: str radio_text1: str radio_text2: str stt_placeholder: str footer_title: str footer_option0: str footer_chat: str footer_channel: str tokens_count: str message_cost: str total_cost: str # --- LOCALE SETTINGS --- en = Locale( ai_role_options=AI_ROLE_OPTIONS_EN, ai_role_prefix="You are a female", ai_role_postfix="Answer as concisely as possible.", title="AMUsebot", language="English", lang_code="en", donates="Donates", donates1="Russia", donates2="World", chat_placeholder="Start Your Conversation With AI:", chat_run_btn="Ask", chat_clear_btn="Clear", chat_save_btn="Save", speak_btn="Push to Speak", input_kind="Input Kind", input_kind_1="Text", input_kind_2="Voice [test mode]", select_placeholder1="Select Model", select_placeholder2="Select Role", select_placeholder3="Create Role", radio_placeholder="Role Interaction", radio_text1="Select", radio_text2="Create", stt_placeholder="To Hear The Voice Of AI Press Play", footer_title="Support & Feedback", footer_option0="Chat", footer_chat="AI Talks Chat", footer_channel="AI Talks Channel", tokens_count="Tokens count: ", message_cost="Message cost: ", total_cost="Total cost of conversation: ", )