feat(i18n): 마이페이지 그룹 3~5 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 23:32:05 +09:00
parent b53614836f
commit 7285c5367d
22 changed files with 423 additions and 111 deletions

View File

@@ -50,8 +50,8 @@ struct LiveReservationStatusItemView: View {
HStack(spacing: 0) {
Text(
item.price > 0 ?
"\(item.price)" :
"무료"
I18n.MyPage.Reservation.cansUnit(item.price) :
I18n.MyPage.Reservation.LiveStatus.free
)
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "e2e2e2").opacity(0.4))
@@ -59,7 +59,7 @@ struct LiveReservationStatusItemView: View {
Spacer()
if !item.cancelable {
Text("예약 취소 불가")
Text(I18n.MyPage.Reservation.LiveStatus.cancelUnavailable)
.appFont(size: 10.7, weight: .light)
.foregroundColor(Color(hex: "777777"))
}
@@ -72,7 +72,7 @@ struct LiveReservationStatusItemView: View {
if item.cancelable {
Spacer()
Text("예약\n취소")
Text(I18n.MyPage.Reservation.LiveStatus.cancelAction)
.appFont(size: 12, weight: .bold)
.foregroundColor(Color(hex: "9970ff"))
.padding(10.7)