feat(i18n): 라이브 모듈 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -105,15 +105,14 @@ struct LiveNowAllView: View {
|
||||
|
||||
if isShowAuthConfirmView {
|
||||
SodaDialog(
|
||||
title: "본인인증",
|
||||
desc: "청소년 보호를 위해\n본인인증을 완료한\n성인만 라이브 입장이 가능합니다.\n" +
|
||||
"라이브 입장을 위해\n본인인증을 진행해 주세요.",
|
||||
confirmButtonTitle: "본인인증 하러가기",
|
||||
title: I18n.Main.Auth.dialogTitle,
|
||||
desc: I18n.Main.Auth.liveEntryVerificationDescription,
|
||||
confirmButtonTitle: I18n.Main.Auth.goToVerification,
|
||||
confirmButtonAction: {
|
||||
isShowAuthConfirmView = false
|
||||
isShowAuthView = true
|
||||
},
|
||||
cancelButtonTitle: "취소",
|
||||
cancelButtonTitle: I18n.Common.cancel,
|
||||
cancelButtonAction: {
|
||||
isShowAuthConfirmView = false
|
||||
pendingAction = nil
|
||||
@@ -142,7 +141,7 @@ struct LiveNowAllView: View {
|
||||
isShowAuthView = false
|
||||
}
|
||||
.onError { _ in
|
||||
AppState.shared.errorMessage = "본인인증 중 오류가 발생했습니다."
|
||||
AppState.shared.errorMessage = I18n.Main.Auth.authenticationError
|
||||
AppState.shared.isShowErrorPopup = true
|
||||
isShowAuthView = false
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ struct LiveNowItemView: View {
|
||||
.padding(.horizontal, 2)
|
||||
.padding(.bottom, 2)
|
||||
} else {
|
||||
Text("무료")
|
||||
Text(I18n.LiveReservation.Item.free)
|
||||
.appFont(size: 14, weight: .regular)
|
||||
.foregroundColor(Color(hex: "#263238"))
|
||||
.padding(.vertical, 4)
|
||||
|
||||
@@ -19,14 +19,14 @@ struct SectionLiveNowView: View {
|
||||
var body: some View {
|
||||
LazyVStack(spacing: 13.3) {
|
||||
HStack(spacing: 0) {
|
||||
Text("지금 라이브중")
|
||||
Text(I18n.LiveNow.sectionTitle)
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
|
||||
if items.count > 0 {
|
||||
Text("전체보기")
|
||||
Text(I18n.Common.viewAll)
|
||||
.appFont(size: 14, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
.onTapGesture { AppState.shared.setAppStep(step: .liveNowAll(onClickParticipant: onClickParticipant)) }
|
||||
@@ -54,7 +54,7 @@ struct SectionLiveNowView: View {
|
||||
.resizable()
|
||||
.frame(width: 60, height: 60)
|
||||
|
||||
Text("마이페이지에서 본인인증을 하거나\n라이브를 예약하고 참여해보세요.")
|
||||
Text(I18n.LiveNow.emptyStateMessage)
|
||||
.appFont(size: 13, weight: .medium)
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -72,7 +72,7 @@ struct SectionLiveNowView: View {
|
||||
HStack(spacing: 8) {
|
||||
Image("ic_refresh")
|
||||
|
||||
Text("새로고침")
|
||||
Text(I18n.LiveNow.refreshButton)
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user