chore(web): add QQ media size limit hints

This commit is contained in:
Hoshina 2026-03-18 11:20:35 +08:00
parent bda059811d
commit 0cbf11ddfa
3 changed files with 3 additions and 0 deletions

View file

@ -138,6 +138,7 @@ export function GenericForm({
real_name: t("channels.form.desc.realName"), real_name: t("channels.form.desc.realName"),
channels: t("channels.form.desc.channels"), channels: t("channels.form.desc.channels"),
request_caps: t("channels.form.desc.requestCaps"), request_caps: t("channels.form.desc.requestCaps"),
max_base64_file_size_mib: t("channels.form.desc.maxBase64FileSizeMiB"),
} }
return ( return (
descriptions[key] ?? descriptions[key] ??

View file

@ -325,6 +325,7 @@
"realName": "Displayed real name.", "realName": "Displayed real name.",
"channels": "IRC channels to join.", "channels": "IRC channels to join.",
"requestCaps": "IRC capability list requested on connect.", "requestCaps": "IRC capability list requested on connect.",
"maxBase64FileSizeMiB": "Maximum size in MiB for converting local files to base64 before upload. 0 means unlimited. Applies only to local files, not URL uploads.",
"genericField": "Used to configure {{field}}." "genericField": "Used to configure {{field}}."
} }
}, },

View file

@ -325,6 +325,7 @@
"realName": "显示名称。", "realName": "显示名称。",
"channels": "要加入的 IRC 频道列表。", "channels": "要加入的 IRC 频道列表。",
"requestCaps": "连接时请求的 IRC 扩展能力列表。", "requestCaps": "连接时请求的 IRC 扩展能力列表。",
"maxBase64FileSizeMiB": "本地文件转为 base64 上传的最大体积,单位 MiB0 表示不限制,仅影响本地文件,不影响 URL 直传。",
"genericField": "用于配置{{field}}。" "genericField": "用于配置{{field}}。"
} }
}, },