Keldos commited on
Commit
e30b4e3
·
1 Parent(s): d79b4b6

i18n: 完善placeholder的本地化

Browse files
Files changed (3) hide show
  1. locale/en_US.json +6 -0
  2. locale/zh_CN.json +7 -1
  3. modules/presets.py +7 -7
locale/en_US.json CHANGED
@@ -270,6 +270,12 @@
270
  "groq_llama3_70b_description": "LLaMA 3 70B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
271
  "groq_mixtral_8x7b_description": "Mixtral 8x7B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
272
  "groq_gemma_7b_description": "Gemma 7B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
 
273
  "gpt_default_slogan": "How can I help you today?",
274
  "claude_default_slogan": "What can l help you with?",
 
 
 
 
 
275
  }
 
270
  "groq_llama3_70b_description": "LLaMA 3 70B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
271
  "groq_mixtral_8x7b_description": "Mixtral 8x7B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
272
  "groq_gemma_7b_description": "Gemma 7B with [Groq](https://console.groq.com/), the impressively fast language model inferencing service.",
273
+ "chuanhu_description": "An agent that can use multiple tools to solve complex problems.",
274
  "gpt_default_slogan": "How can I help you today?",
275
  "claude_default_slogan": "What can l help you with?",
276
+ "chuanhu_slogan": "What can Chuanhu do for you today?",
277
+ "chuanhu_question_1": "What's the weather in Hangzhou today?",
278
+ "chuanhu_question_2": "Any new releases from Apple?",
279
+ "chuanhu_question_3": "Current prices of graphics cards?",
280
+ "chuanhu_question_4": "Any new trends on TikTok?",
281
  }
locale/zh_CN.json CHANGED
@@ -12,6 +12,12 @@
12
  "groq_llama3_70b_description": "采用 [Groq](https://console.groq.com/) 的 LLaMA 3 70B。Groq 是一个非常快速的语言模型推理服务。",
13
  "groq_mixtral_8x7b_description": "采用 [Groq](https://console.groq.com/) 的 Mixtral 8x7B。Groq 是一个非常快速的语言模型推理服务。",
14
  "groq_gemma_7b_description": "采用 [Groq](https://console.groq.com/) 的 Gemma 7B。Groq 是一个非常快速的语言模型推理服务。",
 
15
  "gpt_default_slogan": "今天能帮您些什么?",
16
- "claude_default_slogan": "What can l help you with?",
 
 
 
 
 
17
  }
 
12
  "groq_llama3_70b_description": "采用 [Groq](https://console.groq.com/) 的 LLaMA 3 70B。Groq 是一个非常快速的语言模型推理服务。",
13
  "groq_mixtral_8x7b_description": "采用 [Groq](https://console.groq.com/) 的 Mixtral 8x7B。Groq 是一个非常快速的语言模型推理服务。",
14
  "groq_gemma_7b_description": "采用 [Groq](https://console.groq.com/) 的 Gemma 7B。Groq 是一个非常快速的语言模型推理服务。",
15
+ "chuanhu_description": "一个能使用多种工具解决复杂问题的智能体。",
16
  "gpt_default_slogan": "今天能帮您些什么?",
17
+ "claude_default_slogan": "我能帮您什么忙?",
18
+ "chuanhu_slogan": "川虎今天能帮你做些什么?",
19
+ "chuanhu_question_1": "今天杭州天气如何?",
20
+ "chuanhu_question_2": "最近 Apple 发布了什么新品?",
21
+ "chuanhu_question_3": "现在显卡的价格如何?",
22
+ "chuanhu_question_4": "TikTok 上有什么新梗?",
23
  }
modules/presets.py CHANGED
@@ -262,15 +262,15 @@ MODEL_METADATA = {
262
  },
263
  "川虎助理": {
264
  "model_name": "川虎助理",
265
- "description": "类似 AutoGPT,全自动解决你的问题",
266
  "placeholder": {
267
  "logo": "file=web_assets/icon/any-icon-512.png",
268
  "logo_rounded": "false",
269
- "slogan": "川虎今天能帮你做些什么?",
270
- "question_1": "今天杭州天气如何?",
271
- "question_2": "最近 Apple 发布了什么新品?",
272
- "question_3": "现在显卡的价格如何?",
273
- "question_4": "TikTok 上有什么新梗?",
274
  }
275
  },
276
  "川虎助理 Pro": {
@@ -280,7 +280,7 @@ MODEL_METADATA = {
280
  "logo": "file=web_assets/icon/any-icon-512.png",
281
  "logo_rounded": "false",
282
  "slogan": "川虎Pro今天能帮你做些什么?",
283
- "question_1": "今天杭州天气如何?",
284
  "question_2": "最近 Apple 发布了什么新品?",
285
  "question_3": "现在显卡的价格如何?",
286
  "question_4": "TikTok 上有什么新梗?",
 
262
  },
263
  "川虎助理": {
264
  "model_name": "川虎助理",
265
+ "description": i18n("chuanhu_description"),
266
  "placeholder": {
267
  "logo": "file=web_assets/icon/any-icon-512.png",
268
  "logo_rounded": "false",
269
+ "slogan": i18n("chuanhu_slogan"),
270
+ "question_1": i18n("chuanhu_question_1"),
271
+ "question_2": i18n("chuanhu_question_2"),
272
+ "question_3": i18n("chuanhu_question_3"),
273
+ "question_4": i18n("chuanhu_question_4"),
274
  }
275
  },
276
  "川虎助理 Pro": {
 
280
  "logo": "file=web_assets/icon/any-icon-512.png",
281
  "logo_rounded": "false",
282
  "slogan": "川虎Pro今天能帮你做些什么?",
283
+ "question_1": "明天杭州天气如何?",
284
  "question_2": "最近 Apple 发布了什么新品?",
285
  "question_3": "现在显卡的价格如何?",
286
  "question_4": "TikTok 上有什么新梗?",