다이얼로그 문구를 공통 번역으로 제공
콘텐츠, 라이브, 스플래시 화면의 안내 문구를 공통 번역 키로 제공해 지역화 품질을 개선한다
This commit is contained in:
@@ -637,11 +637,9 @@ struct ContentCreateView: View {
|
||||
|
||||
if viewModel.isShowCompletePopup {
|
||||
SodaDialog(
|
||||
title: "콘텐츠 업로드",
|
||||
desc: "등록한 콘텐츠가 업로드 중입니다.\n" +
|
||||
"콘텐츠 등록이 완료되면 알림을 보내드립니다.\n" +
|
||||
"이 페이지를 나가도 콘텐츠는 자동으로 등록됩니다.",
|
||||
confirmButtonTitle: "확인",
|
||||
title: I18n.CreateContent.uploadTitle,
|
||||
desc: I18n.CreateContent.uploadDescription,
|
||||
confirmButtonTitle: I18n.Common.confirm,
|
||||
confirmButtonAction: { AppState.shared.back() },
|
||||
cancelButtonTitle: "",
|
||||
cancelButtonAction: {}
|
||||
|
||||
@@ -160,15 +160,15 @@ struct AudioContentCommentListView: View {
|
||||
|
||||
if isShowDeletePopup && commentId > 0 {
|
||||
SodaDialog(
|
||||
title: "댓글 삭제",
|
||||
desc: "삭제하시겠습니까?",
|
||||
confirmButtonTitle: "삭제",
|
||||
title: I18n.Common.commentDeleteTitle,
|
||||
desc: I18n.Common.confirmDeleteQuestion,
|
||||
confirmButtonTitle: I18n.Common.delete,
|
||||
confirmButtonAction: {
|
||||
viewModel.modifyComment(commentId: commentId, audioContentId: audioContentId, isActive: false)
|
||||
commentId = 0
|
||||
isShowDeletePopup = false
|
||||
},
|
||||
cancelButtonTitle: "취소",
|
||||
cancelButtonTitle: I18n.Common.cancel,
|
||||
cancelButtonAction: {
|
||||
commentId = 0
|
||||
isShowDeletePopup = false
|
||||
|
||||
@@ -150,15 +150,15 @@ struct AudioContentListReplyView: View {
|
||||
|
||||
if isShowDeletePopup && commentId > 0 {
|
||||
SodaDialog(
|
||||
title: "댓글 삭제",
|
||||
desc: "삭제하시겠습니까?",
|
||||
confirmButtonTitle: "삭제",
|
||||
title: I18n.Common.commentDeleteTitle,
|
||||
desc: I18n.Common.confirmDeleteQuestion,
|
||||
confirmButtonTitle: I18n.Common.delete,
|
||||
confirmButtonAction: {
|
||||
viewModel.modifyComment(commentId: commentId, audioContentId: audioContentId, isActive: false)
|
||||
commentId = 0
|
||||
isShowDeletePopup = false
|
||||
},
|
||||
cancelButtonTitle: "취소",
|
||||
cancelButtonTitle: I18n.Common.cancel,
|
||||
cancelButtonAction: {
|
||||
commentId = 0
|
||||
isShowDeletePopup = false
|
||||
|
||||
@@ -364,16 +364,14 @@ struct ContentDetailView: View {
|
||||
|
||||
if viewModel.isShowNoticePinContentPopup {
|
||||
SodaDialog(
|
||||
title: "고정 한도 도달",
|
||||
desc: "이 콘텐츠를 고정하시겠어요? " +
|
||||
"채널에 콘텐츠를 최대 3개까지 고정할 수 있습니다." +
|
||||
"이 콘텐츠를 고정하면 가장 오래된 콘텐츠가 대체됩니다.",
|
||||
confirmButtonTitle: "확인",
|
||||
title: I18n.ContentDetail.pinLimitTitle,
|
||||
desc: I18n.ContentDetail.pinLimitDesc,
|
||||
confirmButtonTitle: I18n.Common.confirm,
|
||||
confirmButtonAction: {
|
||||
viewModel.isShowNoticePinContentPopup = false
|
||||
viewModel.pinContent(contentId: contentId)
|
||||
},
|
||||
cancelButtonTitle: "취소",
|
||||
cancelButtonTitle: I18n.Common.cancel,
|
||||
cancelButtonAction: {
|
||||
viewModel.isShowNoticePinContentPopup = false
|
||||
}
|
||||
|
||||
@@ -297,9 +297,11 @@ struct ContentPlaylistDetailView: View {
|
||||
.onTapGesture { isShowDeleteConfirm = false }
|
||||
|
||||
SodaDialog(
|
||||
title: "재생 목록 삭제",
|
||||
desc: viewModel.response != nil ? "\(viewModel.response!.title)을 삭제하시겠습니까?" : "삭제하시겠습니까?",
|
||||
confirmButtonTitle: "삭제",
|
||||
title: I18n.Playlist.deleteTitle,
|
||||
desc: viewModel.response != nil ?
|
||||
I18n.Playlist.deleteQuestion(viewModel.response!.title) :
|
||||
I18n.Common.confirmDeleteQuestion,
|
||||
confirmButtonTitle: I18n.Common.delete,
|
||||
confirmButtonAction: {
|
||||
isShowDeleteConfirm = false
|
||||
viewModel.deletePlaylist {
|
||||
@@ -307,7 +309,7 @@ struct ContentPlaylistDetailView: View {
|
||||
isShowing = false
|
||||
}
|
||||
},
|
||||
cancelButtonTitle: "취소",
|
||||
cancelButtonTitle: I18n.Common.cancel,
|
||||
cancelButtonAction: { isShowDeleteConfirm = false }
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user