Fix test failures and workload/websocket behavior

This commit is contained in:
beabigegg
2026-01-11 08:37:21 +08:00
parent 3bdc6ff1c9
commit f5f870da56
49 changed files with 3006 additions and 1132 deletions

View File

@@ -15,7 +15,91 @@
"capacityHelp": "Recommended: 40 hours (standard work week). Maximum: 168 hours (total hours in a week).",
"capacitySaved": "Capacity settings saved",
"capacityError": "Failed to save capacity settings",
"capacityInvalid": "Please enter a valid number of hours (0-168)"
"capacityInvalid": "Please enter a valid number of hours (0-168)",
"weeklyReportTitle": "Weekly Report",
"weeklyReportDescription": "Subscribe to receive a weekly in-app report for projects you own or are a member of.",
"weeklyReportSubscribe": "Weekly report subscription",
"weeklyReportEnabled": "Weekly report subscription enabled",
"weeklyReportDisabled": "Weekly report subscription disabled",
"weeklyReportError": "Failed to update weekly report subscription"
},
"triggers": {
"descriptionOptional": "Description (optional)",
"conditions": "Conditions",
"conditionsHint": "All conditions must match (AND).",
"field": "Field",
"operator": "Operator",
"value": "Value",
"addCondition": "Add condition",
"and": "AND",
"action": "Action",
"notify": "Notify",
"templateLabel": "Message template (optional)",
"templateHint": "Variables: {task_title}, {old_value}, {new_value}",
"selectCustomField": "Select custom field",
"saving": "Saving...",
"update": "Update",
"enable": "Enable",
"disable": "Disable",
"retry": "Retry",
"empty": "No triggers configured for this project.",
"when": "When",
"then": "Then",
"deleteTitle": "Delete Trigger",
"deleteMessage": "Are you sure you want to delete this trigger? This action cannot be undone.",
"fields": {
"status": "Status",
"assignee": "Assignee",
"priority": "Priority",
"startDate": "Start date",
"dueDate": "Due date",
"customField": "Custom field"
},
"operators": {
"equals": "equals",
"notEquals": "does not equal",
"changedTo": "changes to",
"changedFrom": "changes from",
"before": "before",
"after": "after",
"in": "in"
},
"targets": {
"assignee": "Task Assignee",
"creator": "Task Creator",
"projectOwner": "Project Owner",
"projectMembers": "Project Members",
"user": "Specific user",
"department": "Department",
"role": "Role"
},
"placeholders": {
"value": "Enter value",
"list": "Comma-separated values",
"user": "User ID",
"department": "Department ID",
"role": "Role name"
},
"range": {
"start": "Start",
"end": "End"
},
"toasts": {
"enabled": "Trigger enabled",
"disabled": "Trigger disabled",
"deleteSuccess": "Trigger deleted successfully"
},
"errors": {
"saveFailed": "Failed to save trigger",
"loadFailed": "Failed to load triggers",
"updateFailed": "Failed to update trigger",
"deleteFailed": "Failed to delete trigger",
"missingCustomField": "Please select a custom field",
"missingValue": "Please enter a value",
"missingDateRange": "Please select a start and end date",
"missingTargetValue": "Please enter a target value",
"missingConditions": "Please add at least one condition"
}
},
"tabs": {
"general": "General",