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

@@ -22,7 +22,7 @@ struct ContentDetailInfoView: View {
VStack(alignment: .leading, spacing: 8) {
HStack(spacing: 5.3) {
if let _ = audioContent.releaseDate {
Text("오픈예정")
Text(I18n.Common.openScheduled)
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "3bb9f1"))
.padding(.horizontal, 5.3)
@@ -62,7 +62,7 @@ struct ContentDetailInfoView: View {
}
}
Text(orderType == .KEEP ? "소장중" : "대여중")
Text(orderType == .KEEP ? I18n.Content.Status.owned : I18n.Content.Status.rented)
.appFont(size: 12, weight: .medium)
.foregroundColor(
orderType == .KEEP ?
@@ -113,7 +113,7 @@ struct ContentDetailInfoView: View {
HStack(spacing: 4) {
Image("ic_audio_content_share")
Text("공유")
Text(I18n.ContentDetail.Info.share)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayd2)
}
@@ -129,7 +129,7 @@ struct ContentDetailInfoView: View {
.resizable()
.frame(width: 13.3, height: 13.3)
Text("후원")
Text(I18n.ContentDetail.Info.donation)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayd2)
}
@@ -174,7 +174,7 @@ struct ContentDetailInfoView: View {
if isShowingPreviewAlert() {
HStack(spacing: 0) {
Text("미리듣기 중입니다.\n콘텐츠 구매 후 전체를 감상해 보세요.")
Text(I18n.ContentDetail.Info.previewAlertMessage)
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.graybb)
.lineSpacing(5)