feat(i18n): 주요 UI 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 17:09:01 +09:00
parent 47085dc1ca
commit b2f66cf408
17 changed files with 448 additions and 196 deletions

View File

@@ -36,7 +36,7 @@ struct LivePaymentDialog: View {
if let startDateTime = startDateTime, let nowDateTime = nowDateTime, let desc = desc2 {
VStack(spacing: 13.3) {
HStack(spacing: 6.7) {
Text("- 시작 시각 : ")
Text(I18n.Dialog.LivePayment.startTimePrefix)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.graybb)
@@ -46,7 +46,7 @@ struct LivePaymentDialog: View {
}
HStack(spacing: 6.7) {
Text("- 현재 시각 :")
Text(I18n.Dialog.LivePayment.currentTimePrefix)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.graybb)
.multilineTextAlignment(.leading)
@@ -70,7 +70,7 @@ struct LivePaymentDialog: View {
}
HStack(spacing: 13.3) {
Text("취소")
Text(cancelButtonTitle)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.button)
.padding(.vertical, 16)
@@ -83,7 +83,7 @@ struct LivePaymentDialog: View {
)
.onTapGesture { cancelButtonAction() }
Text("결제 후 입장")
Text(confirmButtonTitle)
.appFont(size: 18.3, weight: .bold)
.padding(.vertical, 16)
.frame(maxWidth: .infinity)
@@ -106,9 +106,9 @@ struct LivePaymentDialog: View {
title: "유료 라이브 입장",
desc: "OO캔을 차감하고\n라이브에 입장 하시겠습니까?",
desc2: "라이브가 시작한 지 1시간 10분이 지났습니다. 라이브에 입장 후 30분 이내에 라이브가 종료될 수도 있습니다.",
confirmButtonTitle: "",
confirmButtonTitle: I18n.MemberChannel.paidLiveConfirmTitle,
confirmButtonAction: {},
cancelButtonTitle: "",
cancelButtonTitle: I18n.Common.cancel,
cancelButtonAction: {},
startDateTime: "2024-01-01 15:00",
nowDateTime: "2024-01-02 15:00"