This commit is contained in:
Wakler-Wei W 2024-09-14 07:54:06 +00:00
parent d07e7b0731
commit 224d59cece
2 changed files with 11 additions and 13 deletions

View File

@ -179,9 +179,8 @@ export function SideBarHeader(props: {
</div>
<div className={styles["sidebar-logo"] + " no-dark"}>
<ChatGptIcon />
</div>
<div className={styles["sidebar-logo"] + " no-dark"}>{logo}</div>
{/* <div className={styles["sidebar-logo"] + " no-dark"}>{logo}</div> */}
</div>
{children}
</Fragment>
@ -308,7 +307,7 @@ export function SideBar(props: { className?: string }) {
/>
</Link>
</div>
<div className={styles["sidebar-action"]}>
{/* <div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank" rel="noopener noreferrer">
<IconButton
aria={Locale.Export.MessageFromChatGPT}
@ -316,11 +315,10 @@ export function SideBar(props: { className?: string }) {
shadow
/>
</a>
</div>
</div> */}
</>
}
secondaryAction={
<IconButton
icon={<AddIcon />}
text={shouldNarrow ? undefined : Locale.Home.NewChat}

View File

@ -181,14 +181,14 @@ const cn = {
SubTitle: "用户最新的一条消息会填充到此模板",
},
Update: {
Version: (x: string) => `当前版本:${x}`,
IsLatest: "已是最新版本",
CheckUpdate: "检查更新",
IsChecking: "正在检查更新...",
FoundUpdate: (x: string) => `发现新版本:${x}`,
GoToUpdate: "前往更新",
},
// Update: {
// Version: (x: string) => `当前版本:${x}`,
// IsLatest: "已是最新版本",
// CheckUpdate: "检查更新",
// IsChecking: "正在检查更新...",
// FoundUpdate: (x: string) => `发现新版本:${x}`,
// GoToUpdate: "前往更新",
// },
SendKey: "发送键",
Theme: "主题",
TightBorder: "无边框模式",