Repository navigation
영어 UI와 영어 스크린샷 - #10
Merged
Merged
Conversation
Raise the release version to 0.2.0 (pyproject, RELEASE_VERSION, Inno Setup default, lockfile) so the v0.2.0 tag matches and installed 0.1.0.x builds are offered the update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
….2.1 The v0.2.0 tag build was the first CI run that got runners, and 28 UI tests failed on Windows and Linux: the headless-display action sets PYVISTA_OFF_SCREEN=true, so QtInteractor created no interactor and plotter.iren was None. The viewer now always asks for an interactive one. With that fixed, the UI tests crashed in VTK render() under Xvfb/Mesa after about twenty windows: a closed window never released its OpenGL render window. MainWindow.closeEvent now calls viewer.shutdown(), which stops the animation timer and closes the plotter. Full suite with CI's environment: 183 passed. The macOS job was cancelled the moment it was created (no runner), and the release job needs every build job, so it was skipped. It now runs unless a build failed, and refuses to publish an empty release. Version 0.2.1 so the fixed commit gets a fresh tag instead of moving v0.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
A manual run of the build workflow on main now builds as usual and the release job creates the v<pyproject version> tag and the GitHub Release at that commit (it refuses when the tag already exists). Tag pushes work as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
…ux; 0.2.2 Windows CI failed test_contact_solver_reuses_the_factorization: the solver's answer differed from a fresh factorization by 1.3e-6 of the peak displacement (limit 1e-6). The Woodbury update alone is only as accurate as cond(S)*eps: on the lap joint cond(S) ~ 8.5e5 left 8.3e-7, while two direct solves with different orderings agree to 6e-10. One step of iterative refinement with the same operator brings it to 9.3e-10; the step is kept only when it is a small correction. The v0.2.1 run still published a Release although the Windows build failed: with one leg failed and another (macOS, no runner) cancelled, needs.build.result reads 'cancelled'. The release job now also requires the Windows installer and the Linux archive to be present. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
…, checks kstruct.i18n.tr(korean, **values) returns the Korean source unchanged (and str.format-ed when values are given) or its English entry from resources/i18n/en/*.json; N_() marks module-level constants, tr_data() translates built-in data labels and leaves user-entered names alone. The language is read from prefs (or KSTRUCT_LANG) when the main window starts; the info menu gets a 언어 / Language submenu (applies after restart). Help falls back to Korean per topic. tests/test_i18n.py fails until the translation lands: it finds every Korean literal outside tr()/N_()/log calls, every tr() text without an English entry, mismatched placeholders, and missing English help topics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
test_i18n opens the window in English, solves the sample bracket (static, modal, thermal), visits every step and fails on any Hangul in widget texts, tooltips, list/combo/table items, menus, colour-bar titles or the report. packaging/all_store_screenshots.sh ko|en shoots every scene at both sizes (English into docs/screenshots/en/); README gets English captions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
en.json mirrors all 88 topics of ko.json (same keys, HTML and related links). In both languages: thermal help no longer says transient analysis is unsupported, the steps are at the top (not on the left), and fatigue help mentions the surface/reliability settings instead of assuming a machined surface. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
Report HTML in Korean is byte-identical to before for static, modal, buckling and thermal runs. Also a test that catalog files agree on shared texts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
…lver/data groups) Snapshot of files the translation agents are still editing; completed by the following commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
Module label tables are N_()-marked and shown through tr(); data and user labels through tr_data(). Korean output unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
…ument i18n report/summary.py and describe.py build whole sentences per tr() text; verdict labels translate on lookup. Shared keys get one English each (Part, Custom material, Bolted joint); the singularity kind is translated where the main window shows it. CLAUDE.md describes tr/N_/tr_data, the catalogs and the checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
… top Long English radio/checkbox/form labels made the step panels wider than the side bar (up to 476 px vs 399 in Korean) and clipped text and help buttons; they are shortened, with help and notes quoting the new labels. US spelling throughout. The welcome text (both languages) now says the steps are at the top, and the modal note names the 'operating speed' field as it is labelled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
All nine scenes at 1920x1080 and 2880x1800 shot with KSTRUCT_LANG=en; the Korean welcome screenshots are reshot for the corrected 'steps at the top' text. Labels that were clipped in the English shots are shorter (plastic strain field, mode shape colour bar, mode list entries). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
내용
앱 전체를 영어로도 쓸 수 있게 했습니다(정보 메뉴 → 언어 / Language, 다시 시작하면 적용). 영어 앱 등록용 스크린샷 18장을 추가했습니다.
구조 (
src/kstruct/i18n.py)tr("…")로 감싸고, 영어는resources/i18n/en/*.json({한국어: English})에서 찾습니다. 값은tr("부품 {name}", name=…).tr은 원문 그대로 → 기존 화면·보고서·테스트가 바뀌지 않습니다(보고서 HTML은 강도·진동·좌굴·열 모두 바이트 단위로 동일 확인).N_(): import 때 만들어지는 상수 표(보여 줄 때tr),tr_data(): 내장 재료·기준 팩 이름(en/data.json), 사용자 입력 이름은 그대로.prefs.language()또는KSTRUCT_LANG=en. 도움말은help/en.json(88개 항목, 없으면 한국어).번역 범위
7단계 패널, 메인 창·메뉴·체크리스트·시작 화면, 판정·쉬운 설명·메모, 조건 설명 문장, PDF 보고서, 업데이트·정보·문제 보고·사용자 재료 창, 솔버·메시·가져오기 오류 메시지, 재료 설명·기준 팩 문구, 도움말 전체. 문장은 조각을 이어 붙이지 않고 문장 단위로 번역했습니다(영어 어순).
검사 (
tests/test_i18n.py, 10개)tr밖에 남은 한글 리터럴(로그·docstring 제외), 영어가 없는 문구,{자리표시자}불일치, 파일 간 같은 키의 다른 번역, 영어 도움말 누락·한글 잔존.함께 고친 것
스크린샷
docs/screenshots/en/1920x1080/,docs/screenshots/en/2880x1800/(9장씩).packaging/all_store_screenshots.sh ko|en으로 언어별 전체 재생성, README에 영어 설명 문구 추가.확인
PYVISTA_OFF_SCREEN=true xvfb-run)에서 전체 193 passed(한국어 183 + 언어 10), 라벨 수정 후test_i18n·test_improvements24 passed.Generated by Claude Code