mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-11 02:41:06 +08:00
Merge pull request #148 from RugerMcCarthy/dev
supports the display of line breaks in Markdown
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { SubmitKey } from "../store/app";
|
||||
import type { LocaleType } from "./index";
|
||||
|
||||
const tw: LocaleType = {
|
||||
@@ -19,7 +20,13 @@ const tw: LocaleType = {
|
||||
Retry: "重試",
|
||||
},
|
||||
Typing: "正在輸入…",
|
||||
Input: (submitKey: string) => `輸入訊息後,按下 ${submitKey} 鍵即可發送`,
|
||||
Input: (submitKey: string) => {
|
||||
var inputHints = `輸入訊息後,按下 ${submitKey} 鍵即可發送`;
|
||||
if (submitKey === String(SubmitKey.Enter)) {
|
||||
inputHints += ", Shift + Enter 鍵換行";
|
||||
}
|
||||
return inputHints;
|
||||
},
|
||||
Send: "發送",
|
||||
},
|
||||
Export: {
|
||||
|
Reference in New Issue
Block a user