From dfc1f663c7bb12c4b88b58d55e54f1e77acf1498 Mon Sep 17 00:00:00 2001 From: Alvaro Parker Date: Mon, 5 Oct 2026 10:13:25 -0300 Subject: [PATCH] refactor: standardize developer text and identifiers in English --- s2s-client/CHANGELOG.md | 5 + s2s-client/index.html | 39 +- s2s-client/main.js | 307 ++--- s2s-client/server.py | 1178 +++++++---------- s2s-client/style.css | 78 +- s2s-client/ui/chat.js | 14 +- s2s-client/ws/s2s-ws-client.js | 221 ++-- s2s-reasoning-engine/.env.example | 14 +- s2s-reasoning-engine/Dockerfile | 21 +- s2s-reasoning-engine/flows.json | 20 +- s2s-reasoning-engine/package.json | 2 +- s2s-reasoning-engine/settings.js | 49 +- s2s-reasoning-engine/start.sh | 30 +- .../LLM/chat_completions_language_model.py | 2 +- speech_to_speech/LLM/lm_output_processor.py | 31 +- speech_to_speech/TTS/qwen3_tts_handler.py | 35 +- .../api/openai_realtime/handlers/session.py | 2 +- .../api/openai_realtime/service.py | 11 +- .../arguments_classes/chat_tts_arguments.py | 2 +- start_ui.sh | 14 +- 20 files changed, 933 insertions(+), 1142 deletions(-) diff --git a/s2s-client/CHANGELOG.md b/s2s-client/CHANGELOG.md index a36d1a0..2af9e20 100644 --- a/s2s-client/CHANGELOG.md +++ b/s2s-client/CHANGELOG.md @@ -16,6 +16,11 @@ the implementation at the recorded date; current operating instructions live in the existing document URLs as redirects. - Removed the obsolete `index_video.html` page, which no longer matched the elements required by the shared client script. +- Translated developer comments, diagnostics, internal model instructions, and + local identifiers into English. Sanitization accepts both the former Spanish + and new English internal tool-result wrappers. +- Renamed the reasoning engine's log-only acknowledgment field to `received` + and its debug phase to `log_only_phase1`. ## 2026-09-25 diff --git a/s2s-client/index.html b/s2s-client/index.html index 73777eb..90f9e6f 100644 --- a/s2s-client/index.html +++ b/s2s-client/index.html @@ -18,8 +18,7 @@ BEFORE the tag below. Problem reported by user 2026-09-10: - "quando faccio refresh per un momento si vede il theme precedente - quello purple" + "When I refresh, the previous purple theme briefly appears." The earlier guard `html:not([data-theme]) [data-theme-only]` only hid the two parallel widget branches, but the UNTHEMED DEFAULTS in @@ -179,7 +178,7 @@ Enviar feedback