feat(i18n): 사용자 화면 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -29,11 +29,11 @@ struct LoginView: View {
|
||||
}
|
||||
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "로그인")
|
||||
DetailNavigationBar(title: I18n.Login.title)
|
||||
|
||||
Spacer()
|
||||
|
||||
TextField("이메일", text: $viewModel.email)
|
||||
TextField(I18n.User.emailPlaceholder, text: $viewModel.email)
|
||||
.submitLabel(.next)
|
||||
.focused($focusedField, equals: .email)
|
||||
.autocapitalization(.none)
|
||||
@@ -56,9 +56,9 @@ struct LoginView: 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)
|
||||
@@ -92,7 +92,7 @@ struct LoginView: View {
|
||||
viewModel.login()
|
||||
}
|
||||
) {
|
||||
Text("로그인")
|
||||
Text(I18n.Login.login)
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.frame(width: screenSize().width - 26.6, height: 46.7)
|
||||
.foregroundColor(.white)
|
||||
@@ -101,7 +101,7 @@ struct LoginView: View {
|
||||
}
|
||||
.padding(.top, 40)
|
||||
|
||||
Text("비밀번호를 잊으셨나요?")
|
||||
Text(I18n.Login.forgotPassword)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.graybb)
|
||||
.padding(.vertical, 10)
|
||||
@@ -111,7 +111,7 @@ struct LoginView: View {
|
||||
}
|
||||
.padding(.top, 30)
|
||||
|
||||
Text("보이스온 회원이 아닌가요? 지금 가입하세요.")
|
||||
Text(I18n.Login.signUpPrompt)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.graybb)
|
||||
.padding(.vertical, 10)
|
||||
|
||||
Reference in New Issue
Block a user