修改title

This commit is contained in:
jason4chen
2023-04-28 17:15:14 +08:00
parent abd3b982a5
commit b37ca496e8
3 changed files with 10 additions and 7 deletions

View File

@@ -90,9 +90,9 @@ export function SideBar(props: { className?: string }) {
}`}
>
<div className={styles["sidebar-header"]}>
<div className={styles["sidebar-title"]}>Gu GPT</div>
<div className={styles["sidebar-title"]}>Gu&apos;s GPT</div>
<div className={styles["sidebar-sub-title"]}>
Just try your any Question!
便便
</div>
<div className={styles["sidebar-logo"]}>
<ChatGptIcon />
@@ -123,7 +123,10 @@ export function SideBar(props: { className?: string }) {
<IconButton icon={<SettingsIcon />} shadow />
</Link>
</div>
<div className={styles["sidebar-action"]} style={{ visibility: 'hidden' }}>
<div
className={styles["sidebar-action"]}
style={{ visibility: "hidden" }}
>
<a href={REPO_URL} target="_blank">
<IconButton icon={<GithubIcon />} shadow />
</a>

View File

@@ -9,7 +9,7 @@ const cn = {
ChatItemCount: (count: number) => `${count} 条对话`,
},
Chat: {
SubTitle: (count: number) => `ChatGPT 的 ${count} 条对话`,
SubTitle: (count: number) => `与 GPT 的 ${count} 条对话`,
Actions: {
ChatList: "查看消息列表",
CompressedHistory: "查看压缩后的历史 Prompt",
@@ -26,7 +26,7 @@ const cn = {
if (submitKey === String(SubmitKey.Enter)) {
inputHints += "Shift + Enter 换行";
}
return inputHints + "/ 触发补全";
return inputHints;
},
Send: "发送",
},

View File

@@ -16,7 +16,7 @@ export enum Theme {
}
const DEFAULT_CONFIG = {
historyMessageCount: 4,
historyMessageCount: 5,
compressMessageLengthThreshold: 1000,
sendBotMessages: true as boolean,
submitKey: SubmitKey.CtrlEnter as SubmitKey,