feat(l10n): 누락된 번역 및 기본 무기 수정
- 기본 무기를 'Sharp Stick'에서 'Keyboard'로 변경 (아스키나라 세계관) - 몬스터 번역 168개 추가 (보안 위협, 버그 등) - BoringItems(잡템) 번역 42개 추가 - game_data_l10n에서 boringItem 번역 적용
This commit is contained in:
@@ -244,9 +244,7 @@ class GameDataL10n {
|
||||
static String _renderItemResultKo(ItemResult result) {
|
||||
// 단순 아이템 (boringItem)
|
||||
if (result.boringItem != null) {
|
||||
// boringItem은 별도 번역 맵이 필요할 수 있음
|
||||
// 현재는 그대로 반환 (대부분 영어 그대로 사용)
|
||||
return result.boringItem!;
|
||||
return boringItemTranslationsKo[result.boringItem] ?? result.boringItem!;
|
||||
}
|
||||
|
||||
// 복합 아이템: attrib + special + itemOf
|
||||
@@ -383,7 +381,7 @@ class GameDataL10n {
|
||||
return '$attribKo $specialKo';
|
||||
}
|
||||
|
||||
// 단일 단어 (boringItem 등)
|
||||
return itemString;
|
||||
// 단일 단어 (boringItem 등) - 잡템 번역 시도
|
||||
return boringItemTranslationsKo[itemString] ?? itemString;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ class Equipment {
|
||||
static const slotCount = 11;
|
||||
|
||||
factory Equipment.empty() => const Equipment(
|
||||
weapon: 'Sharp Stick',
|
||||
weapon: 'Keyboard',
|
||||
shield: '',
|
||||
helm: '',
|
||||
hauberk: '',
|
||||
|
||||
@@ -173,7 +173,7 @@ class GameSave {
|
||||
.toList(),
|
||||
),
|
||||
equipment: Equipment(
|
||||
weapon: equipmentJson['weapon'] as String? ?? 'Sharp Stick',
|
||||
weapon: equipmentJson['weapon'] as String? ?? 'Keyboard',
|
||||
shield: equipmentJson['shield'] as String? ?? '',
|
||||
helm: equipmentJson['helm'] as String? ?? '',
|
||||
hauberk: equipmentJson['hauberk'] as String? ?? '',
|
||||
|
||||
Reference in New Issue
Block a user