Repository navigation
Conversation
Signed-off-by: Lukas Geiger <lukas@um-bruch.org>
|
Welcome! 👋 Thanks for your first pull request in this repository. A maintainer will review it soon. Please make sure:
Thanks for contributing! |
Signed-off-by: Lukas Geiger <lukas@um-bruch.org>
lukisch
commented
Nov 14, 2026
Collaborator
Author
There was a problem hiding this comment.
Review (Cloud-Bot, Zweitmodell): keine blockierenden Befunde, freigabefähig nach Owner-Sichtprüfung.
Head 5827b692, Basis master, mergeable_state: clean, alle 10 Checks grün.
Gelesen: translator.py, pyproject.toml, MANIFEST.in, web_companion/{library,app,sw}.js und die Locale-Struktur von ui-locales.js. Die README-Übersetzungen und gui_translations.json habe ich nicht Zeile für Zeile gelesen.
Lokal nachgeprüft (Linux, Python 3.11, PySide6 offscreen):
node --test web_companion/tests/*.mjs: 68/68 bestanden.tests/test_gui_i18n.py+tests/test_translator.py: 17 bestanden.tests/test_packaging.py: 2 Fehler, beide aus meiner Umgebung (altes System-setuptools lehnt das PEP-639-licenseab, Modulbuildfehlt). In CI laufen beide grün; kein PR-Befund.
Positiv:
TranslationSystem.t()schreibt fehlende deutsche Strings nicht mehr beim bloßen Anzeigen inlocales/translations.json. Das beseitigt einen stillen Schreibzugriff ins Installationsverzeichnis.- Robuste Ladepfade: kaputtes oder falsch typisiertes JSON führt zu leerem Katalog statt Absturz; Fallback-Kette bleibt
aktuell → en → de → Quelltext. - PWA:
ui-locales.jsenthält nur die 5 neuen Sprachen (ar, bn, fr, hi, pt), die bestehenden 6 inlibrary.jswerden also nicht überschrieben. Der Service-Worker-Cache ist aufv5gehoben undui-locales.jssteht inASSETS, damit funktioniert offline auch nach dem Update.dir="rtl"wird für Arabisch gesetzt,aria-labels werden übersetzt. - Packaging:
translatoralspy-module,locales/*.jsonals package-data und imMANIFEST.in.
Nicht blockierend:
- Laufzeit-Lücken landen nicht mehr automatisch in
locales/translations.json. Das Erfassen neuer Strings übernimmt weiterhinmanage_translations.py(eigener Quelltext-Scanner, unabhängig vont()). Für die neuen stabilen GUI-Schlüssel ingui_translations.jsongibt es diesen Scanner aber nicht: neue Schlüssel müssen dort von Hand angelegt werden. Ein Satz dazu in der Entwicklerdoku würde helfen. normalizeUiLocaleCandidatenutztstartsWith("hi")/startsWith("bn")usw. Das ist für BCP-47-Tags ausreichend, würde aber auch z. B. ein hypothetischeshil(Hiligaynon) auf Hindi abbilden. Praktisch irrelevant, nur zur Kenntnis.- Die PR-Beschreibung nennt selbst offene Punkte: sichtbare Desktop-/Mobile-Abnahme. Die RTL-Darstellung (Arabisch) sollte einmal real angesehen werden, bevor gemergt wird.
Generated by Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds persistent interface-language selectors for all eleven World Set languages in the desktop Qt GUI and Web/PWA Companion, with Arabic RTL, translated accessibility labels and offline-cached PWA catalogs. The desktop catalog covers 294 source keys across eleven locales. Switching language preserves project data, identifiers, filenames and user content. ProjectSettings.language remains workspace-export metadata and does not select UI or generated-report language.
Synchronizes eleven complete README editions, language navigation and source-hash metadata with the implemented desktop and PWA behavior. Packages the translator and locale resources in the Python wheel and source archive. Version 1.0.0 is unchanged.
Validation: 83 Python GUI/translator/UX/export tests passed; independent live cycling of all eleven desktop locales confirmed persistence, RTL/LTR direction and preservation of data whose text matches interface labels. Earlier PWA integration passed 68 Node tests. Compileall, eleven-document code-block parity, source hashes, UTF-8 and diff checks passed. Wheel and sdist built successfully; an installed-wheel GUI smoke loaded the full catalog and verified its exact production hash.
Local packaging suite: two tests passed; the full installed RAG import test reached the existing chromadb import and failed because chromadb is absent on this host. The test remains unchanged in strength. All ten reported GitHub checks at commit 5827b69 passed, including the dependency-complete Linux/macOS source suites, Python 3.10/3.11/3.12 jobs and PWA tests. CI logs independently confirm 214 tests passed on each of Python 3.10, 3.11 and 3.12. Visible desktop/mobile device acceptance remains open.
Haiku candidates were reviewed/corrected by Luna and independently checked by Root for source binding, catalog coverage, placeholders, protected literals and runtime behavior. Draft for review; no merge, release or deployment.