refactor: 타입 안전성 개선 및 하드코딩 문자열 l10n 적용

- return_rewards_dialog: _getRarityColor(dynamic) → ItemRarity? 타입 명시
- stats_section: 하드코딩된 Undo/Rolls 문자열을 l10n으로 교체
- game_text_l10n: uiUndoAndRolls, uiRollsOnly 추가 (한/영/일)
- skill_data: 주석 스킬 개수 70→68 수정
This commit is contained in:
JiWoong Sul
2026-03-19 14:56:58 +09:00
parent 2e66562ea2
commit 7fcae4893e
3 changed files with 19 additions and 11 deletions

View File

@@ -1021,6 +1021,13 @@ String uiRollHistory(int count) =>
_l('$count roll(s) in history', '리롤 기록: $count회', 'リロール履歴: $count回');
String get uiEnterName =>
_l('Please enter a name.', '이름을 입력해주세요.', '名前を入力してください。');
String uiUndoAndRolls(int undo, int rolls) => _l(
'Undo: $undo | Rolls: $rolls/5',
'되돌리기: $undo | 굴리기: $rolls/5',
'やり直し: $undo | ロール: $rolls/5',
);
String uiRollsOnly(int rolls) =>
_l('Rolls: $rolls/5', '굴리기: $rolls/5', 'ロール: $rolls/5');
String get uiTestMode => _l('Test Mode', '테스트 모드', 'テストモード');
String get uiTestModeDesc =>
_l('Use mobile layout on web', '웹에서 모바일 레이아웃 사용', 'Webでモバイルレイアウトを使用');