- add RunEventsService and emit run.started / run.finished from the scheduler - stream run events over SSE at GET /api/v1/scenarios/runs/events with a heartbeat - add useRunNotifications hook and NotificationToggle (opt-in bell in the side panel footer) - refresh runs lists when a run finishes - document the events stream and notifications Closes #12
394 lines
14 KiB
JSON
394 lines
14 KiB
JSON
{
|
||
"common": {
|
||
"button_cancel": "Cancel",
|
||
"button_confirm": "Confirm",
|
||
"button_delete": "Delete",
|
||
"confirm_delete_credential": "Are you sure you want to delete this credential?",
|
||
"confirm_delete_environment": "Are you sure you want to delete this environment?",
|
||
"confirm_delete_scenario": "Are you sure you want to delete this scenario?",
|
||
"confirm_delete_step": "Are you sure you want to delete this step?",
|
||
"confirm_delete_session": "Are you sure you want to delete this session?",
|
||
"confirm_delete_snippet": "Are you sure you want to delete this snippet?",
|
||
"confirm_remove_credential": "Are you sure you want to remove this credential from scenario?",
|
||
"save_session": "Save session"
|
||
},
|
||
"code_help": {
|
||
"open": "Code reference",
|
||
"title": "Code reference",
|
||
"close": "Close"
|
||
},
|
||
"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.",
|
||
"not_found_credential": "Credential {{id}} does not exist or has been deleted.",
|
||
"not_found_scenario": "Scenario {{id}} does not exist or has been deleted.",
|
||
"not_found_snippet": "Snippet {{id}} does not exist or has been deleted.",
|
||
"generic": "Something went wrong. Please try again."
|
||
},
|
||
"nav": {
|
||
"licenses": "Licenses",
|
||
"version_mismatch": "Server version; this page was built for v{{client}}. Reload to update.",
|
||
"environments": "Environments",
|
||
"credentials": "Credentials",
|
||
"snippets": "Snippets",
|
||
"keys": "Keys",
|
||
"sessions": "Sessions",
|
||
"scenarios": "Scenarios",
|
||
"runs": "Runs",
|
||
"import": "Import"
|
||
},
|
||
"import": {
|
||
"title": "Import",
|
||
"action_choose": "Choose files",
|
||
"description": "Import exported environments, credentials, snippets and scenarios. Each YAML file may hold several items as ---separated documents, and each document may hold one item or a list of items. JSON files work too.",
|
||
"description_validation": "Every item in a file is checked before anything is imported: if one item is invalid, nothing from that file is imported. Items are imported in dependency order (environments, credentials, snippets, scenarios), and snippets and scenarios keep the version they were exported with.",
|
||
"imported_count_one": "Imported {{count}} item",
|
||
"imported_count_other": "Imported {{count}} items",
|
||
"col_file": "File",
|
||
"col_kind": "Kind",
|
||
"col_name": "Name",
|
||
"col_version": "Version",
|
||
"kind_environment": "Environment",
|
||
"kind_credential": "Credential",
|
||
"kind_snippet": "Snippet",
|
||
"kind_scenario": "Scenario"
|
||
},
|
||
"environments": {
|
||
"title": "Environments",
|
||
"created": "Environment created",
|
||
"updated": "Environment updated",
|
||
"col_id": "ID",
|
||
"col_name": "Name",
|
||
"col_description": "Description",
|
||
"col_data": "Data",
|
||
"col_updated": "Updated",
|
||
"empty": "No environments yet.",
|
||
"loading": "Loading…",
|
||
"no_data": "No data configured.",
|
||
"menu_label": "Environment options",
|
||
"action_view": "View details",
|
||
"action_delete": "Delete",
|
||
"action_add": "Add environment",
|
||
"action_edit": "Edit",
|
||
"action_export": "Export",
|
||
"action_import": "Import",
|
||
"action_save": "Create",
|
||
"action_update": "Save",
|
||
"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_description": "Description",
|
||
"form_description_placeholder": "Describe this environment",
|
||
"form_data": "Data (JSON)",
|
||
"form_data_invalid_json": "Must be a valid JSON object",
|
||
"back": "Environments",
|
||
"field_id": "ID",
|
||
"field_description": "Description",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"section_data": "Data"
|
||
},
|
||
"credentials": {
|
||
"title": "Credentials",
|
||
"created": "Credential created",
|
||
"updated": "Credential updated",
|
||
"empty": "No credentials yet.",
|
||
"loading": "Loading…",
|
||
"menu_label": "Credential options",
|
||
"action_edit": "Edit",
|
||
"action_delete": "Delete",
|
||
"action_add": "Add credential",
|
||
"action_save": "Create",
|
||
"action_update": "Save",
|
||
"action_cancel": "Cancel",
|
||
"create_title": "New Credential",
|
||
"edit_title": "Edit Credential",
|
||
"form_name": "Name",
|
||
"form_name_placeholder": "e.g. staging-api-key",
|
||
"form_name_required": "Name is required",
|
||
"form_data": "Data (JSON)",
|
||
"form_data_placeholder": "{\"token\": \"…\"}",
|
||
"form_data_invalid_json": "Must be valid JSON",
|
||
"field_id": "ID",
|
||
"field_last_used": "Last Used",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"section_data": "Data",
|
||
"action_export": "Export",
|
||
"action_import": "Import",
|
||
"import_error": "Failed to import credential"
|
||
},
|
||
"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",
|
||
"created": "Scenario created",
|
||
"updated": "Scenario updated",
|
||
"run_started": "Scenario run started",
|
||
"col_id": "ID",
|
||
"col_name": "Name",
|
||
"col_version": "Version",
|
||
"col_description": "Description",
|
||
"col_last_run": "Last Run",
|
||
"col_updated": "Updated",
|
||
"empty": "No scenarios yet.",
|
||
"loading": "Loading…",
|
||
"action_run": "Run",
|
||
"action_delete": "Delete",
|
||
"field_id": "ID",
|
||
"field_name": "Name",
|
||
"field_version": "Version",
|
||
"field_description": "Description",
|
||
"field_steps": "Steps",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"steps_heading": "Steps",
|
||
"step_order": "#",
|
||
"step_title": "Title",
|
||
"step_type": "Type",
|
||
"step_session": "Session",
|
||
"step_updated": "Updated",
|
||
"action_add": "New scenario",
|
||
"action_edit": "Edit",
|
||
"action_runs": "Runs",
|
||
"action_export": "Export",
|
||
"action_export_e2e": "Export e2e test",
|
||
"action_import": "Import",
|
||
"import_error": "Failed to import scenario",
|
||
"action_save": "Create",
|
||
"action_update": "Save",
|
||
"action_cancel": "Cancel",
|
||
"create_title": "New Scenario",
|
||
"edit_title": "Edit Scenario",
|
||
"form_description": "Description",
|
||
"form_description_placeholder": "Describe this scenario",
|
||
"form_environment": "Default Environment",
|
||
"form_environment_none": "None (no default environment)",
|
||
"field_environment": "Default Environment",
|
||
"form_name": "Name",
|
||
"form_name_placeholder": "e.g. Login flow",
|
||
"form_name_required": "Name is required",
|
||
"credentials_heading": "Credentials",
|
||
"used_snippets_heading": "Used Snippets",
|
||
"used_snippet_pinned": "v{{version}} (pinned)",
|
||
"used_snippet_latest": "Latest (v{{version}})",
|
||
"cred_empty": "No credentials assigned.",
|
||
"cred_col_alias": "Alias",
|
||
"cred_col_name": "Credential",
|
||
"cred_col_added": "Added",
|
||
"cred_action_add": "Add credential",
|
||
"cred_action_remove": "Remove",
|
||
"cred_action_save": "Add",
|
||
"cred_action_cancel": "Cancel",
|
||
"cred_form_cred": "Credential",
|
||
"cred_form_cred_placeholder": "Select credential…",
|
||
"cred_form_cred_required": "Select a credential",
|
||
"cred_form_alias": "Alias",
|
||
"cred_form_alias_placeholder": "e.g. api_key",
|
||
"cred_form_alias_required": "Alias is required",
|
||
"run_modal_title": "Select environment",
|
||
"run_modal_env_label": "Environment",
|
||
"run_modal_no_env": "No environments found. Create an environment before running a scenario.",
|
||
"run_modal_env_required": "Please select an environment",
|
||
"run_modal_version_label": "Version",
|
||
"run_modal_version_latest": "Latest",
|
||
"run_modal_version_latest_n": "Latest (v{{version}})",
|
||
"run_modal_trace_label": "Playwright trace",
|
||
"trace_mode_on": "Always keep",
|
||
"trace_mode_retain_on_failure": "Keep on failure",
|
||
"trace_mode_off": "Off",
|
||
"trace_mode_default_suffix": "(default)",
|
||
"export_modal_title": "Export Scenario",
|
||
"export_include_environment": "Include Environment",
|
||
"export_include_credentials": "Include Credentials",
|
||
"export_include_snippets": "Include Snippets",
|
||
"form_timeout": "Scenario Timeout (seconds)",
|
||
"form_timeout_placeholder": "Default: 600",
|
||
"form_timeout_hint": "Max seconds for the entire scenario run (default: 600)"
|
||
},
|
||
"theme": {
|
||
"switch_to_light": "Switch to light theme",
|
||
"switch_to_dark": "Switch to dark theme",
|
||
"light_mode": "Light mode",
|
||
"dark_mode": "Dark mode"
|
||
},
|
||
"notifications": {
|
||
"enable": "Enable browser notifications for runs",
|
||
"disable": "Disable browser notifications for runs",
|
||
"blocked": "Notifications are blocked in your browser settings",
|
||
"run_started_title": "Run started: {{scenario}}",
|
||
"run_started_body": "The scenario run is in progress.",
|
||
"run_pass_title": "Run passed: {{scenario}}",
|
||
"run_pass_body": "All steps passed.",
|
||
"run_fail_title": "Run failed: {{scenario}}",
|
||
"run_fail_body": "The scenario run failed."
|
||
},
|
||
"revealable": {
|
||
"hidden": "Hidden so secrets aren't exposed on screen.",
|
||
"reveal": "Reveal",
|
||
"hide": "Hide"
|
||
},
|
||
"pagination": {
|
||
"prev": "Previous page",
|
||
"next": "Next page",
|
||
"range": "{{from}}–{{to}} of {{total}}",
|
||
"per_page": "{{count}} per page",
|
||
"page_size": "Items per page"
|
||
},
|
||
"steps": {
|
||
"created": "Step created",
|
||
"updated": "Step updated",
|
||
"create_title": "Add Step",
|
||
"edit_title": "Edit Step #{{order}}",
|
||
"loading": "Loading…",
|
||
"action_add": "Add step",
|
||
"action_edit": "Edit",
|
||
"action_delete": "Delete",
|
||
"action_save": "Add step",
|
||
"action_update": "Save",
|
||
"action_cancel": "Cancel",
|
||
"form_order": "Order",
|
||
"form_order_invalid": "Order must be a non-negative integer",
|
||
"form_title": "Title",
|
||
"form_title_placeholder": "e.g. Check login page",
|
||
"form_type": "Type",
|
||
"form_session": "Session name",
|
||
"form_session_placeholder": "e.g. my-session",
|
||
"form_session_required": "Session name is required",
|
||
"form_exec_code": "Exec code",
|
||
"form_exec_code_placeholder": "return await page.title();",
|
||
"form_timeout": "Step Timeout (seconds)",
|
||
"form_timeout_placeholder": "Default: 60",
|
||
"form_timeout_hint": "Max seconds for this step (default: 60)"
|
||
},
|
||
"runs": {
|
||
"title": "Runs",
|
||
"loading": "Loading…",
|
||
"empty": "No runs yet.",
|
||
"action_run": "Run scenario",
|
||
"col_id": "ID",
|
||
"col_scenario": "Scenario",
|
||
"col_status": "Status",
|
||
"col_steps": "Steps",
|
||
"col_version": "Version",
|
||
"col_created": "Started",
|
||
"field_id": "ID",
|
||
"field_status": "Status",
|
||
"field_steps": "Steps",
|
||
"field_created": "Started",
|
||
"field_updated": "Updated",
|
||
"field_trace": "Playwright trace",
|
||
"field_scenario_version": "Scenario version",
|
||
"steps_heading": "Step runs",
|
||
"step_title": "Title",
|
||
"logs_heading": "Logs",
|
||
"logs_search_placeholder": "Filter logs…",
|
||
"step_order": "#",
|
||
"step_type": "Type",
|
||
"step_session": "Session",
|
||
"step_status": "Status",
|
||
"step_description": "Result",
|
||
"log_level": "Level",
|
||
"log_message": "Message",
|
||
"log_time": "Time",
|
||
"action_download_logs": "Download logs",
|
||
"action_copy_logs": "Copy logs",
|
||
"logs_copied": "Logs copied to clipboard",
|
||
"logs_copy_failed": "Could not copy logs to clipboard",
|
||
"logs_expand_data": "Expand data",
|
||
"logs_collapse_data": "Collapse data",
|
||
"logs_show_data_one": "Show data ({{size}}, {{count}} line)",
|
||
"logs_show_data_other": "Show data ({{size}}, {{count}} lines)",
|
||
"logs_hide_data": "Hide data",
|
||
"action_repeat": "Repeat run",
|
||
"repeat_no_environment": "The environment used by this run no longer exists",
|
||
"export_logs_modal_title": "Export logs",
|
||
"export_logs_format": "Format",
|
||
"export_logs_format_md": "Markdown (.md)",
|
||
"export_logs_format_csv": "CSV (.csv)",
|
||
"action_export": "Export"
|
||
},
|
||
"snippets": {
|
||
"title": "Snippets",
|
||
"created": "Snippet created",
|
||
"updated": "Snippet updated",
|
||
"empty": "No snippets yet.",
|
||
"loading": "Loading…",
|
||
"menu_label": "Snippet options",
|
||
"action_edit": "Edit",
|
||
"action_delete": "Delete",
|
||
"action_add": "Add snippet",
|
||
"action_save": "Create",
|
||
"action_update": "Save",
|
||
"action_cancel": "Cancel",
|
||
"create_title": "New Snippet",
|
||
"edit_title": "Edit Snippet",
|
||
"form_alias": "Alias",
|
||
"form_alias_placeholder": "e.g. clickLoginButton",
|
||
"form_alias_required": "Alias is required",
|
||
"form_title": "Title",
|
||
"form_title_placeholder": "e.g. Click Login Button",
|
||
"form_title_required": "Title is required",
|
||
"form_description": "Description",
|
||
"form_description_placeholder": "What does this snippet do?",
|
||
"form_code": "Code",
|
||
"form_code_placeholder": "await page.click('#login-btn');",
|
||
"form_code_required": "Code is required",
|
||
"field_id": "ID",
|
||
"field_alias": "Alias",
|
||
"field_version": "Version",
|
||
"field_title": "Title",
|
||
"field_description": "Description",
|
||
"field_created": "Created",
|
||
"field_updated": "Updated",
|
||
"section_code": "Code",
|
||
"action_export": "Export",
|
||
"action_import": "Import",
|
||
"import_error": "Failed to import snippet"
|
||
},
|
||
"files": {
|
||
"title": "Files",
|
||
"upload": "Upload",
|
||
"uploadTitle": "Upload File",
|
||
"uploadSuccess": "File uploaded successfully",
|
||
"name": "Name",
|
||
"mimeType": "MIME Type",
|
||
"size": "Size",
|
||
"expiresAt": "Expires At",
|
||
"expiresAtLabel": "Expires At (optional)",
|
||
"createdAt": "Created",
|
||
"download": "Download",
|
||
"delete": "Delete",
|
||
"deleteTitle": "Delete file",
|
||
"confirmDelete": "Are you sure you want to delete \"{{name}}\" from this run?",
|
||
"deleteSuccess": "File deleted",
|
||
"expiredTooltip": "File is expired",
|
||
"empty": "No files uploaded.",
|
||
"totalCount": "Total: {{count}} file(s)",
|
||
"artifactsTitle": "Artifacts"
|
||
}
|
||
}
|