feat(i18n): 라이브 모듈 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-04-01 11:58:41 +09:00
parent 201f4c8139
commit 540238eb48
20 changed files with 333 additions and 97 deletions

View File

@@ -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
}