fix(webui): show clear toast when upload fails due to localhost s3 endpoint (#507)

* fix(webui): show clear toast when upload fails due to localhost s3 endpoint

* fix(webui): center empty state in file browser list area
This commit is contained in:
Yiling-J
2026-10-30 14:16:34 +08:00
committed by GitHub
parent f0bdccf713
commit 3b00a42a89
9 changed files with 254 additions and 29 deletions
+3
View File
@@ -1124,6 +1124,9 @@
"n_folders_singular": "{count} Folder",
"n_folders_plural": "{count} Folders",
"failed_upload_file": "Failed to upload file",
"failed_upload_file_with_name": "Failed to upload file: {name}",
"failed_confirm_upload_with_name": "Failed to confirm upload: {name}",
"upload_failed_s3_endpoint_localhost": "Upload failed: Server storage endpoint is configured as localhost, but Shumai is being accessed from a remote address. Please set the AWS_ENDPOINT_URL_S3 environment variable on your server to your external URL.",
"failed_fetch_share_link": "Failed to fetch share link",
"failed_fetch_folders": "Failed to fetch folders",
+3
View File
@@ -1124,6 +1124,9 @@
"n_folders_singular": "{count} 个文件夹",
"n_folders_plural": "{count} 个文件夹",
"failed_upload_file": "上传文件失败",
"failed_upload_file_with_name": "上传文件失败: {name}",
"failed_confirm_upload_with_name": "确认上传失败: {name}",
"upload_failed_s3_endpoint_localhost": "上传失败:服务器存储端点配置为 localhost,但当前通过远程地址访问 Shumai。请在服务器上将 AWS_ENDPOINT_URL_S3 环境变量配置为外部访问地址。",
"failed_fetch_share_link": "获取分享链接失败",
"failed_fetch_folders": "获取文件夹失败",