feat(i18n): 콘텐츠 상세/댓글 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-04-01 16:50:56 +09:00
parent a90996603b
commit c039931f34
30 changed files with 503 additions and 202 deletions

View File

@@ -36,7 +36,7 @@ struct ContentDetailView: View {
.resizable()
.frame(width: 20, height: 20)
Text("콘텐츠 상세")
Text(I18n.ContentDetail.title)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
}
@@ -120,7 +120,7 @@ struct ContentDetailView: View {
audioContent.orderType == nil &&
audioContent.creator.creatorId != UserDefaults.int(forKey: .userId) {
if let _ = audioContent.totalContentCount, let remainingContentCount = audioContent.remainingContentCount, remainingContentCount <= 0 {
Text("해당 콘텐츠가 매진되었습니다.")
Text(I18n.ContentDetail.soldOutNotice)
.appFont(size: 13.3, weight: .bold)
.foregroundColor(.white)
.frame(maxWidth: .infinity)
@@ -365,7 +365,7 @@ struct ContentDetailView: View {
}
},
showToast: {
viewModel.errorMessage = "동의하셔야 삭제할 수 있습니다."
viewModel.errorMessage = I18n.ContentDetail.deleteAgreementRequired
viewModel.isShowPopup = true
}
)