Apply t('home.count') to home dashboard and fund-account components

- Remove NumericFormat dependency from home UI components
- Replace NumericFormat with t('home.count') for transaction counts
  - day-status-box-container1.tsx: approvalCount, cancelCount
  - day-status-box-container2.tsx: dailyAverageCount
  - fund-account/result-list-wrap.tsx: request/success/fail counts
- Replace NumericFormat with direct formatting for percentages
  - Increase/decrease rates in both container components
  - Settlement limit percentage display
- Ensure consistent localization pattern across all count displays

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-11-04 17:07:22 +09:00
parent dbce0c6603
commit 4fd3acfaa1
3 changed files with 13 additions and 50 deletions

View File

@@ -294,21 +294,21 @@ export const FundAccountResultListWrap = () => {
<span className="label">{t('additionalService.common.request')}</span>
<span className="value">
{t('home.money', { value: new Intl.NumberFormat('en-US').format(totalRequestAmount) })}
<span className="unit"> ({new Intl.NumberFormat('en-US').format(totalRequestCount)}{t('home.count')})</span>
<span className="unit"> ({t('home.count', { value: new Intl.NumberFormat('en-US').format(totalRequestCount) })})</span>
</span>
</li>
<li className="summary-amount-item">
<span className="label">{t('additionalService.common.success')}</span>
<span className="value">
{t('home.money', { value: new Intl.NumberFormat('en-US').format(totalSuccessAmount) })}
<span className="unit"> ({new Intl.NumberFormat('en-US').format(totalSuccessCount)}{t('home.count')})</span>
<span className="unit"> ({t('home.count', { value: new Intl.NumberFormat('en-US').format(totalSuccessCount) })})</span>
</span>
</li>
<li className="summary-amount-item">
<span className="label">{t('additionalService.common.fail')}</span>
<span className="value">
{t('home.money', { value: new Intl.NumberFormat('en-US').format(totalFailAmount) })}
<span className="unit"> ({new Intl.NumberFormat('en-US').format(totalFailCount)}{t('home.count')})</span>
<span className="unit"> ({t('home.count', { value: new Intl.NumberFormat('en-US').format(totalFailCount) })})</span>
</span>
</li>
</ul>