feat(i18n): 설정 화면 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -26,13 +26,13 @@ struct SettingsView: View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
GeometryReader { geo in
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: String(localized: "설정"))
|
||||
DetailNavigationBar(title: I18n.Settings.title)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 0) {
|
||||
VStack(spacing: 0) {
|
||||
HStack(spacing: 0) {
|
||||
Text("알림 설정")
|
||||
Text(I18n.Settings.notificationSettings)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -54,7 +54,7 @@ struct SettingsView: View {
|
||||
.foregroundColor(Color.gray90)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("언어 설정")
|
||||
Text(I18n.Settings.languageSettings)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -77,7 +77,7 @@ struct SettingsView: View {
|
||||
.foregroundColor(Color.gray90)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("콘텐츠 보기 설정")
|
||||
Text(I18n.Settings.contentViewSettings)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -103,7 +103,7 @@ struct SettingsView: View {
|
||||
|
||||
VStack(spacing: 0) {
|
||||
HStack(spacing: 0) {
|
||||
Text("이용약관")
|
||||
Text(I18n.Settings.termsOfService)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -125,7 +125,7 @@ struct SettingsView: View {
|
||||
.foregroundColor(Color.gray90)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("개인정보처리방침")
|
||||
Text(I18n.Settings.privacyPolicy)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -149,7 +149,7 @@ struct SettingsView: View {
|
||||
.padding(.top, 13.3)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("앱 버전 정보")
|
||||
Text(I18n.Settings.appVersionInfo)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -167,27 +167,13 @@ struct SettingsView: View {
|
||||
.cornerRadius(6.7)
|
||||
.padding(.top, 13.3)
|
||||
|
||||
Text("""
|
||||
- 회사명 : 주식회사 소다라이브
|
||||
|
||||
- 대표자 : 이재형
|
||||
|
||||
- 주소 : 경기도 성남시 분당구 황새울로335번길 10, 5층 563A호
|
||||
|
||||
- 사업자등록번호 : 870-81-03220
|
||||
|
||||
- 통신판매업신고 : 제2024-성남분당B-1012호
|
||||
|
||||
- 고객센터 : 02.2055.1477 (이용시간 10:00~19:00)
|
||||
|
||||
- 대표 이메일 : sodalive.official@gmail.com
|
||||
""")
|
||||
.appFont(size: 11, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.frame(width: cardWidth, alignment: .leading)
|
||||
.padding(.top, 13.3)
|
||||
Text(I18n.Settings.companyInfo)
|
||||
.appFont(size: 11, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.frame(width: cardWidth, alignment: .leading)
|
||||
.padding(.top, 13.3)
|
||||
|
||||
Text("로그아웃")
|
||||
Text(I18n.Settings.logout)
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: cardWidth, height: 50)
|
||||
@@ -198,7 +184,7 @@ struct SettingsView: View {
|
||||
}
|
||||
.padding(.top, 46.7)
|
||||
|
||||
Text("모든 기기에서 로그아웃")
|
||||
Text(I18n.Settings.logoutAllDevices)
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.padding(.top, 13.3)
|
||||
@@ -206,7 +192,7 @@ struct SettingsView: View {
|
||||
isShowLogoutAllDeviceDialog = true
|
||||
}
|
||||
|
||||
Text("회원탈퇴")
|
||||
Text(I18n.Settings.signOut)
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.underline()
|
||||
|
||||
Reference in New Issue
Block a user