커뮤니티 댓글 문자열 리소스화
This commit is contained in:
@@ -50,9 +50,12 @@ class CreatorCommunityCommentAdapter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
binding.tvWriteReply.text = if (item.replyCount > 0) {
|
binding.tvWriteReply.text = if (item.replyCount > 0) {
|
||||||
"답글 ${item.replyCount}개"
|
context.getString(
|
||||||
|
R.string.audio_content_comment_reply_count_format,
|
||||||
|
item.replyCount
|
||||||
|
)
|
||||||
} else {
|
} else {
|
||||||
"답글 쓰기"
|
context.getString(R.string.audio_content_comment_write_reply)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ class CreatorCommunityCommentListFragment : BaseFragment<FragmentAudioContentCom
|
|||||||
SodaDialog(
|
SodaDialog(
|
||||||
activity = requireActivity(),
|
activity = requireActivity(),
|
||||||
layoutInflater = layoutInflater,
|
layoutInflater = layoutInflater,
|
||||||
title = "댓글 삭제",
|
title = getString(R.string.audio_content_comment_delete_title),
|
||||||
desc = "삭제하시겠습니까?",
|
desc = getString(R.string.audio_content_comment_delete_message),
|
||||||
confirmButtonTitle = "삭제",
|
confirmButtonTitle = getString(R.string.confirm_delete_title),
|
||||||
confirmButtonClick = {
|
confirmButtonClick = {
|
||||||
viewModel.modifyComment(
|
viewModel.modifyComment(
|
||||||
commentId = it,
|
commentId = it,
|
||||||
@@ -115,7 +115,7 @@ class CreatorCommunityCommentListFragment : BaseFragment<FragmentAudioContentCom
|
|||||||
isActive = false
|
isActive = false
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
cancelButtonTitle = "취소",
|
cancelButtonTitle = getString(R.string.cancel),
|
||||||
cancelButtonClick = {}
|
cancelButtonClick = {}
|
||||||
).show(screenWidth)
|
).show(screenWidth)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -113,9 +113,9 @@ class CreatorCommunityCommentReplyFragment : BaseFragment<FragmentAudioContentCo
|
|||||||
SodaDialog(
|
SodaDialog(
|
||||||
activity = requireActivity(),
|
activity = requireActivity(),
|
||||||
layoutInflater = layoutInflater,
|
layoutInflater = layoutInflater,
|
||||||
title = "댓글 삭제",
|
title = getString(R.string.audio_content_comment_delete_title),
|
||||||
desc = "삭제하시겠습니까?",
|
desc = getString(R.string.audio_content_comment_delete_message),
|
||||||
confirmButtonTitle = "삭제",
|
confirmButtonTitle = getString(R.string.confirm_delete_title),
|
||||||
confirmButtonClick = {
|
confirmButtonClick = {
|
||||||
viewModel.modifyComment(
|
viewModel.modifyComment(
|
||||||
commentId = it,
|
commentId = it,
|
||||||
@@ -124,7 +124,7 @@ class CreatorCommunityCommentReplyFragment : BaseFragment<FragmentAudioContentCo
|
|||||||
isActive = false
|
isActive = false
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
cancelButtonTitle = "취소",
|
cancelButtonTitle = getString(R.string.cancel),
|
||||||
cancelButtonClick = {}
|
cancelButtonClick = {}
|
||||||
).show(screenWidth)
|
).show(screenWidth)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user