feat(i18n): 주요 UI 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -22,12 +22,12 @@ struct CommunityPostPurchaseDialog: View {
|
||||
.frame(width: geo.size.width, height: geo.size.height)
|
||||
|
||||
VStack(spacing: 0) {
|
||||
Text("게시글 보기")
|
||||
Text(I18n.Dialog.CommunityPostPurchase.title)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.graybb)
|
||||
.padding(.top, 40)
|
||||
|
||||
Text("게시글을\n확인하시겠습니까?")
|
||||
Text(I18n.Dialog.CommunityPostPurchase.description)
|
||||
.appFont(size: 15, weight: .medium)
|
||||
.foregroundColor(Color.graybb)
|
||||
.multilineTextAlignment(.center)
|
||||
@@ -35,7 +35,7 @@ struct CommunityPostPurchaseDialog: View {
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
Text("취소")
|
||||
Text(I18n.Common.cancel)
|
||||
.appFont(size: 15.3, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.vertical, 16)
|
||||
@@ -50,7 +50,7 @@ struct CommunityPostPurchaseDialog: View {
|
||||
isShowing = false
|
||||
}
|
||||
|
||||
Text("\(can)캔으로 보기")
|
||||
Text(I18n.Dialog.CommunityPostPurchase.viewWithCans(can))
|
||||
.appFont(size: 15.3, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(.vertical, 16)
|
||||
|
||||
Reference in New Issue
Block a user