@@ -614,9 +614,9 @@
- Connecting...
+ Verbinde...
-
+
@@ -655,8 +655,8 @@
eventSource.onopen = function() {
statusDot.className = 'status-dot connected';
- statusText.textContent = 'Connected';
- addLogEntry('Connected to log stream', 'info');
+ statusText.textContent = 'Verbunden';
+ addLogEntry('Mit Log-Stream verbunden', 'info');
};
eventSource.onmessage = function(event) {
@@ -690,7 +690,7 @@
eventSource.onerror = function(err) {
statusDot.className = 'status-dot disconnected';
- statusText.textContent = 'Disconnected';
+ statusText.textContent = 'Getrennt';
console.error('SSE Error:', err);
// Attempt to reconnect after 3 seconds
@@ -764,7 +764,7 @@
async function performSearch() {
const question = questionInput.value.trim();
if (!question) {
- showError('Please enter a question');
+ showError('Bitte geben Sie eine Frage ein');
return;
}
@@ -800,7 +800,7 @@
async function performSearchWithClarification(clarificationText) {
if (!clarificationData || !clarificationData.originalQuestion) {
- showError('Clarification data not available');
+ showError('Klärungsdaten nicht verfügbar');
return;
}
@@ -859,13 +859,13 @@
id="clarificationSubmitBtn"
style="padding: 10px 20px; font-size: 1rem;"
>
- Submit Clarification
+ Klärung einreichen
`;
// Clear sources since we're waiting for clarification
- sourcesEl.innerHTML = 'Waiting for clarification...';
+ sourcesEl.innerHTML = 'Warte auf Klärung...';
// Add event listener for clarification submission
setTimeout(() => {
@@ -901,7 +901,7 @@
clarificationData = null;
// Display answer as HTML
- answerEl.innerHTML = data.fullAnswerHTMLSnippet || 'No answer generated
';
+ answerEl.innerHTML = data.fullAnswerHTMLSnippet || 'Keine Antwort generiert
';
// Display sources
sourcesEl.innerHTML = '';
@@ -918,7 +918,7 @@
});
} else {
const li = document.createElement('li');
- li.textContent = 'No sources available';
+ li.textContent = 'Keine Quellen verfügbar';
sourcesEl.appendChild(li);
}
@@ -936,7 +936,7 @@
suggestedSearchesEl.appendChild(btn);
});
} else {
- suggestedSearchesEl.innerHTML = 'No suggested searches available
';
+ suggestedSearchesEl.innerHTML = 'Keine vorgeschlagenen Suchen verfügbar
';
}
// Display cost breakdown
@@ -956,7 +956,7 @@
});
} else {
const tr = document.createElement('tr');
- tr.innerHTML = 'No cost data available | ';
+ tr.innerHTML = 'Keine Kostendaten verfügbar | ';
costTableBody.appendChild(tr);
}