feat(l10n): 게임 텍스트 다국어 지원 확장
- game_text_l10n.dart: 스탯/UI 텍스트 추가 (+61 라인) - 한국어/일본어 번역 업데이트 - game_data_l10n.dart: 텍스트 접근자 추가 - equipment_stats_panel: l10n 적용 및 레이아웃 개선 - active_buff_panel, potion_inventory_panel: 코드 정리 - new_character_screen: 코드 정리 - progress_service: 마이너 개선
This commit is contained in:
@@ -145,7 +145,7 @@ class _NewCharacterScreenState extends State<NewCharacterScreen> {
|
||||
if (name.isEmpty) {
|
||||
ScaffoldMessenger.of(
|
||||
context,
|
||||
).showSnackBar(const SnackBar(content: Text('이름을 입력해주세요.')));
|
||||
).showSnackBar(SnackBar(content: Text(game_l10n.uiEnterName)));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -359,7 +359,7 @@ class _NewCharacterScreenState extends State<NewCharacterScreen> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: Text(
|
||||
'${_rollHistory.length} roll(s) in history',
|
||||
game_l10n.uiRollHistory(_rollHistory.length),
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user