다이얼로그 문구를 공통 번역으로 제공

콘텐츠, 라이브, 스플래시 화면의 안내 문구를
공통 번역 키로 제공해 지역화 품질을 개선한다
This commit is contained in:
Yu Sung
2025-12-29 16:44:55 +09:00
parent 64bb5668f4
commit 19380ccc70
18 changed files with 224 additions and 90 deletions

View File

@@ -512,9 +512,9 @@ struct LiveRoomViewV2: View {
if viewModel.changeIsAdult && !UserDefaults.bool(forKey: .auth) {
SodaDialog(
title: "알림",
desc: "지금 참여하던 라이브는 '19세 이상' 연령제한이 설정되어 정보통신망 이용촉진 및 정보 보호 등에 관한 법률 및 청소년 보호법의 규정에 의해 만 19세 미만의 청소년은 이용할 수 없습니다.\n마이페이지에서 본인인증 후 다시 이용하시기 바랍니다.",
confirmButtonTitle: "확인",
title: I18n.Common.alertTitle,
desc: I18n.LiveRoom.ageRestrictionDesc,
confirmButtonTitle: I18n.Common.confirm,
confirmButtonAction: {
viewModel.quitRoom()
}
@@ -523,10 +523,9 @@ struct LiveRoomViewV2: View {
if viewModel.isShowNoticeLikeHeart {
SodaDialog(
title: "안내",
desc: "'좋아해요'는 유료 후원입니다.\n" +
"클릭시 1캔이 소진됩니다.",
confirmButtonTitle: "확인"
title: I18n.Common.noticeTitle,
desc: I18n.LiveRoom.likeHeartNoticeDesc,
confirmButtonTitle: I18n.Common.confirm
) {
viewModel.isShowNoticeLikeHeart = false
}
@@ -534,14 +533,14 @@ struct LiveRoomViewV2: View {
if viewModel.isShowQuitPopup {
SodaDialog(
title: "라이브 나가기",
desc: "라이브에서 나가시겠습니까?",
confirmButtonTitle: "",
title: I18n.LiveRoom.quitTitle,
desc: I18n.LiveRoom.quitDesc,
confirmButtonTitle: I18n.Common.yes,
confirmButtonAction: {
viewModel.isShowQuitPopup = false
viewModel.quitRoom()
},
cancelButtonTitle: "아니오",
cancelButtonTitle: I18n.Common.no,
cancelButtonAction: {
viewModel.isShowQuitPopup = false
}
@@ -550,18 +549,14 @@ struct LiveRoomViewV2: View {
if viewModel.isShowLiveEndPopup {
SodaDialog(
title: "라이브 종료",
desc: "라이브를 종료하시겠습니까?\n" +
"라이브를 종료하면 대화내용은\n" +
"저장되지 않고 사라집니다.\n" +
"참여자들 또한 라이브가 종료되어\n" +
"강제퇴장 됩니다.",
confirmButtonTitle: "",
title: I18n.LiveRoom.endTitle,
desc: I18n.LiveRoom.endDesc,
confirmButtonTitle: I18n.Common.yes,
confirmButtonAction: {
viewModel.isShowLiveEndPopup = false
viewModel.quitRoom()
},
cancelButtonTitle: "아니오",
cancelButtonTitle: I18n.Common.no,
cancelButtonAction: {
viewModel.isShowLiveEndPopup = false
}