fix(block): 사용자 차단 안내 문구를 역할별로 통일한다

This commit is contained in:
2026-02-25 22:30:34 +09:00
parent 4b2ef742d6
commit 8153ad52ff
5 changed files with 16 additions and 25 deletions

View File

@@ -126,20 +126,9 @@ class MemberProfileDialog(
private fun showMemberBlockDialog(memberId: Long, nickname: String) {
val message = if (SharedPreferenceManager.role == MemberRole.CREATOR.name) {
"""
${nickname}님을 차단하시겠습니까?
사용자를 차단하면 사용자는 아래 기능이 제한됩니다.
- 내가 개설한 라이브 입장 불가
- 나에게 메시지 보내기 불가
- 내 채널의 팬Talk 작성불가
""".trimIndent()
SodaLiveApplicationHolder.get().getString(R.string.screen_live_room_block_message_creator, nickname)
} else {
"""
${nickname}님을 차단하시겠습니까?
- 사용자를 차단하면 '차단한 사용자의 라이브 중 채팅'이 보이지 않습니다.
""".trimIndent()
SodaLiveApplicationHolder.get().getString(R.string.screen_live_room_block_message_user, nickname)
}
val dialog = android.app.AlertDialog.Builder(activity)
dialog.setTitle(

View File

@@ -77,6 +77,7 @@ import kr.co.vividnext.sodalive.report.ReportType
import kr.co.vividnext.sodalive.report.UserReportDialog
import kr.co.vividnext.sodalive.settings.language.LanguageManager
import kr.co.vividnext.sodalive.settings.language.LocaleHelper
import kr.co.vividnext.sodalive.settings.notification.MemberRole
import org.koin.android.ext.android.inject
import java.text.SimpleDateFormat
import java.util.Date
@@ -209,14 +210,15 @@ class UserProfileActivity : BaseActivity<ActivityUserProfileBinding>(
}
private fun showUserBlockDialog() {
val nickname = binding.tvNickname.text
val message = if (SharedPreferenceManager.role == MemberRole.CREATOR.name) {
getString(R.string.screen_live_room_block_message_creator, nickname)
} else {
getString(R.string.screen_live_room_block_message_user, nickname)
}
val dialog = AlertDialog.Builder(this)
dialog.setTitle(getString(R.string.screen_live_room_block_title))
dialog.setMessage(
getString(
R.string.screen_live_room_block_message_creator,
binding.tvNickname.text
)
)
dialog.setMessage(message)
dialog.setPositiveButton(getString(R.string.screen_live_room_block_confirm)) { _, _ ->
viewModel.userBlock(userId)
}

View File

@@ -408,8 +408,8 @@
<string name="screen_live_room_donation_minimum">You can donate from 1 can.</string>
<string name="screen_live_room_block_title">Block user</string>
<string name="screen_live_room_block_confirm">Block</string>
<string name="screen_live_room_block_message_creator">Block %1$s?\n\nBlocking will restrict this user:\n- Cannot enter lives you host\n- Cannot send you messages\n- Cannot post in your fanTalk</string>
<string name="screen_live_room_block_message_user">Block %1$s?\n\n- You will not see chat messages from blocked users in live rooms.</string>
<string name="screen_live_room_block_message_creator">Block %1$s?\n\nWhen you block this user, the following features will be restricted for that user.\n\n- Access to your channel\n- Cannot enter live rooms you host\n- Cannot access content you uploaded\n- Cannot send messages to you\n- Limited visibility of comments written by %1$s\n- Limited visibility of %1$s live chat</string>
<string name="screen_live_room_block_message_user">Block %1$s?\n\nWhen you block this user, the following features will be restricted.\n\n- Limited access to %1$s channel\n- Limited visibility of %1$s content\n- Limited visibility of %1$s live streams\n- Limited ability to send messages to %1$s\n- Limited visibility of comments written by %1$s\n- Limited visibility of %1$s live chat</string>
<string name="screen_live_room_bg_on">Background ON</string>
<string name="screen_live_room_bg_off">Back OFF</string>
<string name="screen_live_room_signature_on">Signature ON</string>

View File

@@ -408,8 +408,8 @@
<string name="screen_live_room_donation_minimum">1CAN以上からギフト可能です。</string>
<string name="screen_live_room_block_title">ユーザーブロック</string>
<string name="screen_live_room_block_confirm">ブロック</string>
<string name="screen_live_room_block_message_creator">%1$sさんをブロックしますか\n\nブロックすると以下の機能が制限されます。\n- あなたが開設したライブへの入室不可\n- あなたへのメッセージ送信不可\n- あなたのチャンネルへのファンTalk投稿不可</string>
<string name="screen_live_room_block_message_user">%1$sさんをブロックしますか\n\n- ブロックすると「ブロックしたユーザーのチャット」が表示されません。</string>
<string name="screen_live_room_block_message_creator">%1$sさんをブロックしますか\n\nユーザーをブロックすると、該当ユーザーは以下の機能が制限されます。\n\n- あなたのチャンネルへのアクセス制限\n- あなたが開設したライブへの入場不可\n- あなたが登録したコンテンツへのアクセス不可\n- あなたへのメッセージ送信不可\n- %1$sさんが作成したコメントの閲覧制限\n- %1$sさんのライブチャットの閲覧制限</string>
<string name="screen_live_room_block_message_user">%1$sさんをブロックしますか\n\nユーザーをブロックすると、以下の機能が制限されます。\n\n- %1$sさんのチャンネルへのアクセス制限\n- %1$sさんのコンテンツの閲覧制限\n- %1$sさんのライブの閲覧制限\n- %1$sさんへのメッセージ送信制限\n- %1$sさんが作成したコメントの閲覧制限\n- %1$sさんのライブチャットの閲覧制限</string>
<string name="screen_live_room_bg_on">背景 ON</string>
<string name="screen_live_room_bg_off">背景 OFF</string>
<string name="screen_live_room_signature_on">シグ ON</string>

View File

@@ -407,8 +407,8 @@
<string name="screen_live_room_donation_minimum">1캔 이상 후원하실 수 있습니다.</string>
<string name="screen_live_room_block_title">사용자 차단</string>
<string name="screen_live_room_block_confirm">차단</string>
<string name="screen_live_room_block_message_creator">%1$s님을 차단하시겠습니까?\n\n사용자를 차단하면 사용자는 아래 기능이 제한됩니다.\n- 내가 개설한 라이브 입장 불가\n- 나에게 메시지 보내기 불가\n- 내 채널의 팬Talk 작성불가</string>
<string name="screen_live_room_block_message_user">%1$s님을 차단하시겠습니까?\n\n- 사용자를 차단하면 \'차단한 사용자의 라이브 중 채팅\'이 보이지 않습니다.</string>
<string name="screen_live_room_block_message_creator">%1$s님을 차단하시겠습니까?\n\n사용자를 차단하면 해당 사용자는 아래 기능이 제한됩니다.\n\n- 내 채널 접근 제한\n- 내가 개설한 라이브 입장 불가\n- 내가 등록한 콘텐츠 접근 불가\n- 나에게 메시지 보내기 불가\n- %1$s님이 작성한 댓글보기 제한\n- %1$s님의 라이브 채팅보기 제한</string>
<string name="screen_live_room_block_message_user">%1$s님을 차단하시겠습니까?\n\n사용자를 차단하면 아래 기능이 제한됩니다.\n\n- %1$s님의 채널 접근 제한\n- %1$s님의 콘텐츠 보기 제한\n- %1$s님의 라이브 보기 제한\n- %1$s님에게 메시지 보내기 제한\n- %1$s님이 작성한 댓글보기 제한\n- %1$s님의 라이브 채팅보기 제한</string>
<string name="screen_live_room_bg_on">배경 ON</string>
<string name="screen_live_room_bg_off">배경 OFF</string>
<string name="screen_live_room_signature_on">시그 ON</string>