feat(i18n): 마이페이지 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -29,7 +29,7 @@ struct CanPaymentView: View {
|
||||
|
||||
GeometryReader { proxy in
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "결제하기")
|
||||
DetailNavigationBar(title: I18n.MyPage.Can.Payment.title)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 0) {
|
||||
@@ -63,7 +63,7 @@ struct CanPaymentView: View {
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
|
||||
Text("구매조건 확인 및 결제 진행 동의")
|
||||
Text(I18n.MyPage.Can.Payment.termsAgreement)
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
@@ -79,7 +79,7 @@ struct CanPaymentView: View {
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
|
||||
Text("결제 취소는 결제 후 7일 이내에만 할 수 있습니다.\n단, 캔의 일부를 사용하면 결제 취소를 할 수 없습니다.")
|
||||
Text(I18n.MyPage.Can.Payment.noticeCancellationPolicy)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -91,7 +91,7 @@ struct CanPaymentView: View {
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
|
||||
Text("광고성 이벤트 등 회사가 무료로 지급한 포인트는 환불되지 않습니다.")
|
||||
Text(I18n.MyPage.Can.Payment.noticeEventPointNoRefund)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -103,7 +103,7 @@ struct CanPaymentView: View {
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
|
||||
Text("자세한 내용은 보이스온 이용약관에서 확인할 수 있습니다.")
|
||||
Text(I18n.MyPage.Can.Payment.noticeTermsReference)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -118,7 +118,7 @@ struct CanPaymentView: View {
|
||||
|
||||
HStack(spacing: 0) {
|
||||
VStack(alignment: .leading, spacing: 5) {
|
||||
Text("결제금액")
|
||||
Text(I18n.MyPage.Can.Payment.amountTitle)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
@@ -131,7 +131,7 @@ struct CanPaymentView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("결제하기")
|
||||
Text(I18n.MyPage.Can.Payment.payAction)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 16)
|
||||
@@ -144,7 +144,7 @@ struct CanPaymentView: View {
|
||||
storeManager.payment(product: product, chargeId: chargeId)
|
||||
}
|
||||
} else {
|
||||
viewModel.errorMessage = "결제진행에 동의하셔야 결제가 가능합니다."
|
||||
viewModel.errorMessage = I18n.MyPage.Can.Payment.agreementRequired
|
||||
viewModel.isShowPopup = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user