Parcourir la source

refactor(currency): 코인 → 토큰 UI 재치환 (재화 표시명)

출석 보상·상점/장바구니 결제 잔액 안내의 "코인" 표시명을 "토큰"으로
최종 통일 (attendance/store[id]/cart, 7문자열). 코드 식별자·API 필드·
enum·캐시 문자열 무변경. 잔여 "코인" 0건. npm run build 성공.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
KIM-JINO5 il y a 2 semaines
Parent
commit
23c2e6c8d0
3 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 5 5
      app/(main)/attendance/page.tsx
  2. 1 1
      app/(main)/cart/page.tsx
  3. 1 1
      app/(main)/store/[id]/page.tsx

+ 5 - 5
app/(main)/attendance/page.tsx

@@ -130,7 +130,7 @@ export default function AttendancePage()
 			body: { greeting: greeting.trim() || '' }
 		}).then((res) => {
 			const data = res.data!;
-			let msg = `출석 완료! 순위: ${data.rank}등 | 연속: ${data.consecutiveDays}일 | 경험치: +${data.expRewarded} | 코인: +${data.pointRewarded}P`;
+			let msg = `출석 완료! 순위: ${data.rank}등 | 연속: ${data.consecutiveDays}일 | 경험치: +${data.expRewarded} | 토큰: +${data.pointRewarded}P`;
 			if (data.rankBonusExp > 0 || data.rankBonusPoint > 0) {
 				msg += ` (순위 보상: +${data.rankBonusExp}EXP, +${data.rankBonusPoint}P)`;
 			}
@@ -273,13 +273,13 @@ export default function AttendancePage()
 							<div className="attendance__guide">
 								<section className="attendance__guide-section">
 									<h3>기본 보상</h3>
-									<p>매일 출석 시 경험치 <strong>{config.attendance?.baseExp ?? 0}</strong>, 코인 <strong>{config.attendance?.basePoint ?? 0}P</strong>가 지급됩니다.</p>
+									<p>매일 출석 시 경험치 <strong>{config.attendance?.baseExp ?? 0}</strong>, 토큰 <strong>{config.attendance?.basePoint ?? 0}P</strong>가 지급됩니다.</p>
 								</section>
 
 								{config.attendance?.useStreakBonus && (
 									<section className="attendance__guide-section">
 										<h3>연속 출석 보상</h3>
-										<p>연속 출석 시 1일당 추가 경험치 <strong>+{config.attendance.streakBonusPerDay}</strong>, 코인 <strong>+{config.attendance.streakBonusPointPerDay}P</strong>가 지급됩니다.</p>
+										<p>연속 출석 시 1일당 추가 경험치 <strong>+{config.attendance.streakBonusPerDay}</strong>, 토큰 <strong>+{config.attendance.streakBonusPointPerDay}P</strong>가 지급됩니다.</p>
 										{config.attendance.streakBonusMaxDays > 0 && (
 											<p>최대 <strong>{config.attendance.streakBonusMaxDays}일</strong>까지 적용됩니다.</p>
 										)}
@@ -295,7 +295,7 @@ export default function AttendancePage()
 												<tr>
 													<th scope="col">순위</th>
 													<th scope="col">추가 경험치</th>
-													<th scope="col">추가 코인</th>
+													<th scope="col">추가 토큰</th>
 												</tr>
 											</thead>
 											<tbody>
@@ -398,7 +398,7 @@ export default function AttendancePage()
 						<span>별명</span>
 						<span>출석 인사</span>
 						<span>출석 일시</span>
-						<span>코인</span>
+						<span>토큰</span>
 						<span>경험치</span>
 						<span>개근(일)</span>
 					</div>

+ 1 - 1
app/(main)/cart/page.tsx

@@ -260,7 +260,7 @@ export default function CartPage()
 							/>
 
 							<p className='text-xs text-neutral-500 mt-2'>
-								* 결제 시 캐시·코인 잔액에서 차감됩니다.
+								* 결제 시 캐시·토큰 잔액에서 차감됩니다.
 							</p>
 						</div>
 					</div>

+ 1 - 1
app/(main)/store/[id]/page.tsx

@@ -434,7 +434,7 @@ export default function StoreDetailPage({ params }: { params: Promise<{ id: stri
 					</div>
 
 					<p className='text-xs text-neutral-500'>
-						* 결제 시 캐시·코인 잔액에서 차감됩니다.
+						* 결제 시 캐시·토큰 잔액에서 차감됩니다.
 					</p>
 				</div>
 			</div>