feat(i18n): 콘텐츠 상세/댓글 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -35,7 +35,7 @@ struct ContentOrderConfirmDialogView: View {
|
||||
.ignoresSafeArea()
|
||||
|
||||
VStack(spacing: 0) {
|
||||
Text("구매확인")
|
||||
Text(I18n.ContentDetail.OrderConfirmDialog.title)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -100,7 +100,11 @@ struct ContentOrderConfirmDialogView: View {
|
||||
.cornerRadius(5.3)
|
||||
.padding(.top, 21.3)
|
||||
|
||||
Text("콘텐츠를 \(orderType == .RENTAL ? "대여" : "소장")하시겠습니까?")
|
||||
Text(
|
||||
orderType == .RENTAL ?
|
||||
I18n.ContentDetail.OrderConfirmDialog.rentQuestion :
|
||||
I18n.ContentDetail.OrderConfirmDialog.buyQuestion
|
||||
)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -108,7 +112,7 @@ struct ContentOrderConfirmDialogView: View {
|
||||
.padding(.top, 13.3)
|
||||
|
||||
if UserDefaults.int(forKey: .userId) != 17958 {
|
||||
Text("아래 금액이 차감됩니다.")
|
||||
Text(I18n.ContentDetail.OrderConfirmDialog.deductionNotice)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -150,7 +154,7 @@ struct ContentOrderConfirmDialogView: View {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Text("\(price * 110)원")
|
||||
Text("\(price * 110)\(I18n.ContentDetail.Purchase.wonUnit)")
|
||||
.appFont(size: 13.3, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
@@ -168,7 +172,7 @@ struct ContentOrderConfirmDialogView: View {
|
||||
.padding(.top, 13.3)
|
||||
|
||||
HStack(spacing: 12) {
|
||||
Text("취소")
|
||||
Text(I18n.Common.cancel)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.vertical, 15.7)
|
||||
@@ -181,7 +185,7 @@ struct ContentOrderConfirmDialogView: View {
|
||||
)
|
||||
.onTapGesture { isShowing = false }
|
||||
|
||||
Text("확인")
|
||||
Text(I18n.Common.confirm)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 15.7)
|
||||
|
||||
Reference in New Issue
Block a user