feat(i18n): 주요 UI 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 17:09:01 +09:00
parent 47085dc1ca
commit b2f66cf408
17 changed files with 448 additions and 196 deletions

View File

@@ -216,15 +216,14 @@ struct HomeView: 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
@@ -306,7 +305,7 @@ struct HomeView: View {
isShowAuthView = false
}
.onError { _ in
AppState.shared.errorMessage = "본인인증 중 오류가 발생했습니다."
AppState.shared.errorMessage = I18n.Main.Auth.authenticationError
AppState.shared.isShowErrorPopup = true
isShowAuthView = false
}