From 2bc33268d2b010ff2019f3d1d58a599065740163 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 11:40:34 +0000 Subject: [PATCH] Issue #793: the last two mentions of target/web point at target/web-site (from #888) Co-Authored-By: Vikram Bhaskaran Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4 --- apps/lightcraft-web/src/lib.rs | 2 +- docs/localization-zh-hans.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/lightcraft-web/src/lib.rs b/apps/lightcraft-web/src/lib.rs index 04ec89b5..58966e6e 100644 --- a/apps/lightcraft-web/src/lib.rs +++ b/apps/lightcraft-web/src/lib.rs @@ -1,6 +1,6 @@ //! LightCraft in the browser: the same egui UI as the desktop app, compiled to WASM. //! -//! Build with `cargo xtask web` (→ `target/web/`), then serve that folder over HTTP (see +//! Build with `cargo xtask web` (→ `target/web-site/`), then serve that folder over HTTP (see //! `docs/web.md`). Differences from the desktop host: //! - the library lives in browser storage (OPFS, or IndexedDB where OPFS can't be written from the //! main thread): catalog journal, presets, view state and prefs are mirrored in memory and diff --git a/docs/localization-zh-hans.md b/docs/localization-zh-hans.md index 4b9d887a..e8743158 100644 --- a/docs/localization-zh-hans.md +++ b/docs/localization-zh-hans.md @@ -14,7 +14,7 @@ LightCraft 的界面支持英语、简体中文、繁体中文(台湾)和日 - 尚未翻译的技术性错误、补充说明和发行说明仍以英文显示。 - 网页版将 Noto Sans CJK SC 作为独立的 `lightcraft_zh_hans.otf` 文件随站点分发,页面启动时加载; 这样可显示简体中文,也避免把约 16 MB 字体放进受单文件大小限制的 WASM。部署时需上传整个 - `target/web/` 目录。未指定 `CRAFT_FONTS_DIR` 的开发构建仍缺少中文字体。 + `target/web-site/` 目录。未指定 `CRAFT_FONTS_DIR` 的开发构建仍缺少中文字体。 - 日期分组标题与拍摄时间按中文格式显示(如 `2026年9月20日 星期日`)。 ## 翻译的维护