Skip to content

Commit 2099703

Browse files
committed
refactor: use English for paste image warning
1 parent e9786c5 commit 2099703

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,9 +654,7 @@ export const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
654654
const newImages = imageSrcs.slice(0, availableSlots)
655655
if (imageSrcs.length > newImages.length) {
656656
console.warn(
657-
`只能粘贴 ${availableSlots} 张图片,已忽略剩余 ${
658-
imageSrcs.length - newImages.length
659-
} 张`,
657+
`Only ${availableSlots} images can be pasted, ignoring ${imageSrcs.length - newImages.length} images`,
660658
)
661659
}
662660
if (plainText) {

0 commit comments

Comments
 (0)