diff --git a/frontend/src/features/chat/components/ChatViewOverlays.vue b/frontend/src/features/chat/components/ChatViewOverlays.vue index fab88387..daf1bae5 100644 --- a/frontend/src/features/chat/components/ChatViewOverlays.vue +++ b/frontend/src/features/chat/components/ChatViewOverlays.vue @@ -52,7 +52,6 @@ async function handleQueryPreviewAssetImage(assetId: string, assetName: string) /> diff --git a/frontend/src/locales/en/feedback.json b/frontend/src/locales/en/feedback.json index ca99b054..7e5f75d4 100644 --- a/frontend/src/locales/en/feedback.json +++ b/frontend/src/locales/en/feedback.json @@ -26,5 +26,14 @@ }, "cancel": "Cancel", "submitting": "Submitting...", - "submit": "Submit" + "submit": "Submit", + "upload": { + "addImage": "Add images", + "pasteHint": "Paste a screenshot (Ctrl+V) or click to add, up to 5", + "maxCount": "Up to {count} images", + "maxSize": "Each image must be within {size}MB", + "invalidType": "Only png / jpg / jpeg / webp images are supported", + "uploadFailed": "Image upload failed, please retry", + "remove": "Remove image" + } } diff --git a/frontend/src/locales/th/feedback.json b/frontend/src/locales/th/feedback.json index 0561c782..7585ac0e 100644 --- a/frontend/src/locales/th/feedback.json +++ b/frontend/src/locales/th/feedback.json @@ -26,5 +26,14 @@ }, "cancel": "ยกเลิก", "submitting": "กำลังส่ง...", - "submit": "ส่ง" + "submit": "ส่ง", + "upload": { + "addImage": "เพิ่มรูปภาพ", + "pasteHint": "วางภาพหน้าจอ (Ctrl+V) หรือคลิกเพื่อเพิ่ม สูงสุด 5 รูป", + "maxCount": "เพิ่มได้สูงสุด {count} รูป", + "maxSize": "รูปภาพเดียวต้องไม่เกิน {size}MB", + "invalidType": "รองรับเฉพาะไฟล์ png / jpg / jpeg / webp", + "uploadFailed": "อัปโหลดรูปภาพไม่สำเร็จ กรุณาลองอีกครั้ง", + "remove": "นำรูปภาพออก" + } } diff --git a/frontend/src/locales/zh-CN/feedback.json b/frontend/src/locales/zh-CN/feedback.json index 3bad790d..c8d78924 100644 --- a/frontend/src/locales/zh-CN/feedback.json +++ b/frontend/src/locales/zh-CN/feedback.json @@ -26,5 +26,14 @@ }, "cancel": "取消", "submitting": "提交中...", - "submit": "提交" + "submit": "提交", + "upload": { + "addImage": "添加图片", + "pasteHint": "支持粘贴截图(Ctrl+V)或点击添加,最多 5 张", + "maxCount": "最多添加 {count} 张图片", + "maxSize": "单张图片不能超过 {size}MB", + "invalidType": "仅支持 png / jpg / jpeg / webp 格式图片", + "uploadFailed": "图片上传失败,请重试", + "remove": "移除图片" + } } diff --git a/frontend/src/locales/zh-TW/feedback.json b/frontend/src/locales/zh-TW/feedback.json index f1b16473..b4fb4073 100644 --- a/frontend/src/locales/zh-TW/feedback.json +++ b/frontend/src/locales/zh-TW/feedback.json @@ -26,5 +26,14 @@ }, "cancel": "取消", "submitting": "提交中...", - "submit": "提交" + "submit": "提交", + "upload": { + "addImage": "添加圖片", + "pasteHint": "支援貼上截圖(Ctrl+V)或點擊新增,最多 5 張", + "maxCount": "最多新增 {count} 張圖片", + "maxSize": "單張圖片不能超過 {size}MB", + "invalidType": "僅支援 png / jpg / jpeg / webp 格式圖片", + "uploadFailed": "圖片上傳失敗,請重試", + "remove": "移除圖片" + } } diff --git a/frontend/src/shared/components/GeneralFeedbackDialog.vue b/frontend/src/shared/components/GeneralFeedbackDialog.vue index 4aa7a79a..0b5cd27d 100644 --- a/frontend/src/shared/components/GeneralFeedbackDialog.vue +++ b/frontend/src/shared/components/GeneralFeedbackDialog.vue @@ -1,22 +1,56 @@ -