feat(webui): support document attachments with ingress safeguards (#4771)
* feat: support document attachments in webui * fix(webui): normalize document attachment MIME * refactor(webui): move attachment policy out of channel * fix(webui): reject oversized attachments before send * fix(webui): align Portuguese attachment errors * refactor(webui): separate ingress and transport limits * fix(webui): reject malformed attachment payloads
This commit is contained in:
@@ -895,7 +895,7 @@
|
||||
"edit": "안내 수정",
|
||||
"drag": "드래그하여 순서 변경"
|
||||
},
|
||||
"attachImage": "이미지 첨부",
|
||||
"attachImage": "파일 첨부",
|
||||
"imageMode": {
|
||||
"label": "이미지 생성",
|
||||
"toggle": "이미지 생성 모드 전환",
|
||||
@@ -1010,12 +1010,17 @@
|
||||
"encoding": "처리 중…",
|
||||
"remove": "첨부 제거",
|
||||
"normalizedSizeHint": "{{orig}} → {{current}} (자동 압축)",
|
||||
"textTooLarge": "메시지 텍스트가 너무 큽니다(최대 {{max}})",
|
||||
"imageRejected": {
|
||||
"unsupported_type": "지원하지 않는 파일 형식입니다",
|
||||
"empty_file": "빈 파일은 첨부할 수 없습니다",
|
||||
"too_many_attachments": "메시지당 최대 {{max}}개까지 가능합니다",
|
||||
"too_many_images": "메시지당 최대 {{max}}장까지 가능합니다",
|
||||
"magic_mismatch": "이미지 파일이 아닌 것 같습니다",
|
||||
"decode_failed": "이 이미지를 디코딩할 수 없습니다",
|
||||
"too_large": "이미지가 너무 큽니다. 더 작은 걸로 시도해 주세요",
|
||||
"too_large": "파일이 너무 큽니다. 더 작은 파일을 선택해 주세요",
|
||||
"total_too_large": "첨부 파일의 전체 크기가 너무 큽니다. 일부를 제거하거나 더 작은 파일을 사용해 주세요",
|
||||
"transport_too_large": "이 첨부 파일은 게이트웨이 전송 한도를 초과합니다",
|
||||
"io": "이 파일을 읽을 수 없습니다"
|
||||
},
|
||||
"mentions": {
|
||||
|
||||
Reference in New Issue
Block a user