refactor(i-g): ProactiveAISettings hardcoded Strings auf t() umgestellt — i18n-Hotspot Nr.2

15+ deutsche Hardcodes migriert: title/toggleDescription/categoriesTitle/categoriesDescription/confidenceThreshold/confidenceDescription/all/veryConfident/rateLimitTitle/rateLimitDescription/modelTitle/modelDescription/heartbeatTitle/heartbeatDescription/heartbeatEnable/interval/targetRoom/targetRoomDescription/defaultRoomName + categoryKeys auf proactiveAI.categories.*-Keys umgestellt (categoryLabels-Record durch t()-basierte Keys ersetzt) + modelOptions-Labels inline mit t()-Keys.

Beweis: tsc exit=0; ProactiveAISettings-Tests 10/10 gruen.
This commit is contained in:
Agent Zero
2026-08-26 07:12:27 +02:00
parent 11e4e42570
commit 26b5ae9a0d
3 changed files with 102 additions and 47 deletions
+36
View File
@@ -1404,5 +1404,41 @@
"defaultProvider": "Standard-Anbieter",
"defaultTag": "(Standard)",
"confirmDeleteProvider": "Anbieter wirklich löschen?"
},
"proactiveAI": {
"categories": {
"mail": "E-Mails",
"tasks": "Aufgaben",
"contacts": "Kontakte",
"companies": "Firmen",
"insights": "Erkenntnisse"
},
"models": {
"deepseekV4": "DeepSeek V4 (empfohlen)",
"deepseekV4Pro": "DeepSeek V4 Pro (präzise)",
"llama32": "Llama 3.2 (Alternative)",
"gpt4oMiniOllama": "GPT-4o mini via Ollama",
"gpt4oMiniDirect": "GPT-4o mini (Direct OpenAI)"
},
"loading": "Lade Einstellungen...",
"title": "Proaktive KI",
"toggleDescription": "Aktiviert oder deaktiviert alle Vorschläge",
"categoriesTitle": "Kategorien",
"categoriesDescription": "Für welche Bereiche sollen Vorschläge generiert werden?",
"confidenceThreshold": "Confidence Schwellwert",
"confidenceDescription": "Nur Vorschläge mit höherer Confidence anzeigen",
"all": "Alle",
"veryConfident": "Sehr sicher",
"rateLimitTitle": "Rate Limit",
"rateLimitDescription": "Mindestabstand zwischen Vorschlägen",
"modelTitle": "KI Modell (Ollama Cloud)",
"modelDescription": "Wähle das Modell für Vorschläge. DeepSeek V4 ist empfohlen für beste Performance/Kosten.",
"heartbeatTitle": "Heartbeat",
"heartbeatDescription": "Regelmäßige Status-Meldung an KI-Raum",
"heartbeatEnable": "Heartbeat aktivieren",
"interval": "Intervall",
"targetRoom": "Ziel-Raum",
"targetRoomDescription": "Name des Raums in der Kommunikation, an den Status-Meldungen gesendet werden.",
"defaultRoomName": "Live KI"
}
}
+36
View File
@@ -1404,5 +1404,41 @@
"defaultProvider": "Default provider",
"defaultTag": "(default)",
"confirmDeleteProvider": "Really delete provider?"
},
"proactiveAI": {
"categories": {
"mail": "Emails",
"tasks": "Tasks",
"contacts": "Contacts",
"companies": "Companies",
"insights": "Insights"
},
"models": {
"deepseekV4": "DeepSeek V4 (empfohlen)",
"deepseekV4Pro": "DeepSeek V4 Pro (präzise)",
"llama32": "Llama 3.2 (Alternative)",
"gpt4oMiniOllama": "GPT-4o mini via Ollama",
"gpt4oMiniDirect": "GPT-4o mini (Direct OpenAI)"
},
"loading": "Loading settings...",
"title": "Proactive AI",
"toggleDescription": "Enables or disables all suggestions",
"categoriesTitle": "Categories",
"categoriesDescription": "Which areas should suggestions be generated for?",
"confidenceThreshold": "Confidence threshold",
"confidenceDescription": "Only show suggestions with higher confidence",
"all": "All",
"veryConfident": "Very confident",
"rateLimitTitle": "Rate limit",
"rateLimitDescription": "Minimum distance between suggestions",
"modelTitle": "AI Model (Ollama Cloud)",
"modelDescription": "Choose the model for suggestions. DeepSeek V4 is recommended for best performance/cost.",
"heartbeatTitle": "Heartbeat",
"heartbeatDescription": "Regular status messages to the AI room",
"heartbeatEnable": "Enable heartbeat",
"interval": "Interval",
"targetRoom": "Target room",
"targetRoomDescription": "Name of the room in Communication that status messages are sent to.",
"defaultRoomName": "Live AI"
}
}