# ling-space/i1n/tab_chat.py ui_translations = { # Tab Name (used in app.py) "chat_tab_title": { "en": "Chat", "zh": "文本聊天" }, # Components "chat_new_chat_button": { "en": "➕ New Chat", "zh": "➕ 新对话" }, "chat_history_dataframe_header": { "en": "History", "zh": "对话记录" }, "chat_history_summary_header": { "en": "Summary", "zh": "内容摘要" }, "chat_chatbot_placeholder": { "en": "Enter message...", "zh": "输入消息..." }, "chat_textbox_placeholder": { "en": "Enter message...", "zh": "输入消息..." }, "chat_submit_button": { "en": "Send", "zh": "发送" }, "chat_recommended_dialogues_title": { "en": "### Recommended Dialogues", "zh": "### 推荐对话" }, "chat_recommended_dataset_label": { "en": "Recommended Scenarios", "zh": "推荐场景" }, "chat_recommended_dataset_header": { "en": "Try a scenario", "zh": "选择一个场景试试" }, "chat_system_prompt_label": { "en": "System Prompt", "zh": "系统提示词" }, "chat_system_prompt_placeholder": { "en": "Enter system prompt...", "zh": "输入系统提示词..." }, "chat_temperature_slider_label": { "en": "Temperature", "zh": "温度参数" }, # Logic-related text "chat_new_conversation_title": { "en": "(New Conversation)", "zh": "(新对话)" } } # Prompt fragments can be added here later if needed prompt_fragments = {}