feat: 다국어 지원 및 다중 통화 환율 변환 기능 확대
- ExchangeRateService에 JPY, CNY 환율 지원 추가 - 구독 서비스별 다국어 표시 이름 지원 - 분석 화면 차트 및 UI/UX 개선 - 설정 화면 전면 리팩토링 - SMS 스캔 기능 사용성 개선 - 전체 앱 다국어 번역 확대 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -76,7 +76,7 @@ class SmsScanner {
|
||||
try {
|
||||
final serviceName = sms['serviceName'] as String? ?? '알 수 없는 서비스';
|
||||
final monthlyCost = (sms['monthlyCost'] as num?)?.toDouble() ?? 0.0;
|
||||
final billingCycle = sms['billingCycle'] as String? ?? '월간';
|
||||
final billingCycle = SubscriptionModel.normalizeBillingCycle(sms['billingCycle'] as String? ?? 'monthly');
|
||||
final nextBillingDateStr = sms['nextBillingDate'] as String?;
|
||||
// 실제 반복 횟수 사용 (테스트 데이터에서는 이미 제공됨)
|
||||
final actualRepeatCount = repeatCount > 0 ? repeatCount : 1;
|
||||
@@ -142,7 +142,7 @@ class SmsScanner {
|
||||
}
|
||||
|
||||
// 결제 주기별 다음 결제일 계산
|
||||
if (billingCycle == '월간') {
|
||||
if (billingCycle == 'monthly') {
|
||||
int month = now.month;
|
||||
int year = now.year;
|
||||
|
||||
@@ -156,7 +156,7 @@ class SmsScanner {
|
||||
}
|
||||
|
||||
return DateTime(year, month, billingDate.day);
|
||||
} else if (billingCycle == '연간') {
|
||||
} else if (billingCycle == 'yearly') {
|
||||
// 올해의 결제일이 지났는지 확인
|
||||
final thisYearBilling =
|
||||
DateTime(now.year, billingDate.month, billingDate.day);
|
||||
@@ -165,7 +165,7 @@ class SmsScanner {
|
||||
} else {
|
||||
return thisYearBilling;
|
||||
}
|
||||
} else if (billingCycle == '주간') {
|
||||
} else if (billingCycle == 'weekly') {
|
||||
// 가장 가까운 다음 주 같은 요일 계산
|
||||
final dayDifference = billingDate.weekday - now.weekday;
|
||||
final daysToAdd = dayDifference > 0 ? dayDifference : 7 + dayDifference;
|
||||
|
||||
Reference in New Issue
Block a user