feat(i18n): 사용자 화면 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -13,15 +13,7 @@ struct CheersReportDialogView: View {
|
||||
let confirmAction: (String) -> Void
|
||||
|
||||
@State private var selectedIndex: Int? = nil
|
||||
let reasons = [
|
||||
"원치 않는 상업성 콘텐츠 또는 스팸",
|
||||
"아동 학대",
|
||||
"증오심 표현 또는 노골적인 폭력",
|
||||
"테러 조장",
|
||||
"희롱 또는 괴롭힘",
|
||||
"자살 또는 자해",
|
||||
"잘못된 정보"
|
||||
]
|
||||
let reasons = I18n.Report.cheersReasons
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
@@ -31,7 +23,7 @@ struct CheersReportDialogView: View {
|
||||
.onTapGesture { isShowing = false }
|
||||
|
||||
VStack(spacing: 13.3) {
|
||||
Text("응원글 신고")
|
||||
Text(I18n.Report.cheersReportTitle)
|
||||
.appFont(size: 16.7, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
@@ -59,14 +51,14 @@ struct CheersReportDialogView: View {
|
||||
HStack(spacing: 26.7) {
|
||||
Spacer()
|
||||
|
||||
Text("취소")
|
||||
Text(I18n.Common.cancel)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.onTapGesture {
|
||||
isShowing = false
|
||||
}
|
||||
|
||||
Text("신고")
|
||||
Text(I18n.Report.reportAction)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.onTapGesture {
|
||||
|
||||
Reference in New Issue
Block a user