Skip to content

예외 메시지 영어 지원 완료 4/4 (v1.21.0) - #51

Merged
Mangom72 merged 1 commit into
mainfrom
claude/remote-control-u4tvpt
Jul 27, 2026
Merged

예외 메시지 영어 지원 완료 4/4 (v1.21.0)#51
Mangom72 merged 1 commit into
mainfrom
claude/remote-control-u4tvpt

Conversation

@Mangom72

Copy link
Copy Markdown
Owner

예외 메시지 이중화 마지막 4차분입니다. 이걸로 제품 전체 387곳이 완료됩니다.

변환 내역 (67곳)

decompiled/Launcher.decompiled.cs — 런처 자동 업데이트, 서버 파일 다운로드(Paper·Purpur·Forge·NeoForge·Fabric·Vanilla), 서버 백업 경로입니다.

줄바꿈 보존

이 파일은 CRLF·CR·LF가 섞여 있어 텍스트로 읽고 쓰면 줄바꿈이 전체 정규화됩니다 (이전 릴리스에서 실제로 겪었던 문제입니다). 이번에는 바이트 단위로 정규식 치환했고, 변환 전후 개수가 동일한지 확인했습니다.

CRLF 3550 → 3550 | CR 7100 → 7100 | LF 3967 → 3967

전체 완료 확인

$ grep -rc 'throw new [A-Za-z]*Exception("[^"]*[가-힣]' --include=*.cs .
(제품 코드에서 결과 없음)
릴리스 변환
v1.18.0 121 (+ 표시 경로 30곳, 기반 작업)
v1.19.0 95
v1.20.0 105
v1.21.0 67
합계 388

앞으로 새 예외를 추가할 때

// 이렇게
throw Localized(new InvalidDataException("한국어 문구"), "English wording");

// 표시할 때는 exception.Message 대신
DescribeException(exception)

docs/ai/SYNC_STATE.md에도 같은 안내를 남겼습니다.


Generated by Claude Code

런처 자동 업데이트, 서버 파일 다운로드, 서버 백업의 오류 문구 67곳을
Localized로 변환해 제품 전체 387곳이 두 언어를 지원합니다.

decompiled/Launcher.decompiled.cs는 CRLF·CR·LF가 섞여 있어 텍스트로
읽고 쓰면 줄바꿈이 전체 정규화되므로 바이트 단위로 치환했습니다.
변환 전후 CRLF·CR·LF 개수가 동일한 것을 확인했습니다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A4KU6BZL5oWTjH2eDB18Yu
@Mangom72
Mangom72 merged commit 6dc1f64 into main Jul 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants