diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-09 18:23:52 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-09 18:23:56 +0200 |
| commit | 25152ddb61a89ea3ea29d3aef5de13343429d32a (patch) | |
| tree | ebf8f11f66146caaa3c01270cd6cfcb0ee51723c /packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | |
| parent | c85c7f48e8f29923038d4c90cc1a6f9b8bcd7673 (diff) | |
| download | meshbay-25152ddb61a89ea3ea29d3aef5de13343429d32a.tar.gz | |
feat: back up the phone's photos to a group, once a day on Wi-Fi
The Android application sends the photos taken on the phone to one folder of
one group chosen by the member (docs/MESHBAY_DESIGN.md §9.12). The phone lists
MediaStore, keeps a ledger of what was sent and hands each photo's bytes to the
page by an opaque token on the packaged origin; the page decides when a run is
due and uploads through the existing path, one photo at a time under a slot.
- Once a day from the last finished run, on an unmetered network only;
"Back up now" asks first on mobile data. Leaving Wi-Fi stops after the file
in flight.
- Photos already on the phone are sent by default, newest first, under
<folder>/YYYY/MM; edits are sent beside the original as -edited-<date>.
- Additive by construction: nothing is ever deleted, renamed or replaced on
the node, and a photo deleted on the node is not sent again.
- A confirmation names the group, owner, members, folder and size when the
destination or starting point changes; a lasting refusal (disk full, folder
read-only or gone, no longer a member) is said once and retried a day later.
- No ACCESS_MEDIA_LOCATION, so the platform redacts photo locations.
- A dataSync foreground service keeps a run going with the screen off.
HEIC/HEIF photos are sent but not shown in Photos yet (§15.2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | 45 |
1 files changed, 45 insertions, 0 deletions
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 709eb65..d7b0aeb 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 @@ -1263,4 +1263,49 @@ export default { 'native.node_account_confirm': '这台电脑上的 node 已为 {current} 设置。改为为 {next} 设置吗?它将不再为 {current} 提供其托管的群组。', 'native.browser_access_confirm': '允许从浏览器登录吗?应用会在您使用的每个 node 上留下您的身份,并加以封存,只有您的密码短语配合您的 hub 账户才能打开。', 'native.declined': '已取消,未做任何更改。', + + // Photo backup, Android only (photo-sync.js, photo-sync-settings.js). + 'photosync.heading': "照片备份", + 'photosync.intro': "每天一次,通过 Wi-Fi 将这部手机拍摄的照片发送到您某个群组的文件夹。从手机删除的照片会保留在群组中。", + 'photosync.setup': "设置", + 'photosync.change': "更改", + 'photosync.turn_off': "关闭", + 'photosync.now': "立即备份", + 'photosync.permission_needed': "MeshBay 需要访问这部手机上的照片。", + 'photosync.permission_allow': "允许访问", + 'photosync.permission_partial': "访问权限仅限于您选择的照片:在您允许访问全部照片之前,新照片不会被备份。", + 'photosync.group': "群组", + 'photosync.choose_group': "选择群组", + 'photosync.checking_group': "正在读取群组的文件夹…", + 'photosync.group_offline': "目前没有托管此群组的 node 在线。请在其上线后重试。", + 'photosync.no_folder': "此群组没有您可以上传、且其照片标签页会显示的文件夹。", + 'photosync.folder': "文件夹", + 'photosync.albums': "这部手机上的相册", + 'photosync.album_camera': "相机", + 'photosync.album_count': "{n} 张照片 · {size}", + 'photosync.scope_existing': "手机上已有的照片,然后是新照片", + 'photosync.scope_new': "仅从现在起拍摄的照片", + 'photosync.start': "开始备份", + 'photosync.confirm': "您的照片将发送到 {group}(由 @{owner} 托管,{members} 位成员)的文件夹 {folder}。此群组的所有成员都可以查看和下载这些照片。\n\n将发送 {count} 张照片({size}),之后每天发送一次新照片。\n\n您之后可以删除已发送的内容,但无法删除他人已下载的副本。", + 'photosync.confirm_new': "您的照片将发送到 {group}(由 @{owner} 托管,{members} 位成员)的文件夹 {folder}。此群组的所有成员都可以查看和下载这些照片。\n\n新照片将每天发送一次。\n\n您之后可以删除已发送的内容,但无法删除他人已下载的副本。", + 'photosync.metered_confirm': "您正在使用移动数据 — {count} 张照片,{size}。仍要发送吗?", + 'photosync.summary': "{group} (@{owner}) → {folder}", + 'photosync.other_account': "已为 @{account} 设置。请以 @{account} 登录以继续,或在此重新设置。", + 'photosync.sent_total': "已发送照片:{n}", + 'photosync.last_run': "上次备份:{when}", + 'photosync.never': "尚未备份", + 'photosync.state_waiting_wifi': "正在等待 Wi-Fi", + 'photosync.state_connecting': "正在连接群组…", + 'photosync.state_sending': "正在发送 {done} / {total}", + 'photosync.state_offline': "群组的 node 均不在线;稍后重试", + 'photosync.state_interrupted': "已中断 — 将在下次有机会时继续", + 'photosync.state_up_to_date': "已是最新", + 'photosync.notif_progress': "正在备份照片 — {done} / {total}", + 'photosync.fail_disk_full': "照片备份已停止:node 的磁盘已满。", + 'photosync.fail_read_only': "照片备份已停止:该文件夹不再接受上传。", + 'photosync.fail_no_folder': "照片备份已停止:该文件夹已不在群组中。", + 'photosync.fail_unavailable': "照片备份已停止:该文件夹所在的磁盘未连接到 node。", + 'photosync.fail_not_member': "照片备份已停止:您已不再是此群组的成员。", + 'photosync.fail_permission': "照片备份已停止:MeshBay 已无法访问照片。", + 'photosync.fail_other': "照片备份已停止。", }; |