From 193f2ae9ab8daa51506be6e2ed704de1377f1687 Mon Sep 17 00:00:00 2001 From: Z User Date: Sun, 18 Oct 2026 21:25:27 +0000 Subject: [PATCH] [IMP] OneBSpace rebrand of OpenCADStudio -> OneCAD Draft (wordmark, about, crash banner, 23 locales; strip SW/manifest; air-gap: update check, donations, discussions, external help links) --- REBRAND.md | 128 ++++++++++++++++ locales/ar-SA/opencadstudio.ftl | 40 ++--- locales/bg-BG/opencadstudio.ftl | 40 ++--- locales/cs-CZ/opencadstudio.ftl | 40 ++--- locales/de-DE/opencadstudio.ftl | 40 ++--- locales/el-GR/opencadstudio.ftl | 40 ++--- locales/en-US/opencadstudio.ftl | 40 ++--- locales/es-ES/opencadstudio.ftl | 40 ++--- locales/fi-FI/opencadstudio.ftl | 40 ++--- locales/fr-FR/opencadstudio.ftl | 40 ++--- locales/hi-IN/opencadstudio.ftl | 40 ++--- locales/hu-HU/opencadstudio.ftl | 32 ++-- locales/it-IT/opencadstudio.ftl | 40 ++--- locales/ja-JP/opencadstudio.ftl | 40 ++--- locales/ko-KR/opencadstudio.ftl | 40 ++--- locales/lo-LA/opencadstudio.ftl | 40 ++--- locales/nl-NL/opencadstudio.ftl | 40 ++--- locales/pl-PL/opencadstudio.ftl | 40 ++--- locales/pt-BR/opencadstudio.ftl | 40 ++--- locales/ru-RU/opencadstudio.ftl | 40 ++--- locales/tr-TR/opencadstudio.ftl | 40 ++--- locales/zh-CN/opencadstudio.ftl | 40 ++--- locales/zh-TW/opencadstudio.ftl | 40 ++--- src/app/commands/dgn_import.rs | 2 +- src/app/commands/view.rs | 68 ++------- src/app/mod.rs | 62 +++----- src/app/startup.rs | 73 +++------ src/app/update/file.rs | 2 +- src/app/update/mod.rs | 5 +- src/app/view/mod.rs | 226 +++------------------------- src/app/view/modal.rs | 4 +- src/cli.rs | 2 +- src/input/spacemouse/navlib.rs | 4 +- src/io/file_association.rs | 2 +- src/io/font_repo.rs | 12 ++ src/io/step.rs | 6 +- src/io/update_check.rs | 18 ++- src/locale_catalog.rs | 24 +-- src/mcp.rs | 2 +- src/patreon.rs | 6 +- src/plugin/marketplace.rs | 9 ++ src/sys.rs | 6 +- src/ui/window/about.rs | 4 +- src/ui/window/import_dialogs.rs | 2 +- src/ui/window/missing_fonts.rs | 2 +- src/ui/window/options.rs | 2 +- src/ui/window/options/graphics.rs | 2 +- src/ui/window/options/spacemouse.rs | 2 +- src/ui/window/plugin_manager.rs | 23 +-- src/ui/window/update_notice.rs | 2 +- src/ui/window/xref_help.rs | 31 +--- src/videos.rs | 12 +- web-app.html | 24 +-- web/app.webmanifest | 18 --- web/locale-labels.json | 44 +++--- web/sw.js | 140 ----------------- web/videos.json | 10 +- 57 files changed, 760 insertions(+), 1091 deletions(-) create mode 100644 REBRAND.md delete mode 100644 web/app.webmanifest delete mode 100644 web/sw.js diff --git a/REBRAND.md b/REBRAND.md new file mode 100644 index 000000000..7b81e44a2 --- /dev/null +++ b/REBRAND.md @@ -0,0 +1,128 @@ +# OneCAD Draft rebrand — OneBSpace + +This fork of OpenCADStudio (upstream: github.com/HakanSeven12/OpenCADStudio) is +rebranded as **OneCAD Draft** by **OneBSpace**. Brand wordmark in the UI is +"OneCAD Draft"; the company is OneBSpace. We are not HakanSeven12 and this build +must never contact the internet (air-gapped family law for embedded Odoo apps). + +Build metadata is intentionally untouched: the crate, the binary +(`OpenCADStudio`, wasm artifacts `OpenCADStudio.js` / `OpenCADStudio_bg.wasm`), +and all module names keep their upstream identifiers — the Odoo dist assembler +and the wasm build chain depend on the bin name. + +Rust-side brand/air-gap edits are marked with the comment tag +`// OneBSpace (OneCAD Draft):` (or `/* ... */` inline) so a future rebase onto +upstream can re-apply them mechanically. + +## 1. Wordmark / titles + +| File:line (approx) | Change | +|---|---| +| `src/app/mod.rs:5665` | native window title `"{}Open CAD Studio {} - {}"` → `"{}OneCAD Draft {} - {}"` (version suffix `{OCS_APP_VERSION}` kept) | +| `src/app/mod.rs:5671` | native fallback title `concat!("OneCAD Draft ", env!("OCS_APP_VERSION"))` | +| `src/app/mod.rs:5717` | web window title `concat!("OneCAD Draft ", env!("OCS_APP_VERSION"))` | +| `src/ui/window/about.rs:114` | About "Copy Info" report header → `OneCAD Draft v{...}` | +| `src/ui/window/about.rs:198` | About dialog 28 px heading → `OneCAD Draft` | +| `src/app/view/mod.rs:3672` | Start-page 40 px headline → `OneCAD Draft` | +| `src/sys.rs:1125` | crash report header → `OneCAD Draft {version} crash report` (+ matching test `src/sys.rs:1201`) | +| `src/sys.rs:1350` + `src/locale_catalog.rs:4990` | renderer-error banner literal → `OneCAD Draft renderer error — …` (ftl key `opencadstudio-renderer-error-…` unchanged) | +| `src/cli.rs:31` + `src/locale_catalog.rs:4513` | CLI `--help` about → `OneCAD Draft — 2D/3D CAD editor` | +| `web-app.html:8` | `OneCAD Draft` | +| `web-app.html:53` | splash title → `OneCAD Draft` (keeps the blue "CAD" accent) | +| `web/locale-labels.json` | all 22 per-locale splash/window titles → `OneCAD Draft …` (suffixes per language kept) | +| `web/videos.json` | tutorial titles → `… in OneCAD Draft` | +| `src/input/spacemouse/navlib.rs:351,496` | SpaceMouse SDK client name → `OneCAD Draft` | +| `src/io/step.rs:214,232,242` | STEP export product names → `OneCAD_Draft_Solid` / `OneCAD_Draft_Shape` / `OneCAD Draft STEP export` | +| `src/patreon.rs` | (dead code) — see §3 | +| 22 × `locales//opencadstudio.ftl` | every user-visible `Open CAD Studio` / `OpenCADStudio` value → `OneCAD Draft` (locale-appropriate wording kept; **note: the repo has 22 locales, not 23**) | + +Message **keys** and English-literal keys in `src/locale_catalog.rs` keep their +upstream ftl ids (e.g. `open-cad-studio-2d-3d-cad-editor`); only display values +and the English fallback literals changed. File names stay `opencadstudio.ftl` +(`i18n.toml` fluent domain = code contract). + +## 2. Service worker / web manifest strip (web shell) + +* `web-app.html`: `` removed; the + sw.js + app.webmanifest trunk copy-file tags removed; the entire + service-worker registration ` - +