- verbeteringen client

- Invoer van een 'constanten' cache op niveau van useTranslation.js, om in de ProgressTracker de boodschappen in de juiste taal te zetten.
This commit is contained in:
Josako
2025-07-21 17:39:52 +02:00
parent f8f941d1e1
commit 0f33beddf4
6 changed files with 379 additions and 5 deletions

View File

@@ -145,7 +145,15 @@ export default {
const firstMessage = this.messages[0];
// Controleer of we een originele inhoud hebben om te vertalen
if (firstMessage.originalContent) {
if (firstMessage.content) {
if (!firstMessage.originalContent) {
firstMessage.originalContent = firstMessage.content;
}
console.log('Originele inhoud van eerste AI bericht:', firstMessage.originalContent);
console.log('Content eerste AI bericht:', firstMessage.content);
console.log('Vertaling van eerste AI bericht naar:', event.detail.language);
try {