feat(i18n): 라이브 모듈 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-04-01 11:58:41 +09:00
parent 201f4c8139
commit 540238eb48
20 changed files with 333 additions and 97 deletions

View File

@@ -55,7 +55,7 @@ struct LiveReservationAllItemView: View {
Spacer()
if item.isReservation {
Text("예약완료")
Text(I18n.LiveReservation.Item.reservationCompleted)
.appFont(size: 11.3, weight: .medium)
.foregroundColor(Color(hex: "d2d2d2"))
.padding(.horizontal, 7)
@@ -63,7 +63,7 @@ struct LiveReservationAllItemView: View {
.background(Color(hex: "533d89"))
.cornerRadius(10)
} else {
Text(item.price > 0 ? "\(item.price)" : "무료")
Text(item.price > 0 ? I18n.LiveReservation.Item.priceWithCan(item.price) : I18n.LiveReservation.Item.free)
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "e2e2e2").opacity(0.49))
.padding(.bottom, 6.7)

View File

@@ -21,7 +21,7 @@ struct LiveReservationAllView: View {
BaseView(isLoading: $viewModel.isLoading) {
GeometryReader { proxy in
VStack(spacing: 0) {
DetailNavigationBar(title: "라이브, 예약 캘린더")
DetailNavigationBar(title: I18n.LiveReservation.All.title)
WeekCalendarView { date in
viewModel.selectedDateString = date
@@ -57,7 +57,7 @@ struct LiveReservationAllView: View {
.resizable()
.frame(width: 60, height: 60)
Text("지금 예약중인 라이브가 없습니다.\n다른 날짜의 라이브를 예약하고 참여해 보세요.")
Text(I18n.LiveReservation.All.emptyStateMessage)
.appFont(size: 13, weight: .medium)
.foregroundColor(Color(hex: "bbbbbb"))
.multilineTextAlignment(.center)