chore(i18n): 미사용 String Catalog를 정리한다

This commit is contained in:
Yu Sung
2026-04-01 18:09:29 +09:00
parent 43c86a627b
commit 39700d3b39
2 changed files with 23 additions and 10046 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1158,3 +1158,26 @@
- 접근성 레이블/힌트: 전역 검색에서 하드코딩 한글 접근성 라벨/힌트 0건.
- 수동 QA(실제 기능 점검): `OnboardingView`의 하단 CTA가 `I18n.Onboarding.startAction` 경유로 렌더링되며 탭 시 `UserDefaults.isViewedOnboardingView``true`로 저장하는 기존 흐름을 코드 경로 기준으로 재확인.
- 테스트 검증: 두 스킴 모두 `Scheme ... is not currently configured for the test action.`로 test action 미구성 확인(코드 실패 아님, 스킴 제약).
### 26차 구현 (`Localizable.xcstrings` 제거 및 프로젝트 참조 정리, 2026-04-01)
- 무엇/왜/어떻게:
- 무엇: 더 이상 사용하지 않는 `SodaLive/Resources/Localizable.xcstrings` 파일과 `SodaLive.xcodeproj/project.pbxproj`의 연결 참조를 함께 제거했다.
- 왜: 직접 로컬라이제이션 API(`String(localized:)`, `NSLocalizedString`, `LocalizedStringKey`)가 전역 0건으로 정리된 상태에서 String Catalog 파일만 프로젝트 리소스로 남아 있어 유지보수 비용과 혼선을 만들고 있었기 때문이다.
- 어떻게: `project.pbxproj`에서 `PBXBuildFile` 2개, `PBXFileReference` 1개, `Resources` 그룹 항목 1개, `PBXResourcesBuildPhase` 2개를 제거하고 실제 `Localizable.xcstrings` 파일도 삭제했다. 이후 전역 검색과 두 스킴 Debug 빌드로 참조 누락 여부를 검증했다.
- 실행 명령/도구:
- `task(subagent_type="explore", ...)` x2 (`bg_b6e5b2d5`, `bg_d0f782b3`)
- `task(subagent_type="librarian", ...)` x1 (`bg_6a78e701`)
- `background_output(task_id=...)` x3 (위 3개 task 결과 수집)
- `grep("Localizable\\.xcstrings|402C20902EFE8C34005FC5CB|402C20912EFE8C34005FC5CB|402C20952EFE8C34005FC5CB", include=project.pbxproj, path=SodaLive.xcodeproj)`
- `read(SodaLive.xcodeproj/project.pbxproj)`
- `glob("**/*Localizable.xcstrings")`
- `grep("String\\(localized:|NSLocalizedString\\(|LocalizedStringKey\\(", include=*.swift, path=SodaLive/Sources)`
- `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -configuration Debug build`
- `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" -configuration Debug build`
- 결과:
- 삭제 파일: `SodaLive/Resources/Localizable.xcstrings`
- 제거 참조: `project.pbxproj``402C20912EFE8C34005FC5CB`, `402C20952EFE8C34005FC5CB`, `402C20902EFE8C34005FC5CB` 및 해당 그룹/리소스 페이즈 연결 전부 제거 완료.
- 재탐지 결과: `project.pbxproj`와 파일 시스템에서 `Localizable.xcstrings` 실참조 0건 확인. 문서 내 과거 계획/검증 기록에만 문자열이 남아 있음.
- 직접 로컬라이제이션 API(`String(localized:)`, `NSLocalizedString`, `LocalizedStringKey`)는 `SodaLive/Sources` 전역 0건 유지 확인.
- 빌드 검증: `SodaLive`, `SodaLive-dev` Debug 빌드 모두 성공(`** BUILD SUCCEEDED **`).
- 수동 QA(실제 변경 효과 점검): Xcode 프로젝트 수준에서 리소스 파일/빌드 페이즈/파일 시스템 세 경로가 모두 함께 제거된 상태를 코드와 프로젝트 파일 기준으로 재확인했다.