refactor(model): SpellBook을 SkillBook으로 리네이밍

- 게임 컨셉에 맞게 주문서 → 스킬북 용어 통일
- 관련 모든 참조 일괄 변경
This commit is contained in:
JiWoong Sul
2026-01-06 18:45:16 +09:00
parent afc3c18ae4
commit 8d51263b2e
14 changed files with 114 additions and 114 deletions

View File

@@ -516,12 +516,12 @@ class _HallOfFameDetailDialog extends StatelessWidget {
),
const SizedBox(height: 16),
],
// 스 섹션 (Spells Section)
if (entry.finalSpells != null && entry.finalSpells!.isNotEmpty)
// 스 섹션 (Skills Section)
if (entry.finalSkills != null && entry.finalSkills!.isNotEmpty)
_buildSection(
icon: Icons.auto_fix_high,
title: l10n.hofSpells,
child: _buildSpellList(context),
child: _buildSkillList(context),
),
],
),
@@ -983,15 +983,15 @@ class _HallOfFameDetailDialog extends StatelessWidget {
return widgets;
}
Widget _buildSpellList(BuildContext context) {
final spells = entry.finalSpells!;
Widget _buildSkillList(BuildContext context) {
final skills = entry.finalSkills!;
return Wrap(
spacing: 8,
runSpacing: 4,
children: spells.map((spell) {
final name = spell['name'] ?? '';
final rank = spell['rank'] ?? '';
// 스 이름 번역 적용
children: skills.map((skill) {
final name = skill['name'] ?? '';
final rank = skill['rank'] ?? '';
// 스 이름 번역 적용
final translatedName = GameDataL10n.getSpellName(context, name);
return Container(
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 4),