fix: close out remaining German player-facing text across web and API tests
Repo-wide grep sweep (apps/web/src, apps/api/src) for leftover German content strings missed by Tasks 1-9, mostly in spec fixtures/assertions that mirror already-translated seed content (monster/item names, POI titles and action labels, location names/descriptions) plus a few real source-file gaps: - inventory-detail-panel.component.ts: STAT_LABELS (Waffenschaden, Angriff, Leben, Rüstung) were never translated by Task 6; now match the identical English labels already used in inventory-page.component.html. - app-shell.component.html: aria-label="Spielinhalt" -> "Game content" (this file was outside every prior task's file list). - location-interaction-panel.component.spec.ts: dead NPC-quote fixture translated to match the real wounded-scout POI text. Code comments referencing German source-spec section titles or not-yet-seeded faction names, and inline calculation-documentation comments, are left as-is per the source spec's scope (dev-facing comments may stay German). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ACkMEDYiwtcfchqKkiUJNX
This commit is contained in:
@@ -17,8 +17,8 @@ const CHARACTER_ID = '10000000-0000-4000-8000-000000000001';
|
||||
const BURNED_ROAD_POIS: LocationPointOfInterestContent[] = [
|
||||
{
|
||||
key: 'hunt-area',
|
||||
title: 'Jagdgebiet',
|
||||
actionLabel: 'Jagd beginnen',
|
||||
title: 'Hunting Ground',
|
||||
actionLabel: 'Begin Hunt',
|
||||
type: 'HUNT',
|
||||
iconKey: 'hunt',
|
||||
xPercent: 52,
|
||||
@@ -27,42 +27,42 @@ const BURNED_ROAD_POIS: LocationPointOfInterestContent[] = [
|
||||
},
|
||||
{
|
||||
key: 'inspect-tracks',
|
||||
title: 'Verdächtige Spuren',
|
||||
actionLabel: 'Untersuchen',
|
||||
title: 'Suspicious Tracks',
|
||||
actionLabel: 'Investigate',
|
||||
type: 'INVESTIGATE',
|
||||
iconKey: 'investigate',
|
||||
xPercent: 32,
|
||||
yPercent: 78,
|
||||
enabled: true,
|
||||
resultTitle: 'Verdächtige Spuren',
|
||||
resultTitle: 'Suspicious Tracks',
|
||||
resultText:
|
||||
'Zwischen Asche und zerbrochenen Steinen erkennst du mehrere frische Stiefelabdrücke.',
|
||||
'Between the ash and broken stones you make out several fresh bootprints.',
|
||||
},
|
||||
{
|
||||
key: 'sealed-crypt',
|
||||
title: 'Versiegelte Krypta',
|
||||
title: 'Sealed Crypt',
|
||||
type: 'DUNGEON',
|
||||
iconKey: 'search',
|
||||
xPercent: 90,
|
||||
yPercent: 20,
|
||||
enabled: false,
|
||||
resultTitle: 'Versiegelte Krypta',
|
||||
resultText: 'Noch verschlossen.',
|
||||
resultTitle: 'Sealed Crypt',
|
||||
resultText: 'Still sealed.',
|
||||
},
|
||||
];
|
||||
|
||||
const SOUTH_GATE_POIS: LocationPointOfInterestContent[] = [
|
||||
{
|
||||
key: 'gate-watch',
|
||||
title: 'Torwache',
|
||||
actionLabel: 'Sprechen',
|
||||
title: 'Gate Watch',
|
||||
actionLabel: 'Talk',
|
||||
type: 'NPC',
|
||||
iconKey: 'speak',
|
||||
xPercent: 45,
|
||||
yPercent: 52,
|
||||
enabled: true,
|
||||
resultTitle: 'Torwache',
|
||||
resultText: 'Nur am Südtor zu hören.',
|
||||
resultTitle: 'Gate Watch',
|
||||
resultText: 'Only heard at the South Gate.',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -109,8 +109,8 @@ describe('WorldService.runLocalInteraction', () => {
|
||||
service.runLocalInteraction(CHARACTER_ID, 'inspect-tracks'),
|
||||
).resolves.toEqual({
|
||||
interactionKey: 'inspect-tracks',
|
||||
title: 'Verdächtige Spuren',
|
||||
text: 'Zwischen Asche und zerbrochenen Steinen erkennst du mehrere frische Stiefelabdrücke.',
|
||||
title: 'Suspicious Tracks',
|
||||
text: 'Between the ash and broken stones you make out several fresh bootprints.',
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user