diff --git a/app/components/button.tsx b/app/components/button.tsx
index c6039acc292..87b4abd30f9 100644
--- a/app/components/button.tsx
+++ b/app/components/button.tsx
@@ -18,6 +18,7 @@ export function IconButton(props: {
tabIndex?: number;
autoFocus?: boolean;
style?: CSSProperties;
+ aria?: string;
}) {
return (
);
diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index e4ba869c3bf..b18c86708a7 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -1337,6 +1337,8 @@ function _Chat() {
}
bordered
+ title={Locale.Chat.EditMessage.Title}
+ aria={Locale.Chat.EditMessage.Title}
onClick={() => setIsEditingMessage(true)}
/>
@@ -1356,6 +1358,8 @@ function _Chat() {
: }
bordered
+ title={Locale.Chat.Actions.FullScreen}
+ aria={Locale.Chat.Actions.FullScreen}
onClick={() => {
config.update(
(config) => (config.tightBorder = !config.tightBorder),
@@ -1407,6 +1411,7 @@ function _Chat() {
}
+ aria={Locale.Chat.Actions.Edit}
onClick={async () => {
const newMessage = await showPrompt(
Locale.Chat.Actions.Edit,
diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx
index d8def056e52..4ec0f8c84f5 100644
--- a/app/components/sidebar.tsx
+++ b/app/components/sidebar.tsx
@@ -297,12 +297,20 @@ export function SideBar(props: { className?: string }) {
- } shadow />
+ }
+ shadow
+ />
>
diff --git a/app/locales/cn.ts b/app/locales/cn.ts
index 4f47403abe2..4db555422c9 100644
--- a/app/locales/cn.ts
+++ b/app/locales/cn.ts
@@ -42,6 +42,7 @@ const cn = {
PinToastAction: "查看",
Delete: "删除",
Edit: "编辑",
+ FullScreen: "全屏",
},
Commands: {
new: "新建聊天",