-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
โจ feat: support translate message to current language (#340)
* ๐ refactor: rename prompts to chains * โป๏ธ refactor: refactor Message Actions * โป๏ธ refactor: add translate action * โจ feat: support translate * โป๏ธ refactor: refactor part of common locale to chat * ๐ style: update i18n
- Loading branch information
Showing
78 changed files
with
1,111 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"agentDefaultMessage": "Hello, I'm **{{name}}**. You can start chatting with me right away or go to [Assistant Settings](/chat/settings#session={{id}}) to improve my information.", | ||
"agentDefaultMessageWithSystemRole": "Hello, I'm **{{name}}**, {{systemRole}}. Let's start the conversation!", | ||
"backToBottom": "Go to Latest Messages", | ||
"clearCurrentMessages": "Clear Current Session Messages", | ||
"confirmClearCurrentMessages": "You are about to clear the current session messages. Once cleared, they cannot be recovered. Please confirm your operation.", | ||
"confirmRemoveSessionItemAlert": "You are about to delete this assistant. Once deleted, it cannot be recovered. Please confirm your operation.", | ||
"defaultAgent": "Custom Assistant", | ||
"defaultSession": "Custom Assistant", | ||
"historyRange": "History Range", | ||
"inbox": { | ||
"defaultMessage": "Hello, I'm your intelligent assistant. You can ask me any questions, and I will do my best to answer you. If you need a more professional or customized assistant, you can click on `+` to create a custom assistant.", | ||
"desc": "Activate brain clusters and spark thinking. Your intelligent assistant is here to communicate with you about everything.", | ||
"title": "Chat Randomly" | ||
}, | ||
"newAgent": "Create New Assistant", | ||
"noDescription": "No description available", | ||
"regenerate": "Regenerate", | ||
"roleAndArchive": "Roles and Archives", | ||
"searchAgentPlaceholder": "Search assistants and conversations...", | ||
"send": "Send", | ||
"sendPlaceholder": "Enter chat content...", | ||
"shareModal": { | ||
"download": "Download Screenshot", | ||
"imageType": "Image Format", | ||
"screenshot": "Screenshot", | ||
"settings": "Export Settings", | ||
"shareToShareGPT": "Generate ShareGPT Sharing Link", | ||
"withBackground": "Include Background Image", | ||
"withFooter": "Include Footer", | ||
"withPluginInfo": "Include Plugin Information", | ||
"withSystemRole": "Include Assistant Role Setting" | ||
}, | ||
"stop": "Stop", | ||
"temp": "Temporary", | ||
"tokenDetail": "Role Setting: {{systemRoleToken}} ยท Chat History: {{chatsToken}}", | ||
"tokenTag": { | ||
"overload": "Exceeded Limit", | ||
"remained": "Remaining", | ||
"used": "Used" | ||
}, | ||
"topic": { | ||
"confirmRemoveTopic": "You are about to delete this topic. Once deleted, it cannot be recovered. Please proceed with caution.", | ||
"defaultTitle": "Default Topic", | ||
"saveCurrentMessages": "Save Current Session as Topic", | ||
"searchPlaceholder": "Search topics...", | ||
"title": "Topic" | ||
}, | ||
"translate": { | ||
"clear": "Clear Translation" | ||
}, | ||
"translateTo": "Translate", | ||
"updateAgent": "Update Assistant Information", | ||
"warp": "Line Break" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"agentDefaultMessage": "ใใใซใกใฏใ็งใฏ **{{name}}** ใงใใใใใซไผ่ฉฑใๅงใใใใจใใงใใพใใใ[ใจใผใธใงใณใ่จญๅฎ](/chat/settings#session={{id}}) ใซ็งปๅใใฆ็งใฎๆ ๅ ฑใๅ ๅฎใใใใใจใใงใใพใใ", | ||
"agentDefaultMessageWithSystemRole": "ใใใซใกใฏใ็งใฏ **{{name}}** ใงใใ{{systemRole}}ใใใใไผ่ฉฑใๅงใใพใใใ๏ผ", | ||
"backToBottom": "ๆๆฐใฎใกใใปใผใธใ่กจ็คบ", | ||
"clearCurrentMessages": "็พๅจใฎไผ่ฉฑใกใใปใผใธใใฏใชใข", | ||
"confirmClearCurrentMessages": "็พๅจใฎไผ่ฉฑใกใใปใผใธใใฏใชใขใใพใใใฏใชใขๅพใฏๅ ใซๆปใใใจใฏใงใใพใใใฎใงใๆไฝใ็ขบ่ชใใฆใใ ใใ", | ||
"confirmRemoveSessionItemAlert": "ใใฎใจใผใธใงใณใใๅ้คใใพใใๅ้คๅพใฏๅ ใซๆปใใใจใฏใงใใพใใใฎใงใๆไฝใ็ขบ่ชใใฆใใ ใใ", | ||
"defaultAgent": "ใใใฉใซใใจใผใธใงใณใ", | ||
"defaultSession": "ใใใฉใซใใจใผใธใงใณใ", | ||
"historyRange": "ๅฑฅๆญด็ฏๅฒ", | ||
"inbox": { | ||
"defaultMessage": "ใใใซใกใฏใ็งใฏใใชใใฎใคใณใใชใธใงใณใใขใทในใฟใณใใงใใไฝใงใ่ณชๅใใฆใใ ใใใใงใใ้ใใ็ญใใใพใใใใๅฐ้็ใพใใฏใซในใฟใใคใบใใใใขใทในใฟใณใใๅฟ ่ฆใชๅ ดๅใฏใ`+` ใใฏใชใใฏใใฆใซในใฟใ ใจใผใธใงใณใใไฝๆใงใใพใ", | ||
"desc": "ใใฌใคใณใฏใฉในใฟใ่ตทๅใใๆ่ใฎ็ซ่ฑใๅผใ่ตทใใใพใใใใชใใฎใคใณใใชใธใงใณใใขใทในใฟใณใใฏใใใใงใใชใใจใในใฆใ่ฉฑใใพใ", | ||
"title": "ใกใใฃใจใใใในใใใพใใใ" | ||
}, | ||
"newAgent": "ๆฐใใใจใผใธใงใณใใไฝๆ", | ||
"noDescription": "่ชฌๆใฏใใใพใใ", | ||
"regenerate": "ๅ็ๆ", | ||
"roleAndArchive": "ๅฝนๅฒใจใขใผใซใคใ", | ||
"searchAgentPlaceholder": "ใจใผใธใงใณใใจไผ่ฉฑใๆค็ดข...", | ||
"send": "้ไฟก", | ||
"sendPlaceholder": "ใใฃใใๅ ๅฎนใๅ ฅๅ...", | ||
"shareModal": { | ||
"download": "ในใฏใชใผใณใทใงใใใใใฆใณใญใผใ", | ||
"imageType": "็ปๅๅฝขๅผ", | ||
"screenshot": "ในใฏใชใผใณใทใงใใ", | ||
"settings": "ใจใฏในใใผใ่จญๅฎ", | ||
"shareToShareGPT": "ShareGPTๅ ฑๆใชใณใฏใ็ๆ", | ||
"withBackground": "่ๆฏ็ปๅใๅซใ", | ||
"withFooter": "ใใใฟใผใๅซใ", | ||
"withPluginInfo": "ใใฉใฐใคใณๆ ๅ ฑใๅซใ", | ||
"withSystemRole": "ใจใผใธใงใณใใฎๅฝนๅฒ่จญๅฎใๅซใ" | ||
}, | ||
"stop": "ๅๆญข", | ||
"temp": "ไธๆ", | ||
"tokenDetail": "ๅฝนๅฒ่จญๅฎ: {{systemRoleToken}} ยท ใใฃใใๅฑฅๆญด: {{chatsToken}}", | ||
"tokenTag": { | ||
"overload": "ๅถ้ใ่ถ ใใฆใใพใ", | ||
"remained": "ๆฎใ", | ||
"used": "ไฝฟ็จๆธใฟ" | ||
}, | ||
"topic": { | ||
"confirmRemoveTopic": "ใใฎใใใใฏใๅ้คใใพใใๅ้คๅพใฏๅ ใซๆปใใใจใฏใงใใพใใใฎใงใๆณจๆใใฆๆไฝใใฆใใ ใใ", | ||
"defaultTitle": "ใใใฉใซใใใใใฏ", | ||
"saveCurrentMessages": "็พๅจใฎไผ่ฉฑใใใใใฏใจใใฆไฟๅญ", | ||
"searchPlaceholder": "ใใใใฏใๆค็ดข...", | ||
"title": "ใใใใฏ" | ||
}, | ||
"translate": { | ||
"clear": "็ฟป่จณใใฏใชใข" | ||
}, | ||
"translateTo": "็ฟป่จณ", | ||
"updateAgent": "ใจใผใธใงใณใๆ ๅ ฑใๆดๆฐ", | ||
"warp": "ๆน่ก" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"agentDefaultMessage": "์๋ ํ์ธ์, ์ ๋ **{{name}}**์ ๋๋ค. ๋ฐ๋ก ๋ํ๋ฅผ ์์ํ๊ฑฐ๋ [๋์ฐ๋ฏธ ์ค์ ](/chat/settings#session={{id}})์ผ๋ก ์ด๋ํ์ฌ ์ ์ ๋ณด๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.", | ||
"agentDefaultMessageWithSystemRole": "์๋ ํ์ธ์, ์ ๋ **{{name}}**์ ๋๋ค. {{systemRole}}์ ๋๋ค. ๋ํ๋ฅผ ์์ํด๋ณด์ธ์!", | ||
"backToBottom": "์ต์ ๋ฉ์์ง ๋ณด๊ธฐ", | ||
"clearCurrentMessages": "ํ์ฌ ๋ํ ์ง์ฐ๊ธฐ", | ||
"confirmClearCurrentMessages": "ํ์ฌ ๋ํ๋ฅผ ์ง์ฐ์๊ฒ ์ต๋๊น? ์ง์ฐ๋ฉด ๋ณต๊ตฌํ ์ ์์ต๋๋ค. ์์ ์ ํ์ธํ์ธ์.", | ||
"confirmRemoveSessionItemAlert": "๋์ฐ๋ฏธ๋ฅผ ์ญ์ ํ์๊ฒ ์ต๋๊น? ์ญ์ ํ๋ฉด ๋ณต๊ตฌํ ์ ์์ต๋๋ค. ์์ ์ ํ์ธํ์ธ์.", | ||
"defaultAgent": "์ฌ์ฉ์ ์ ์ ๋์ฐ๋ฏธ", | ||
"defaultSession": "์ฌ์ฉ์ ์ ์ ๋์ฐ๋ฏธ", | ||
"historyRange": "๊ธฐ๋ก ๋ฒ์", | ||
"inbox": { | ||
"defaultMessage": "์๋ ํ์ธ์, ์ ๋ ์ฌ๋ฌ๋ถ์ ์ธ๊ณต์ง๋ฅ ๋์ฐ๋ฏธ์ ๋๋ค. ๊ถ๊ธํ ์ ์ด ์์ผ๋ฉด ๋ฌผ์ด๋ณด์ธ์. ๋ ์ ๋ฌธ์ ์ด๊ฑฐ๋ ๋ง์ถคํ๋ ๋์ฐ๋ฏธ๊ฐ ํ์ํ๋ค๋ฉด `+`๋ฅผ ํด๋ฆญํ์ฌ ์ฌ์ฉ์ ์ ์ ๋์ฐ๋ฏธ๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.", | ||
"desc": "๋ ํด๋ฌ์คํฐ๋ฅผ ํ์ฑํํ์ฌ ์ฐฝ์์ ์ธ ์๊ฐ์ ์ด๋์ด๋ด๋ ์ธ๊ณต์ง๋ฅ ๋์ฐ๋ฏธ์ ๋๋ค. ๋ชจ๋ ๊ฒ์ ๋ํด ์ฌ๊ธฐ์์ ๋ํํ์ธ์.", | ||
"title": "์ก๋ดํ๊ธฐ" | ||
}, | ||
"newAgent": "์ ๋์ฐ๋ฏธ ๋ง๋ค๊ธฐ", | ||
"noDescription": "์ค๋ช ์์", | ||
"regenerate": "์ฌ์์ฑ", | ||
"roleAndArchive": "์ญํ ๋ฐ ์์นด์ด๋ธ", | ||
"searchAgentPlaceholder": "๋์ฐ๋ฏธ ๋ฐ ๋ํ ๊ฒ์...", | ||
"send": "๋ณด๋ด๊ธฐ", | ||
"sendPlaceholder": "๋ํ ๋ด์ฉ ์ ๋ ฅ...", | ||
"shareModal": { | ||
"download": "์คํฌ๋ฆฐ์ท ๋ค์ด๋ก๋", | ||
"imageType": "์ด๋ฏธ์ง ํ์", | ||
"screenshot": "์คํฌ๋ฆฐ์ท", | ||
"settings": "๋ด๋ณด๋ด๊ธฐ ์ค์ ", | ||
"shareToShareGPT": "ShareGPT ๊ณต์ ๋งํฌ ์์ฑ", | ||
"withBackground": "๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง ํฌํจ", | ||
"withFooter": "ํธํฐ ํฌํจ", | ||
"withPluginInfo": "ํ๋ฌ๊ทธ์ธ ์ ๋ณด ํฌํจ", | ||
"withSystemRole": "๋์ฐ๋ฏธ ์ญํ ํฌํจ" | ||
}, | ||
"stop": "์ ์ง", | ||
"temp": "์์", | ||
"tokenDetail": "์ญํ ์ค์ : {{systemRoleToken}} ยท ๋ํ ๊ธฐ๋ก: {{chatsToken}}", | ||
"tokenTag": { | ||
"overload": "ํ๋ ์ด๊ณผ", | ||
"remained": "๋จ์", | ||
"used": "์ฌ์ฉ" | ||
}, | ||
"topic": { | ||
"confirmRemoveTopic": "ํด๋น ์ฃผ์ ๋ฅผ ์ญ์ ํ์๊ฒ ์ต๋๊น? ์ญ์ ํ๋ฉด ๋ณต๊ตฌํ ์ ์์ต๋๋ค. ์ ์คํ๊ฒ ์์ ํ์ธ์.", | ||
"defaultTitle": "๊ธฐ๋ณธ ์ฃผ์ ", | ||
"saveCurrentMessages": "ํ์ฌ ๋ํ๋ฅผ ์ฃผ์ ๋ก ์ ์ฅ", | ||
"searchPlaceholder": "์ฃผ์ ๊ฒ์...", | ||
"title": "์ฃผ์ " | ||
}, | ||
"translate": { | ||
"clear": "๋ฒ์ญ ์ง์ฐ๊ธฐ" | ||
}, | ||
"translateTo": "๋ฒ์ญ", | ||
"updateAgent": "๋์ฐ๋ฏธ ์ ๋ณด ์ ๋ฐ์ดํธ", | ||
"warp": "์ค๋ฐ๊ฟ" | ||
} |
Oops, something went wrong.