feat(i18n): 설정 화면 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -14,17 +14,17 @@ struct SignOutView: View {
|
||||
var body: some View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "회원탈퇴")
|
||||
DetailNavigationBar(title: I18n.Settings.SignOut.title)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 0) {
|
||||
VStack(spacing: 13.3) {
|
||||
Text("정말로 탈퇴하실 거에요?\n한 번 더 생각해보지 않으실래요?")
|
||||
Text(I18n.Settings.SignOut.headline)
|
||||
.appFont(size: 20, weight: .bold)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
Text("계정을 삭제하려는 이유를 선택해주세요.\n서비스 개선에 중요한 자료로 활용하겠습니다.")
|
||||
Text(I18n.Settings.SignOut.reasonGuide)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
@@ -48,7 +48,7 @@ struct SignOutView: View {
|
||||
|
||||
if index == viewModel.reasons.count - 1 {
|
||||
VStack(spacing: 6.7) {
|
||||
TextField("입력해주세요", text: $viewModel.reason)
|
||||
TextField(I18n.Settings.SignOut.reasonInputPlaceholder, text: $viewModel.reason)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
@@ -74,7 +74,7 @@ struct SignOutView: View {
|
||||
.foregroundColor(Color(hex: "232323"))
|
||||
.padding(.top, 20)
|
||||
|
||||
Text("계정을 삭제하면 회원님의 모든 콘텐츠와 활동 길고, 캔충전 및 적립, 사용내역 등의 기록이 삭제됩니다. 삭제된 정보는 복구할 수 없으니 신중히 결정해주세요.\n캔 충전하기를 통해 적립한 캔은 계정 삭제시 환불이 불가합니다. 또한 환불 신청 후 환불처리가 되기 전에 계정을 삭제하는 경우 포인트 사용내역을 확인할 수 없어 환불이 불가합니다.")
|
||||
Text(I18n.Settings.SignOut.accountDeletionNotice)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "ff5c49"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -91,14 +91,14 @@ struct SignOutView: View {
|
||||
.padding(.top, 20)
|
||||
.padding(.horizontal, 26.7)
|
||||
|
||||
Text("※ 소셜 로그인 이용자는 비밀번호를 입력하지 말고 '탈퇴하기'를 클릭하면 자동 탈퇴됩니다.")
|
||||
Text(I18n.Settings.SignOut.socialLoginGuide)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.grayee)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.padding(.horizontal, 26.7)
|
||||
.padding(.top, 8)
|
||||
|
||||
Text("탈퇴하기")
|
||||
Text(I18n.Settings.SignOut.submit)
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 16)
|
||||
|
||||
Reference in New Issue
Block a user