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": "Edit panduan",
|
||||
"drag": "Seret untuk mengurutkan"
|
||||
},
|
||||
"attachImage": "Lampirkan gambar",
|
||||
"attachImage": "Lampirkan file",
|
||||
"imageMode": {
|
||||
"label": "Buat gambar",
|
||||
"toggle": "Alihkan mode pembuatan gambar",
|
||||
@@ -1010,12 +1010,17 @@
|
||||
"encoding": "Memproses…",
|
||||
"remove": "Hapus lampiran",
|
||||
"normalizedSizeHint": "{{orig}} → {{current}} (auto)",
|
||||
"textTooLarge": "Teks pesan terlalu besar (maksimum {{max}})",
|
||||
"imageRejected": {
|
||||
"unsupported_type": "Tipe file tidak didukung",
|
||||
"empty_file": "File kosong tidak dapat dilampirkan",
|
||||
"too_many_attachments": "Maksimal {{max}} lampiran per pesan",
|
||||
"too_many_images": "Maksimal {{max}} gambar per pesan",
|
||||
"magic_mismatch": "File ini tampaknya bukan gambar asli",
|
||||
"decode_failed": "Tidak dapat mendekode gambar ini",
|
||||
"too_large": "Gambar terlalu besar — coba yang lebih kecil",
|
||||
"too_large": "File terlalu besar — coba yang lebih kecil",
|
||||
"total_too_large": "Total lampiran terlalu besar — hapus beberapa atau gunakan file yang lebih kecil",
|
||||
"transport_too_large": "Lampiran ini akan melebihi batas transport gateway",
|
||||
"io": "Tidak dapat membaca file ini"
|
||||
},
|
||||
"mentions": {
|
||||
|
||||
Reference in New Issue
Block a user