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