feat(i18n): 사용자 화면 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -23,11 +23,11 @@ struct SignUpView: View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
GeometryReader { proxy in
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "회원가입")
|
||||
DetailNavigationBar(title: I18n.SignUp.title)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 0) {
|
||||
TextField("이메일", text: $viewModel.email)
|
||||
TextField(I18n.User.emailPlaceholder, text: $viewModel.email)
|
||||
.submitLabel(.next)
|
||||
.focused($focusedField, equals: .email)
|
||||
.autocapitalization(.none)
|
||||
@@ -51,9 +51,9 @@ struct SignUpView: View {
|
||||
HStack {
|
||||
Group {
|
||||
if isPasswordVisible {
|
||||
TextField("비밀번호", text: $viewModel.password)
|
||||
TextField(I18n.User.passwordPlaceholder, text: $viewModel.password)
|
||||
} else {
|
||||
SecureField("비밀번호", text: $viewModel.password)
|
||||
SecureField(I18n.User.passwordPlaceholder, text: $viewModel.password)
|
||||
}
|
||||
}
|
||||
.submitLabel(.done)
|
||||
@@ -96,11 +96,11 @@ struct SignUpView: View {
|
||||
}
|
||||
|
||||
HStack(spacing: 5) {
|
||||
Text("이용약관")
|
||||
Text(I18n.SignUp.terms)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Text("(필수)")
|
||||
Text(I18n.SignUp.required)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
}
|
||||
@@ -129,11 +129,11 @@ struct SignUpView: View {
|
||||
}
|
||||
|
||||
HStack(spacing: 5) {
|
||||
Text("개인정보수집 및 이용동의")
|
||||
Text(I18n.SignUp.privacyPolicy)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Text("(필수)")
|
||||
Text(I18n.SignUp.required)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
}
|
||||
@@ -152,7 +152,7 @@ struct SignUpView: View {
|
||||
.padding(.top, 20)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
Text("회원가입")
|
||||
Text(I18n.SignUp.submit)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(.vertical, 16)
|
||||
|
||||
Reference in New Issue
Block a user