From 30e9641b2a40f9d8a541652c79acf18f95b47053 Mon Sep 17 00:00:00 2001 From: josc146 Date: Thu, 27 Apr 2023 23:26:02 +0800 Subject: [PATCH] chore: fix i18n --- src/_locales/en/main.json | 2 +- src/_locales/zh-hans/main.json | 2 +- src/_locales/zh-hant/main.json | 2 +- src/components/InputBox/index.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_locales/en/main.json b/src/_locales/en/main.json index 984a716..add05f4 100644 --- a/src/_locales/en/main.json +++ b/src/_locales/en/main.json @@ -24,7 +24,7 @@ "Append Query": "Append Query", "Prepend Query": "Prepend Query", "Wechat Pay": "Wechat Pay", - "Type your question here\nEnter to send, shift + enter to break line": "Type your question here\nEnter to send, shift + enter to break line", + "Type your question here\nEnter to send, shift + enter to break line": "Type your question here\nEnter to send\nShift + enter to break line", "Wait for the answer to finish and then continue here": "Wait for the answer to finish and then continue here", "Ask ChatGPT": "Ask ChatGPT", "No Input Found": "No Input Found", diff --git a/src/_locales/zh-hans/main.json b/src/_locales/zh-hans/main.json index a0caf2b..428e839 100644 --- a/src/_locales/zh-hans/main.json +++ b/src/_locales/zh-hans/main.json @@ -24,7 +24,7 @@ "Append Query": "挂载到末尾的查询选择器", "Prepend Query": "插入到开头的查询选择器", "Wechat Pay": "微信打赏", - "Type your question here\nEnter to send, shift + enter to break line": "在此输入你的问题\n回车 发送, shift+回车 换行", + "Type your question here\nEnter to send, shift + enter to break line": "在此输入你的问题\n回车 发送\nshift+回车 换行", "Wait for the answer to finish and then continue here": "等待回答完成, 然后在此继续", "Ask ChatGPT": "询问ChatGPT", "No Input Found": "无输入", diff --git a/src/_locales/zh-hant/main.json b/src/_locales/zh-hant/main.json index 5aa4507..5c65e3e 100644 --- a/src/_locales/zh-hant/main.json +++ b/src/_locales/zh-hant/main.json @@ -24,7 +24,7 @@ "Append Query": "附加查詢選擇器", "Prepend Query": "插入查詢選擇器", "Wechat Pay": "微信支付贊助", - "Type your question here\nEnter to send, shift + enter to break line": "在此輸入你的問題\n按Enter傳送,Shift + Enter 換行", + "Type your question here\nEnter to send, shift + enter to break line": "在此輸入你的問題\n按Enter傳送\nShift + Enter 換行", "Wait for the answer to finish and then continue here": "等待回答完成後再在此繼續", "Ask ChatGPT": "詢問ChatGPT", "No Input Found": "找不到輸入", diff --git a/src/components/InputBox/index.jsx b/src/components/InputBox/index.jsx index 6ba578b..80a4399 100644 --- a/src/components/InputBox/index.jsx +++ b/src/components/InputBox/index.jsx @@ -80,7 +80,7 @@ export function InputBox({ onSubmit, enabled, port, reverseResizeDir }) { } placeholder={ enabled - ? t('Type your question here\nEnter to send\nShift + enter to break line') + ? t('Type your question here\nEnter to send, shift + enter to break line') : t('Type your question here\nEnter to stop generating\nShift + enter to break line') } value={value}