mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 06:25:41 +00:00
refactor(orbit): switch share link to psysonic2- magic string format
Aligns orbit invites with the existing magic-string family (psysonic1- for server invites, psysonic2- for library shares) by folding orbit into the psysonic2- payload as a new k:'orbit' variant. The JSON body is intentionally extendable so future layers (passwords, permissions, invite expiry) can be added without a format migration. - SharePayloadV1 split into EntitySharePayloadV1 + OrbitSharePayloadV1 - decodeSharePayloadFromText filters orbit out; orbit has its own decoder - applySharePastePayload param narrowed to EntitySharePayloadV1 - buildOrbitShareLink / parseOrbitShareLink kept as thin wrappers - slug parameter dropped (magic string is opaque, so the slug was cosmetic-only in the old URL form); slugifyOrbitName removed as dead code - joinModalLinkPlaceholder updated in all 8 locales Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1475,7 +1475,7 @@ export const zhTranslation = {
|
||||
joinModalTitle: '加入 Orbit 会话',
|
||||
joinModalSub: '粘贴主持人发给你的邀请链接。',
|
||||
joinModalLinkLabel: '邀请链接',
|
||||
joinModalLinkPlaceholder: 'psysonic2://orbit/…',
|
||||
joinModalLinkPlaceholder: 'psysonic2-…',
|
||||
joinModalLinkHelper: '适用于任何有效的 Orbit 链接。必须指向你当前登录的服务器。',
|
||||
joinModalPasteTooltip: '从剪贴板粘贴',
|
||||
joinModalSubmit: '加入',
|
||||
|
||||
Reference in New Issue
Block a user