feat(i18n): 사용자 화면 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -13,16 +13,7 @@ struct UserReportDialogView: View {
|
||||
let confirmAction: (String) -> Void
|
||||
|
||||
@State private var selectedIndex: Int? = nil
|
||||
let reasons = [
|
||||
"괴롭힘 및 사이버 폭력",
|
||||
"개인정보 침해",
|
||||
"명의 도용",
|
||||
"폭력적 위협",
|
||||
"아동 학대",
|
||||
"보호 대상 집단에 대한 증오심 표현",
|
||||
"스팸 및 사기",
|
||||
"나에게 해당하는 문제 없음"
|
||||
]
|
||||
let reasons = I18n.Report.userReasons
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
@@ -32,7 +23,7 @@ struct UserReportDialogView: View {
|
||||
.onTapGesture { isShowing = false }
|
||||
|
||||
VStack(spacing: 13.3) {
|
||||
Text("사용자 신고")
|
||||
Text(I18n.Report.userReportTitle)
|
||||
.appFont(size: 16.7, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
@@ -60,14 +51,14 @@ struct UserReportDialogView: 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