Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ jobs:
dotnet-version: "8.0.x"
- name: Build, test and package
shell: pwsh
run: ./scripts/build-release.ps1
run: |
$isStableTag = "${{ github.ref_type }}" -eq "tag" -and "${{ github.ref_name }}" -notmatch "-"
if ($isStableTag) {
./scripts/build-release.ps1
} else {
./scripts/build-release.ps1 -Prerelease
}
- uses: actions/upload-artifact@v4
with:
name: SpaceSimLocalizer-win-x64
Expand All @@ -33,8 +39,8 @@ jobs:
artifacts/SpaceSim-fr-FR.sslpack
artifacts/SpaceSimLocalizer-Workshop-Materials.zip
artifacts/SHA256SUMS.txt
- name: Publish GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
- name: Publish stable GitHub Release
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -50,3 +56,21 @@ jobs:
artifacts/SHA256SUMS.txt
--title "${{ github.ref_name }}"
--generate-notes
- name: Publish GitHub prerelease
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref_name, '-')
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: >
gh release create "${{ github.ref_name }}"
artifacts/SpaceSimLocalizer.exe
artifacts/SpaceSimLocalizer.Cli.exe
artifacts/SpaceSimLocalizer-win-x64.zip
artifacts/SpaceSim-zh-CN.sslpack
artifacts/SpaceSim-ja-JP.sslpack
artifacts/SpaceSim-fr-FR.sslpack
artifacts/SpaceSimLocalizer-Workshop-Materials.zip
artifacts/SHA256SUMS.txt
--title "${{ github.ref_name }}"
--prerelease
--generate-notes
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 1.3.0-beta.1

- Added per-string UI review records, screenshot OCR/sidecar auditing and honest
translation, in-game review, native review and font-coverage metrics.
- Added schema v2 display aliases with approved reference fingerprints; aliases
without verified UI call sites remain explicitly disconnected.
- Added diagnostic export without game binaries, resources, credentials or
personal identifiers.
- Stable release builds now fail when translation, in-game review or font
coverage is incomplete; prerelease builds retain the unresolved report.

## 1.2.0

- Added Japanese (`ja-JP`) and French (`fr-FR`) preview language packs generated
Expand Down
7 changes: 7 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ The release script produces standalone GUI and CLI executables, three
independent language packs, the all-in-one ZIP, Workshop materials, and a
SHA-256 manifest.

The `coverage` command uses `docs/ui-review.json` to report visible translation,
in-game review, native review, and font coverage separately. Stable builds must
pass every gate; maintainers use `.\scripts\build-release.ps1 -Prerelease` for
honestly labelled test artifacts.
Every display alias must also be connected to a fingerprinted UI call site;
catalog entries alone do not count as applied localization.

## Reporting issues

Please include the tool version, SpaceSim Build ID, the affected screen, and
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ dotnet run --project tests\SpaceSimLocalizer.Tests -c Release
发布输出位于 `artifacts`,包括 GUI、CLI、正式 `.sslpack`、ZIP 和 SHA-256 清单。
CLI 命令见 `SpaceSimLocalizer.Cli.exe --help`。

`coverage` 使用 `docs/ui-review.json` 分别计算可见翻译、实机审校、母语审校和字体
覆盖率。稳定构建必须全部达到门槛;维护中的测试包使用
`.\scripts\build-release.ps1 -Prerelease`,不会伪装成稳定完成。
显示别名还必须全部绑定到经过指纹验证的真实 UI 调用点,静态目录本身不计为已接入。

翻译目录:

- `translations/zh-CN`:完整审校目录,包含内部字符串,不可直接发布;
Expand Down
50 changes: 50 additions & 0 deletions docs/releases/v1.3.0-beta.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# SpaceSim Localizer v1.3.0-beta.1

This prerelease introduces measurable localization quality and a safer review
workflow. It is not the next stable release because automated screen capture is
unavailable on the maintainer machine and the per-string in-game review remains
at 0%.

## Verified in this build

- Simplified Chinese visible translation: 2917 / 2917
- Simplified Chinese font coverage: 1066 / 1066 required glyphs
- EXE translations applied on an isolated Build 24640309 copy: 1225
- Asset translations applied: 1685
- Apply, verify, diagnostics and byte-identical restore passed
- Display aliases: 7 catalogued, 0 connected until real UI call sites are reviewed

## New tools

- `audit-ui` audits screenshots using Tesseract or UTF-8 sidecar text.
- `review-scaffold` creates stable per-string review records.
- `coverage` reports translation, in-game review, native review and font coverage.
- `build-display-aliases` accepts only approved source and reference fingerprints.
- `diagnostic-export` excludes game files, credentials and personal identifiers.

The Japanese and French packs remain previews. The Workshop stable entry is not
updated by this prerelease.

---

# SpaceSim Localizer v1.3.0-beta.1

本预发布版建立了可量化的汉化质量与安全审校流程。由于维护机的游戏窗口捕获接口
不可用,逐条实机审校率仍为 0%,因此本版本不会冒充下一个稳定版,也暂不更新创意工坊。

## 已验证

- 简中可见翻译:2917 / 2917
- 简中字体覆盖:1066 / 1066
- 隔离 Build 24640309 副本应用 EXE 文本:1225 条
- 应用资源文本:1685 条
- 应用、校验、诊断和逐字节恢复全部通过
- 显示别名:已收录 7 条,在获得真实 UI 调用点前接入数为 0

## 新增工具

- `audit-ui`:使用 Tesseract 或 UTF-8 旁车文本审计截图。
- `review-scaffold`:生成逐条稳定审校记录。
- `coverage`:分别报告翻译、实机、母语和字体覆盖率。
- `build-display-aliases`:只接受已批准的来源与引用指纹。
- `diagnostic-export`:不包含游戏文件、凭据和个人标识。
5 changes: 4 additions & 1 deletion docs/ui-review-checklist.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Build 24640309 界面审校清单
# Build 24640309 界面审校说明

机器可读的正式记录位于 `docs/ui-review.json`。本页仅保留人工巡检摘要;
只有 JSON 中带截图、来源、引用点、字体结果且状态为 `passed` 的项目才计入实机审校率。

- [ ] 文件、编辑、视图、工具、脚本、关于
- [ ] 设置、相机、模拟顶栏
Expand Down
Loading
Loading