From 1f84c047914cf21df1a1de196d990d193539523d Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 15 Sep 2026 22:55:25 +0200 Subject: feat(hub): drop files and folders onto Files to upload them Into the folder on screen, under the Upload button's rule. A name already there, or one the node would refuse, cancels the whole drop with a message. Folders are recreated level by level; files go out a few at a time. The in-flight upload guard is keyed by folder and name. Co-Authored-By: Claude Opus 5 --- packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js index 6c0ec372..cb841053 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js @@ -183,6 +183,12 @@ export default { 'group.offline_title': '当前没有为此群组提供服务的 node 在线。', 'group.offline_hint': '当托管此群组的 node 连接后,文件就会出现。', 'group.upload': '上传', + 'group.drop_here': '拖放以上传到 {dir}', + 'group.drop_not_here': '只能将文件拖放到可写入的文件夹中。', + 'group.drop_conflict': '上传已取消 — 此文件夹中已存在:{names}。请先重命名或删除。', + 'group.drop_invalid': '上传已取消 — 节点无法保存这些名称:{names}', + 'group.drop_unreadable': '上传已取消 — 无法读取拖放的项目。', + 'group.drop_mkdir_failed': '上传已取消 — 无法创建文件夹({detail})。', 'group.mkdir': '新建文件夹', 'group.mkdir_prompt': '新文件夹名称', 'group.mkdir_offline': '未连接到节点。', -- cgit v1.2.3