Repository navigation
Live-Sprachwechsel für die gesamte UI, Kacheln auf andere Boards senden/duplizieren & Kachelfarben - #3
Merged
Conversation
- i18n: shared translator (src/i18n.py) + bus.languageChanged; dashboard table headers, filters, version sub-rows, board bar, tiles, context menus, dialogs, messages and shortcut table now switch live (DE/EN/ES/ ZH/JA/RU, 174 new keys, 100% parity) - fix: dashboard context menu dispatched exports by German menu text, which would have broken all exports after translation - translator: auto_register flag; the running app no longer writes empty keys into the bundled translations.json - regression fix: tile context menu "Move to board" / "Duplicate to board" (incl. "New board ..."), atomic Storage.transfer_item() - board rename button, "Pin to board" in prompt tree context menu - feature: per-tile color (BoardItem.color, validated #RRGGBB, presets + custom color), carried along on move/duplicate - board grid: column count follows dock width; stale tiles hidden on rebuild (no overlapping ghost tiles) - 32 new tests Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JjQnwo3ePCbGvz8VAZhnrD
|
Welcome! Thanks for your first pull request in this repository. A maintainer will review it soon. Please make sure:
Thanks for contributing! |
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.
Zusammenfassung
Behebt die gemeldeten Probleme und ergänzt das gewünschte Feature:
1. Sprachwechsel greift jetzt überall (vorher nur Menüleiste)
src/i18n.pymit einem gemeinsamen Translator (tr());MainWindow.change_language()sendetbus.languageChanged, Dashboard, Prompt-Baum und BoardManager beschriften sich perretranslate_ui()live neu (kein Neustart nötig).manage_translations.py --check).chosen.text().startswith("Prompt exportieren")). Nach der Übersetzung hätten alle Exporte nichts mehr getan. Ausgewertet wird jetzt über das Aktionsobjekt.TranslationSystem(auto_register=False)für die laufende App: Sie schreibt keine leeren Keys mehr in die gebündeltetranslations.json.2. Regression: Kacheln auf andere Boards senden/duplizieren
Storage.transfer_item()(move_item_to_board/copy_item_to_board) aktualisiert Quell- und Ziel-Board in einem atomaren Schreibvorgang. Steht die Kachel schon auf dem Ziel-Board, wird mit einem Hinweis abgebrochen.3. Feature: Kachelfarbe pro Kachel
BoardItem.color(#RRGGBB), wird beim Verschieben/Duplizieren mitgenommen. Ungültige Werte werden streng geprüft und verworfen (keine QSS-Injection). Alte JSON-Dateien ohne das Feld laden unverändert;EXPORTFORMAT.mdist ergänzt (additives v1-Feld).Zusätzlich gefunden
Tests
tests/test_i18n_live_board_transfer_tile_colors_20261006.pymit 32 Tests: Live-Sprachwechsel inkl. Tabellenköpfen, Abdeckung allertr()-Keys mit gleichen Platzhaltern in allen Sprachen, Verschieben/Duplizieren/Grenzfälle, Kachelfarben inkl. Prüfung ungültiger Werte, responsives Raster.conftest.py: setzt die globale UI-Sprache nach jedem Test aufdezurück.🤖 Generated with Claude Code
https://claude.ai/code/session_01JjQnwo3ePCbGvz8VAZhnrD
Generated by Claude Code