diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx
index 4a84969..e7a35b8 100644
--- a/app/components/markdown.tsx
+++ b/app/components/markdown.tsx
@@ -115,6 +115,7 @@ function _MarkDownContent(props: { content: string }) {
]}
components={{
pre: PreCode,
+ p: (pProps) =>
,
a: (aProps) => {
const href = aProps.href || "";
const isInternal = /^\/#/i.test(href);
@@ -150,7 +151,6 @@ export function Markdown(
ref={mdRef}
onContextMenu={props.onContextMenu}
onDoubleClickCapture={props.onDoubleClickCapture}
- dir="auto"
>
{props.loading ? (
diff --git a/app/locales/tw.ts b/app/locales/tw.ts
index 45c3caa..ad1ee0b 100644
--- a/app/locales/tw.ts
+++ b/app/locales/tw.ts
@@ -20,7 +20,7 @@ const tw: PartialLocaleType = {
Retry: "重試",
Delete: "刪除",
},
- Rename: "重命名對話",
+ Rename: "重新命名對話",
Typing: "正在輸入…",
Input: (submitKey: string) => {
var inputHints = `輸入訊息後,按下 ${submitKey} 鍵即可發送`;
@@ -31,8 +31,8 @@ const tw: PartialLocaleType = {
},
Send: "發送",
Config: {
- Reset: "重置默认",
- SaveAs: "另存为面具",
+ Reset: "重置預設",
+ SaveAs: "另存新檔",
},
},
Export: {
@@ -62,7 +62,7 @@ const tw: PartialLocaleType = {
Lang: {
Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
- All: "所有语言",
+ All: "所有語言",
},
Avatar: "大頭貼",
FontSize: {
@@ -70,7 +70,7 @@ const tw: PartialLocaleType = {
SubTitle: "聊天內容的字型大小",
},
InjectSystemPrompts: {
- Title: "注入系統提示",
+ Title: "匯入系統提示",
SubTitle: "強制在每個請求的訊息列表開頭添加一個模擬 ChatGPT 的系統提示",
},
Update: {
@@ -86,12 +86,12 @@ const tw: PartialLocaleType = {
TightBorder: "緊湊邊框",
SendPreviewBubble: {
Title: "預覽氣泡",
- SubTitle: "在预览气泡中预览 Markdown 内容",
+ SubTitle: "在預覽氣泡中預覽 Markdown 内容",
},
Mask: {
Splash: {
- Title: "面具启动页",
- SubTitle: "新建聊天时,展示面具启动页",
+ Title: "面具啟動頁面",
+ SubTitle: "新增聊天時,呈現面具啟動頁面",
},
},
Prompt: {
@@ -109,7 +109,7 @@ const tw: PartialLocaleType = {
Search: "搜尋提示詞",
},
EditModal: {
- Title: "编辑提示词",
+ Title: "編輯提示詞",
},
},
HistoryCount: {
@@ -179,53 +179,53 @@ const tw: PartialLocaleType = {
Edit: "前置上下文和歷史記憶",
Add: "新增一條",
},
- Plugin: { Name: "插件" },
+ Plugin: { Name: "外掛" },
Mask: {
Name: "面具",
Page: {
- Title: "预设角色面具",
- SubTitle: (count: number) => `${count} 个预设角色定义`,
- Search: "搜索角色面具",
- Create: "新建",
+ Title: "預設角色面具",
+ SubTitle: (count: number) => `${count} 個預設角色定義`,
+ Search: "搜尋角色面具",
+ Create: "新增",
},
Item: {
- Info: (count: number) => `包含 ${count} 条预设对话`,
- Chat: "对话",
+ Info: (count: number) => `包含 ${count} 條預設對話`,
+ Chat: "對話",
View: "查看",
- Edit: "编辑",
+ Edit: "編輯",
Delete: "删除",
- DeleteConfirm: "确认删除?",
+ DeleteConfirm: "確認删除?",
},
EditModal: {
Title: (readonly: boolean) =>
- `编辑预设面具 ${readonly ? "(只读)" : ""}`,
- Download: "下载预设",
- Clone: "克隆预设",
+ `編輯預設面具 ${readonly ? "(只读)" : ""}`,
+ Download: "下載預設",
+ Clone: "克隆預設",
},
Config: {
- Avatar: "角色头像",
- Name: "角色名称",
+ Avatar: "角色頭像",
+ Name: "角色名稱",
},
},
NewChat: {
Return: "返回",
- Skip: "跳过",
- Title: "挑选一个面具",
- SubTitle: "现在开始,与面具背后的灵魂思维碰撞",
- More: "搜索更多",
- NotShow: "不再展示",
- ConfirmNoShow: "确认禁用?禁用后可以随时在设置中重新启用。",
+ Skip: "跳過",
+ Title: "挑選一個面具",
+ SubTitle: "現在開始,與面具背後的靈魂思維碰撞",
+ More: "搜尋更多",
+ NotShow: "不再呈現",
+ ConfirmNoShow: "確認禁用?禁用後可以随時在設定中重新啟用。",
},
UI: {
- Confirm: "确认",
+ Confirm: "確認",
Cancel: "取消",
- Close: "关闭",
- Create: "新建",
- Edit: "编辑",
+ Close: "關閉",
+ Create: "新增",
+ Edit: "編輯",
},
Exporter: {
Model: "模型",
- Messages: "消息",
+ Messages: "訊息",
Topic: "主題",
Time: "時間",
},
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 2ec2c1a..b09715c 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -9,7 +9,7 @@
},
"package": {
"productName": "ChatGPT Next Web",
- "version": "2.9.3"
+ "version": "2.9.4"
},
"tauri": {
"allowlist": {