refactor(model): SpellBook을 SkillBook으로 리네이밍
- 게임 컨셉에 맞게 주문서 → 스킬북 용어 통일 - 관련 모든 참조 일괄 변경
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user