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

@@ -13,15 +13,7 @@ struct AudioContentReportDialogView: View {
let confirmAction: (String) -> Void
@State private var selectedIndex: Int? = nil
let reasons = [
"괴롭힘 및 사이버 폭력",
"개인정보 침해",
"명의도용",
"폭력적 위협",
"아동학대",
"보호대상 집단에 대한 증오심 표현",
"스팸 및 사기"
]
let reasons = I18n.ContentDetail.ReportDialog.reasons
var body: some View {
ZStack {
@@ -31,7 +23,7 @@ struct AudioContentReportDialogView: View {
.onTapGesture { isShowing = false }
VStack(spacing: 13.3) {
Text("콘텐츠 신고")
Text(I18n.ContentDetail.ReportDialog.title)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
@@ -59,13 +51,13 @@ struct AudioContentReportDialogView: View {
.cornerRadius(6.7)
.padding(.vertical, 21.3)
Text("신고한 콘텐츠를 관리자가 확인 후, 서비스정책을\n위반한 경우 삭제 조치할 예정입니다.")
Text(I18n.ContentDetail.ReportDialog.notice)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "dd4500"))
.multilineTextAlignment(.center)
HStack(spacing: 12) {
Text("취소")
Text(I18n.Common.cancel)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "9970ff"))
.padding(.vertical, 16)
@@ -79,7 +71,7 @@ struct AudioContentReportDialogView: View {
isShowing = false
}
Text("신고")
Text(I18n.ContentDetail.ReportDialog.reportAction)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.vertical, 16)