fix(test): translate the remaining Worn Shortsword and Padded Helm fixture names

Task 10 review sweep found two German strings the closing sweep missed:
'Abgenutztes Kurzschwert' (8 occurrences across 5 spec files, the real
seeded worn-short-sword item) and 'Gepolsterter Helm' (1 occurrence, a
synthetic test-only bonus-hp-helm fixture). Translated both to their
English equivalents per the item-content.ts glossary and slice style.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ACkMEDYiwtcfchqKkiUJNX
This commit is contained in:
Bastian Wagner
2026-08-21 23:18:12 +02:00
parent 1322285b0f
commit fdd83f2dee
5 changed files with 10 additions and 10 deletions

View File

@@ -255,7 +255,7 @@ function itemDefinition(
return {
id: WORN_SWORD_DEFINITION_ID,
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
description: '',
type: ItemType.EQUIPMENT,
equipmentSlot: EquipmentSlot.WEAPON,

View File

@@ -167,7 +167,7 @@ function itemDefinition(
return {
id: 'def-worn-sword',
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
description: '',
type: ItemType.EQUIPMENT,
equipmentSlot: EquipmentSlot.WEAPON,
@@ -261,7 +261,7 @@ describe('EquipmentService', () => {
characterItemId: WORN_SWORD_ITEM_ID,
item: {
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
rarity: 'COMMON',
iconPath: '/images/items/worn-short-sword.png',
},
@@ -464,7 +464,7 @@ describe('EquipmentService', () => {
const bonusHpHelm = itemDefinition({
id: 'def-bonus-hp-helm',
key: 'bonus-hp-helm',
name: 'Gepolsterter Helm',
name: 'Padded Helm',
equipmentSlot: EquipmentSlot.HEAD,
bonusHp: 20,
weaponDamage: 0,

View File

@@ -9,7 +9,7 @@ const wornSword: InventoryItem = {
equipped: true,
item: {
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
description: 'Item description.',
rarity: 'COMMON',
equipmentSlot: 'WEAPON',

View File

@@ -16,7 +16,7 @@ const inventory: InventoryResponse = {
equipped: true,
item: {
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
description: 'Item description.',
rarity: 'COMMON',
equipmentSlot: 'WEAPON',
@@ -49,7 +49,7 @@ const inventory: InventoryResponse = {
const equipment: EquipmentResponse = {
slots: {
WEAPON: { characterItemId: 'item-sword', item: { key: 'worn-short-sword', name: 'Abgenutztes Kurzschwert', rarity: 'COMMON', iconPath: '/images/items/worn-short-sword.png' } },
WEAPON: { characterItemId: 'item-sword', item: { key: 'worn-short-sword', name: 'Worn Shortsword', rarity: 'COMMON', iconPath: '/images/items/worn-short-sword.png' } },
HEAD: null,
CHEST: null,
HANDS: null,
@@ -150,7 +150,7 @@ describe('InventoryPageComponent', () => {
const text = (fixture.nativeElement as HTMLElement).querySelector('.inventory-page__equipment-list')?.textContent ?? '';
expect(text).toContain('Weapon');
expect(text).toContain('Abgenutztes Kurzschwert');
expect(text).toContain('Worn Shortsword');
expect(text).toContain('Head');
expect(text).toContain('Empty');
});

View File

@@ -15,7 +15,7 @@ const inventory: InventoryResponse = {
equipped: true,
item: {
key: 'worn-short-sword',
name: 'Abgenutztes Kurzschwert',
name: 'Worn Shortsword',
description: 'Item description.',
rarity: 'COMMON',
equipmentSlot: 'WEAPON',
@@ -48,7 +48,7 @@ const inventory: InventoryResponse = {
const equipment: EquipmentResponse = {
slots: {
WEAPON: { characterItemId: 'item-sword', item: { key: 'worn-short-sword', name: 'Abgenutztes Kurzschwert', rarity: 'COMMON', iconPath: '/images/items/worn-short-sword.png' } },
WEAPON: { characterItemId: 'item-sword', item: { key: 'worn-short-sword', name: 'Worn Shortsword', rarity: 'COMMON', iconPath: '/images/items/worn-short-sword.png' } },
HEAD: null,
CHEST: null,
HANDS: null,