feat: Complete AI Chat Agent, Admin Settings (MCP/AI), and Translations
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-15 21:52:36 +01:00
parent 71d5c825c5
commit 9736864425
24 changed files with 1679 additions and 401 deletions
+82 -7
View File
@@ -93,7 +93,22 @@
"minutesPlaceholder": "Minutes (optional)",
"duration": "Duration",
"durationNone": "None",
"startDate": "Start Date"
"startDate": "Start Date",
"recurrence": {
"label": "Repeat:",
"none": "None",
"daily": "Daily",
"weekly": "Weekly",
"monthly": "Monthly",
"yearly": "Yearly",
"every": "Every",
"units": {
"daily": "days",
"weekly": "weeks",
"monthly": "months",
"yearly": "years"
}
}
},
"taskDetails": {
"title": "Task Details",
@@ -211,6 +226,28 @@
},
"settings": {
"title": "Settings",
"export": {
"title": "Data Export",
"description": "Download your data as a JSON file.",
"tasks": "Tasks",
"labels": "Labels",
"systemSettings": "System Settings (Admin)",
"button": "Export Data",
"success": "Data exported successfully",
"error": "Failed to export data"
},
"auditLogs": {
"title": "Audit Logs",
"description": "Track all system changes and AI actions.",
"table": {
"time": "Time",
"source": "Source",
"action": "Action",
"entity": "Entity",
"details": "Details",
"empty": "No logs found."
}
},
"language": {
"title": "Language",
"description": "Choose your preferred language",
@@ -237,7 +274,13 @@
"description": "System administration and configuration",
"manageUsers": "Manage Users",
"smtpSettings": "SMTP / Email Settings",
"systemSettings": "System Settings (AI/SMTP)"
"systemSettings": "System Settings (AI/SMTP)",
"tabs": {
"general": "General",
"ai": "AI System",
"mcp": "MCP Integration",
"audit": "Audit Logs"
}
},
"smtp": {
"title": "Email Settings (SMTP)",
@@ -280,8 +323,13 @@
"manageTemplates": "Manage Templates"
},
"mcp": {
"title": "MCP Server Integration",
"description": "Connect AI assistants to TaskFlow via Model Context Protocol.",
"title": "MCP Server Configuration",
"description": "Configure the Model Context Protocol (MCP) server settings.",
"descriptionDetail": "The MCP server runs on the same port as the application (/api/mcp).",
"enableLabel": "Enable MCP Server",
"enableDesc": "Allow external AI tools to connect via MCP protocol.",
"portLabel": "Port (Informational)",
"portDesc": "Currently runs on the main application port. Separate port configuration coming soon.",
"status": "Server Status",
"running": "Active",
"url": "Endpoint URL (SSE)",
@@ -292,6 +340,7 @@
"revoked": "Access Token revoked",
"noKey": "No token active. Generate one to connect.",
"copy": "Copy to Clipboard",
"copied": "Copied!",
"instructions": "Configure your MCP client (e.g. Claude Desktop) with this URL and Token."
},
"ai": {
@@ -300,11 +349,37 @@
"provider": "AI Provider",
"apiKey": "API Key",
"model": "Model Name",
"baseUrl": "Base URL (Optional, e.g. for Ollama)",
"enableUser": "Enable AI Assistant",
"enableUserDesc": "Show the AI chat widget."
"baseUrl": "Base URL",
"systemPrompt": "System Prompt",
"systemPromptPlaceholder": "Define the AI's persona and rules...",
"save": "Save AI Settings",
"saved": "Settings saved",
"error": "Failed to save settings",
"ollama": {
"placeholder": "Optional for Ollama",
"pull": "Pull Model",
"pullPlaceholder": "e.g. llama3",
"fetch": "Fetch Models",
"found": "Found {{count}} models",
"pullSuccess": "Model pulled successfully",
"pullError": "Failed to pull model",
"connectError": "Could not connect to Ollama"
}
}
},
"smtp": {
"title": "Email Settings (SMTP)",
"description": "Configure outgoing email server",
"host": "Host",
"port": "Port",
"user": "User",
"password": "Password",
"from": "From Address",
"secure": "Secure (TLS)",
"save": "Save Email Settings",
"saving": "Saving...",
"saveSuccess": "Settings saved successfully"
},
"ai": {
"title": "AI Assistant",
"welcome": "How can I help you manage your tasks today?",