This repository was archived by the owner on Aug 5, 2026. It is now read-only.
feat: Level-Texte übersetzt, Kategoriefilter entfernt, Ranglisten-Header korrigiert - #7
Merged
Merged
Conversation
…d header Level descriptions and category names are bilingual now. They live in one shared table (src/levels/descriptions.ts): the generator picks the German line and writes it into the level JSON, the UI looks that line back up for its English twin. Level NAMES stay German — "Nadeleis", "Brandspur" are proper nouns carrying the sector identity, and translating them would flatten it. A test walks every shipped level and fails if its description or category has no twin, which is how the thirteen hand-written anchor lines were found: they never came from the generator's pools and would have shown German inside the English UI. Category filter bar removed as requested — every level of the active world is simply shown. The category still labels each card, it just no longer filters. Leaderboard, two things noticed while in there: - The right-aligned "Zeit" header sat visibly off its column. letter-spacing hangs after the LAST glyph too, which shoved it left and read as a cut-off word; the header now gets that space back as padding. - The board cut off at ten entries. It scrolls anyway, so the cap is 50 now — at ten, the eleventh player stops being able to see their own row, which is the one number they came for. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SU6PBvGFbeHyKhBgnAnz1H
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Level-Texte zweisprachig
Beschreibungen und Kategorienamen gibt es jetzt auf Deutsch und Englisch, aus einer gemeinsamen Tabelle (
src/levels/descriptions.ts): Der Generator schreibt die deutsche Zeile ins Level-JSON, die UI schlägt daraus die englische nach.Level-Namen bleiben deutsch — „Nadeleis", „Brandspur" sind Eigennamen, die die Sektor-Identität tragen; übersetzt würden sie flach.
Ein Test läuft über jedes ausgelieferte Level und schlägt fehl, wenn Beschreibung oder Kategorie keine Entsprechung hat. So sind die dreizehn handgeschriebenen Anker-Zeilen aufgefallen: Die stammen nicht aus den Generator-Pools und hätten in der englischen Oberfläche deutsch dagestanden.
Kategoriefilter entfernt
Wie gewünscht — es werden schlicht alle Level der aktiven Welt gezeigt. Die Kategorie beschriftet weiterhin jede Karte, sie filtert nur nicht mehr.
Rangliste
letter-spacinghängt auch nach dem letzten Buchstaben, was ihn nach links schob und wie ein abgeschnittenes Wort aussah. Der Header bekommt diesen Abstand jetzt als Padding zurück.🤖 Generated with Claude Code
https://claude.ai/code/session_01SU6PBvGFbeHyKhBgnAnz1H