22 lines
1.9 KiB
Markdown
22 lines
1.9 KiB
Markdown
# 2026-02-25 사용자 차단 다이얼로그 문구 수정
|
|
|
|
## 구현 체크리스트
|
|
- [x] 사용자 차단 다이얼로그 문구 위치 확인 및 분기 방식 점검
|
|
- [x] `role == CREATOR` 문구를 요구사항 기준으로 교체
|
|
- [x] `role != CREATOR` 문구를 요구사항 기준으로 교체
|
|
- [x] 사용자 차단 다이얼로그 문구 국제화(`I18n.MemberChannel`) 적용
|
|
- [x] 진단/빌드 검증 수행 및 결과 기록
|
|
|
|
## 검증 기록
|
|
- 무엇/왜/어떻게: 사용자 요청에 따라 사용자 차단 다이얼로그의 역할별 안내 문구를 유지하면서 `I18n.MemberChannel` 기반으로 국제화 적용했다. `UserBlockConfirmDialogView`는 하드코딩 문자열 대신 국제화 키를 사용하고, 닉네임 치환이 필요한 문구는 `I18n` 함수로 분리했다.
|
|
- 실행 명령: `lsp_diagnostics` (`SodaLive/Sources/I18n/I18n.swift`, `SodaLive/Sources/Report/UserBlockConfirmDialogView.swift`)
|
|
- 결과: SourceKit 인덱싱 한계로 외부 심볼(`LanguageHeaderProvider`, `MemberRole`, `appFont`, `screenSize`, `Color.gray22`) 미해석 오류가 보고되어 신뢰 가능한 정적 진단이 어려움. 실제 컴파일 검증은 `xcodebuild` 성공으로 확인.
|
|
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -configuration Debug build -quiet`
|
|
- 결과: 성공 (경고만 존재, 빌드 완료)
|
|
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" -configuration Debug build -quiet`
|
|
- 결과: 성공 (경고만 존재, 빌드 완료)
|
|
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" test -quiet`
|
|
- 결과: 실패 (`Scheme SodaLive is not currently configured for the test action.`)
|
|
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" test -quiet`
|
|
- 결과: 실패 (`Scheme SodaLive-dev is not currently configured for the test action.`)
|