fix(i18n): VictoryOverlay 번역 및 개선
- 일본어/중국어 번역 수정 - game_text_l10n 번역 데이터 정리 - VictoryOverlay 레이아웃 개선 - GameSessionController 상태 관리 개선
This commit is contained in:
@@ -316,6 +316,12 @@ class GameSessionController extends ChangeNotifier {
|
||||
// 통계 기록
|
||||
await _statisticsStorage.recordGameComplete();
|
||||
debugPrint('[HallOfFame] Registration complete');
|
||||
|
||||
// 클리어된 세이브 파일 삭제 (중복 등록 방지)
|
||||
if (success) {
|
||||
final deleteResult = await saveManager.deleteSave();
|
||||
debugPrint('[HallOfFame] Save file deleted: ${deleteResult.success}');
|
||||
}
|
||||
} catch (e, st) {
|
||||
debugPrint('[HallOfFame] ERROR: $e');
|
||||
debugPrint('[HallOfFame] StackTrace: $st');
|
||||
|
||||
@@ -450,16 +450,16 @@ class _VictoryOverlayState extends State<VictoryOverlay>
|
||||
|
||||
Widget _buildTrophyAsciiArt(Color gold) {
|
||||
const trophy = '''
|
||||
___________
|
||||
'._==_==_=_.'
|
||||
.-\\: /-.
|
||||
| (|:. |) |
|
||||
'-|:. |-'
|
||||
\\::. /
|
||||
'::. .'
|
||||
) (
|
||||
_.' '._
|
||||
'-------' ''';
|
||||
___________
|
||||
'._==_==_=_.'
|
||||
.-\\: /-.
|
||||
| (|:. |) |
|
||||
'-|:. |-'
|
||||
\\::. /
|
||||
'::. .'
|
||||
) (
|
||||
_.' '._
|
||||
'-------' ''';
|
||||
|
||||
return Text(
|
||||
trophy,
|
||||
@@ -476,51 +476,35 @@ class _VictoryOverlayState extends State<VictoryOverlay>
|
||||
Widget _buildCredits(BuildContext context) {
|
||||
final textPrimary = RetroColors.textPrimaryOf(context);
|
||||
final textMuted = RetroColors.textMutedOf(context);
|
||||
final gold = RetroColors.goldOf(context);
|
||||
|
||||
return Column(
|
||||
children: [
|
||||
Text(
|
||||
'Based on',
|
||||
style: TextStyle(
|
||||
fontFamily: 'JetBrainsMono',
|
||||
fontSize: 10,
|
||||
color: textMuted,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'Progress Quest',
|
||||
'ASCII NEVER DIE',
|
||||
style: TextStyle(
|
||||
fontFamily: 'PressStart2P',
|
||||
fontSize: 10,
|
||||
fontSize: 12,
|
||||
color: gold,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
'Thank you for playing!',
|
||||
style: TextStyle(
|
||||
fontFamily: 'JetBrainsMono',
|
||||
fontSize: 12,
|
||||
color: textPrimary,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
'by Eric Fredricksen',
|
||||
'Your legend lives on...',
|
||||
style: TextStyle(
|
||||
fontFamily: 'JetBrainsMono',
|
||||
fontSize: 10,
|
||||
color: textMuted,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
Text(
|
||||
'Flutter Port',
|
||||
style: TextStyle(
|
||||
fontFamily: 'JetBrainsMono',
|
||||
fontSize: 10,
|
||||
color: textMuted,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'ASCII Never Die',
|
||||
style: TextStyle(
|
||||
fontFamily: 'PressStart2P',
|
||||
fontSize: 10,
|
||||
color: textPrimary,
|
||||
fontStyle: FontStyle.italic,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user