다이얼로그 문구를 공통 번역으로 제공
콘텐츠, 라이브, 스플래시 화면의 안내 문구를 공통 번역 키로 제공해 지역화 품질을 개선한다
This commit is contained in:
@@ -40,22 +40,22 @@ struct SplashView: View {
|
||||
|
||||
if isShowMaintenancePopup {
|
||||
SodaDialog(
|
||||
title: "안내",
|
||||
desc: "서비스 점검중입니다.",
|
||||
confirmButtonTitle: "확인",
|
||||
title: I18n.Splash.maintenanceTitle,
|
||||
desc: I18n.Splash.maintenanceDesc,
|
||||
confirmButtonTitle: I18n.Common.confirm,
|
||||
confirmButtonAction: { isShowMaintenancePopup = false }
|
||||
)
|
||||
}
|
||||
|
||||
if isShowUpdatePopup {
|
||||
SodaDialog(
|
||||
title: "업데이트",
|
||||
desc: "최신 업데이트가 있습니다.\n업데이트 하시겠습니까?",
|
||||
confirmButtonTitle: "업데이트",
|
||||
title: I18n.Splash.updateTitle,
|
||||
desc: I18n.Splash.updateDesc,
|
||||
confirmButtonTitle: I18n.Splash.updateConfirm,
|
||||
confirmButtonAction: {
|
||||
UIApplication.shared.open(URL(string: "https://apps.apple.com/us/app/id6461721697?mt=8")!, options: [:])
|
||||
},
|
||||
cancelButtonTitle: "다음에",
|
||||
cancelButtonTitle: I18n.Splash.updateCancel,
|
||||
cancelButtonAction: {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
|
||||
AppState.shared.setAppStep(step: .main)
|
||||
@@ -66,9 +66,9 @@ struct SplashView: View {
|
||||
|
||||
if isShowForcedUpdatePopup {
|
||||
SodaDialog(
|
||||
title: "업데이트",
|
||||
desc: "필수 업데이트가 있습니다.\n업데이트 후 사용가능합니다.",
|
||||
confirmButtonTitle: "업데이트",
|
||||
title: I18n.Splash.updateTitle,
|
||||
desc: I18n.Splash.forcedUpdateDesc,
|
||||
confirmButtonTitle: I18n.Splash.updateConfirm,
|
||||
confirmButtonAction: {
|
||||
UIApplication.shared.open(URL(string: "https://apps.apple.com/us/app/id6461721697?mt=8")!, options: [:])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user