- add SessionDetailPage with breadcrumbs, DescriptionList, status badge, masked token - add Notification component (info/success/error/warning/note variants) for contextual messages - use Notification for 404 errors on session and environment detail pages - add GET /sessions/:id endpoint; sanitize token (head…tail) and strip cookies/localStorage - change DELETE /sessions/:id to return 204 No Content so client redirect works correctly - add onRowClick prop to Table for clickable rows; stop propagation on actions column - update status badges: open=success (green), closed=error (red) on both list and detail
90 lines
2.4 KiB
JSON
90 lines
2.4 KiB
JSON
{
|
||
"errors": {
|
||
"not_found": "Not found",
|
||
"not_found_session": "Session {{id}} does not exist or has been deleted.",
|
||
"not_found_environment": "Environment {{id}} does not exist or has been deleted.",
|
||
"generic": "Something went wrong. Please try again."
|
||
},
|
||
"nav": {
|
||
"environments": "Environments",
|
||
"keys": "Keys",
|
||
"sessions": "Sessions",
|
||
"scenarios": "Scenarios"
|
||
},
|
||
"environments": {
|
||
"title": "Environments",
|
||
"col_id": "ID",
|
||
"col_name": "Name",
|
||
"col_urls": "URLs",
|
||
"col_updated": "Updated",
|
||
"empty": "No environments yet.",
|
||
"loading": "Loading…",
|
||
"no_urls": "No URLs configured.",
|
||
"menu_label": "Environment options",
|
||
"action_view": "View details",
|
||
"action_delete": "Delete",
|
||
"action_add": "Add environment",
|
||
"action_edit": "Edit",
|
||
"action_save": "Create",
|
||
"action_update": "Save changes",
|
||
"action_cancel": "Cancel",
|
||
"create_title": "New Environment",
|
||
"edit_title": "Edit Environment",
|
||
"form_name": "Name",
|
||
"form_name_placeholder": "e.g. staging, production",
|
||
"form_name_required": "Name is required",
|
||
"form_id_url": "ID URL",
|
||
"form_cabinet_url": "Cabinet URL",
|
||
"form_admin_url": "Admin URL",
|
||
"back": "Environments",
|
||
"field_id": "ID",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"section_urls": "URLs"
|
||
},
|
||
"keys": {
|
||
"title": "Keys",
|
||
"col_name": "Key name",
|
||
"empty": "No key files found."
|
||
},
|
||
"sessions": {
|
||
"title": "Sessions",
|
||
"col_id": "ID",
|
||
"col_name": "Name",
|
||
"col_status": "Status",
|
||
"col_lastUsed": "Last Used",
|
||
"empty": "No sessions yet.",
|
||
"loading": "Loading…",
|
||
"action_delete": "Delete",
|
||
"field_id": "ID",
|
||
"field_name": "Name",
|
||
"field_token": "Token",
|
||
"field_status": "Status",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"field_lastUsed": "Last Used"
|
||
},
|
||
"scenarios": {
|
||
"title": "Scenarios",
|
||
"col_id": "ID",
|
||
"col_name": "Name",
|
||
"col_updated": "Updated",
|
||
"empty": "No scenarios yet.",
|
||
"action_run": "Run",
|
||
"action_delete": "Delete"
|
||
},
|
||
"theme": {
|
||
"switch_to_light": "Switch to light theme",
|
||
"switch_to_dark": "Switch to dark theme",
|
||
"light_mode": "Light mode",
|
||
"dark_mode": "Dark mode"
|
||
},
|
||
"pagination": {
|
||
"prev": "Previous page",
|
||
"next": "Next page",
|
||
"range": "{{from}}–{{to}} of {{total}}",
|
||
"per_page": "{{count}} per page",
|
||
"page_size": "Items per page"
|
||
}
|
||
}
|