diff --git a/SodaLive/Sources/I18n/I18n.swift b/SodaLive/Sources/I18n/I18n.swift index b6ff25b..4336f2e 100644 --- a/SodaLive/Sources/I18n/I18n.swift +++ b/SodaLive/Sources/I18n/I18n.swift @@ -596,6 +596,14 @@ enum I18n { ja: "キャンセル理由を入力してください" ) } + + static var reservationCanceled: String { + pick( + ko: "예약이 취소되었습니다.", + en: "The reservation has been canceled.", + ja: "予約がキャンセルされました。" + ) + } } enum CreateContent { diff --git a/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift b/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift index 56a97c4..59ec5ad 100644 --- a/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift +++ b/SodaLive/Sources/Live/Room/Detail/LiveDetailView.swift @@ -46,7 +46,7 @@ struct LiveDetailView: View { if isShowCancelPopup { LiveCancelDialog(isShowCancelPopup: $isShowCancelPopup) { reason in viewModel.liveCancel(roomId: roomId, reason: reason) { - viewModel.errorMessage = "예약이 취소되었습니다." + viewModel.errorMessage = I18n.LiveCancel.reservationCanceled viewModel.isShowPopup = true onClickCancel() } @@ -241,7 +241,7 @@ struct LiveDetailView: View { Text(room.tags.map { "#\($0)" }.joined(separator: " ")) .font(.custom(Font.medium.rawValue, size: 13.3)) - .foregroundColor(Color(hex: "9970ff")) + .foregroundColor(Color(hex: "3bb9f1")) .frame(width: proxy.size.width - 26, alignment: .leading) .padding(.top, 26.7) @@ -292,7 +292,7 @@ struct LiveDetailView: View { .padding(.vertical, 13.3) .frame(width: geo.size.width - 66.7, alignment: .center) .font(.custom(Font.medium.rawValue, size: 12)) - .background(Color(hex: "9970ff")) + .background(Color(hex: "3bb9f1")) .foregroundColor(Color.white) .multilineTextAlignment(.center) .cornerRadius(20) @@ -333,7 +333,7 @@ struct LiveDetailView: View { .overlay( RoundedRectangle(cornerRadius: 10) .strokeBorder(lineWidth: 1) - .foregroundColor(Color(hex: "9970ff")) + .foregroundColor(Color(hex: "3bb9f1")) ) .onTapGesture { AppState.shared.back() @@ -345,7 +345,7 @@ struct LiveDetailView: View { .foregroundColor(Color.white) .padding(.vertical, 16) .frame(maxWidth: .infinity) - .background(Color(hex: "9970ff")) + .background(Color(hex: "3bb9f1")) .cornerRadius(10) .onTapGesture { onClickStart() @@ -387,7 +387,7 @@ struct LiveDetailView: View { .foregroundColor(Color.white) .padding(.vertical, 16) .padding(.horizontal, 99) - .background(Color(hex: "9970ff")) + .background(Color(hex: "3bb9f1")) .cornerRadius(10) } .frame(width: screenSize().width - 26.7)