From e0a602135a890c38cfa21ee0a1c40c69b782b9bf Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Sun, 5 Apr 2026 00:53:27 +0200 Subject: [PATCH] chore: Lokalisierung der UI-Texte ins Deutsche MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Übersetzung aller statischen Texte in der Benutzeroberfläche von Englisch nach Deutsch - Inklusive Schaltflächen, Überschriften, Fehlermeldungen, Statusmeldungen und Tabellenüberschriften --- public/index.html | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/public/index.html b/public/index.html index adab8b8..ccb7202 100644 --- a/public/index.html +++ b/public/index.html @@ -538,7 +538,7 @@
-

🔍 Search Agent

+

🔍 Such-Agent

@@ -558,45 +558,45 @@ id="questionInput" autocomplete="off" > - +
-

Searching and analyzing results...

+

Suche und analysiere Ergebnisse...

-

📝 Answer

+

📝 Antwort

-

🔗 Most Relevant Sources

+

🔗 Relevanteste Quellen

    -

    💡 Suggested Follow-up Searches

    +

    💡 Vorgeschlagene Folgesuchen

    - 💰 Cost Breakdown + 💰 Kostenaufschlüsselung
    - - - - + + + + @@ -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 = ''; + tr.innerHTML = ''; costTableBody.appendChild(tr); }
    #TypeInputOutputCost (USD)TypEingabeAusgabeKosten (USD)
    No cost data availableKeine Kostendaten verfügbar