discourse-shared-edits/config/locales/server.en.yml
Sam 50d9317272
FEATURE: yjs-based collaborative editing with state recovery and cursor sync
Major overhaul of the shared edits plugin to improve reliability, robustness,
and developer experience:

**Backend**
- Extract Revise service for cleaner controller orchestration
- Add StateValidator for base64/Yjs safety, corruption detection, and recovery
- Centralize protocol constants (Ruby + JS) to avoid hardcoded strings
- Add state hash sync verification and vector validation endpoints
- Harden security (guardian checks), error handling, and resource cleanup
- Resize shared edit columns migration; add state_hash column

**Frontend**
- Decompose shared-edit-manager into focused modules: yjs-document,
  markdown-sync, rich-mode-sync, network-manager, encoding-utils
- Add cursor overlay and caret coordinate tracking for selection sharing
- Add ProseMirror extension for rich-mode collaborative editing
- Cache-busted Yjs bundle loading via hashed filenames
- Fix scroll drift during sync

**Testing & Tooling**
- Extensive new specs: state_validator, revision_controller, model, revise service
- New Ember acceptance tests: cursor, lifecycle, sync flows
- Add support scripts: fake_writer (Playwright), state_corruptor, debug_recovery
- Add support/lint wrapper for full CI lint suite
- Update dependencies and rebuild Yjs/y-prosemirror bundles
2026-02-13 11:34:52 +11:00

20 lines
1.7 KiB
YAML

en:
shared_edits:
reason: "Edited By: %{users}"
errors:
state_corrupted: "The collaborative editing state is corrupted and could not be recovered. Please try again."
state_recovered: "The collaborative editing state was corrupted but has been recovered. Please refresh to continue editing."
needs_recovery_text: "Collaborative editing state needs recovery. Please retry."
recovery_failed: "Failed to recover collaborative editing state. Please refresh and try again."
recovery_not_needed: "Collaborative editing recovery is only allowed when the shared state is unhealthy."
commit_failed: "Collaborative edits could not be committed to this post."
disable_failed: "Shared edits could not be disabled because pending changes could not be committed."
reset_failed: "Shared edit history could not be reset because pending changes could not be committed."
blank_state_rejected: "We blocked a collaborative edit because it would have erased the entire post. Please reopen the composer to refresh the shared document."
invalid_update: "The update payload was malformed. Please refresh and try again."
post_length_exceeded: "Post content exceeds maximum length (%{current}/%{max} characters)"
not_initialized: "Shared editing is not active on this post. Please refresh and try again."
site_settings:
shared_edits_enabled: Enable shared, collaborative, editing on designated posts.
shared_edits_editor_mode: "Editor mode for shared edits: markdown uses plain text, rich uses the ProseMirror rich text editor."
shared_edits_commit_delay_seconds: "Seconds to wait before committing collaborative edits to the post. Lower values commit more frequently but may increase server load."