Files
multica/packages/views/locales/en/squads.json
Naiyuan Qing b040165f4e feat(squads): skeleton loader + AlertDialog archive confirm (MUL-2437) (#2890)
* feat(squads): skeleton loader + AlertDialog archive confirm (MUL-2437)

- Replace `Loading...` text on the squads list with a Skeleton placeholder
  matching the SquadCard shape (avatar + title + subtitle), aligning with
  the Agents / Dashboard pattern.
- Replace the native `confirm()` on the squad detail Archive button with
  the project's AlertDialog (destructive variant, pending-disabled, i18n
  copy interpolating the squad name).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

* fix(squads): drop misleading restore copy from archive confirm (MUL-2437)

Archive is irreversible — there is no unarchive command (see
apps/docs/content/docs/squads.mdx:113). Aligns dialog copy with
docs: tells the user the action can't be undone and to create a
new squad if they need the routing back.

Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-05-20 16:43:58 +08:00

66 lines
2.3 KiB
JSON

{
"page": {
"title": "Squads",
"new_button": "New Squad",
"empty_no_squads": "No squads yet. Create one to get started.",
"empty_no_match": "No squads match your filters."
},
"inspector": {
"details_section": "Details",
"archive_button": "Archive"
},
"archive_dialog": {
"title": "Archive this squad?",
"description": "\"{{name}}\" will be archived. Issues currently assigned to this squad will be transferred to its leader. This can't be undone — create a new squad if you need the routing back.",
"cancel": "Cancel",
"confirm": "Archive",
"archiving": "Archiving…"
},
"name_editor": {
"cancel": "Cancel"
},
"add_member_dialog": {
"title": "Add Member",
"description": "Add a workspace member or agent to this squad.",
"label_member": "Member",
"label_role": "Role",
"label_optional": "(optional)",
"placeholder_role_inline": "Add role…",
"cancel": "Cancel"
},
"description_dialog": {
"title": "Edit description",
"placeholder_empty": "Add a description",
"cancel": "Cancel"
},
"discard_changes_dialog": {
"title": "Discard unsaved changes?",
"description": "You have unsaved changes on this tab. Switching tabs will discard them.",
"keep_editing": "Keep editing",
"discard_button": "Discard"
},
"members_tab": {
"section_title": "Members",
"section_count_one": "{{count}} member in this squad",
"section_count_other": "{{count}} members in this squad",
"add_member_button": "Add Member",
"create_agent_button": "Create Agent",
"leader_chip": "Leader",
"view_agent_tooltip": "Open agent detail",
"make_leader_tooltip": "Make squad leader",
"remove_member_tooltip": "Remove from squad",
"status_working": "Working",
"status_idle": "Idle",
"status_offline": "Offline",
"status_unstable": "Unstable",
"issue_status_blocked": "blocked",
"active_issue_more": "and {{count}} more",
"last_active_label": "last active {{time}}"
},
"instructions_tab": {
"description": "Squad instructions are injected into the leader agent's prompt whenever it works on an issue assigned to this squad. Use them to give the leader squad-wide guidance, working agreements, or context the leader should follow on every task.",
"unsaved_changes": "Unsaved changes",
"save_button": "Save"
}
}