From d660414ef4ba6ab70a56fc7f2cd55325c2281a2d Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 08:34:13 -0800 Subject: [PATCH] Docs: Gujarati counts, the web font prerequisite and the tests that need rows The Gujarati status notes now give the catalog's real counts: 4,946 `@msg` rows and 10,890 rows in all, and the revision rows give 4,926 new message rows. They also say that a web build offers Gujarati only when it is built with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati; without it `offered_codes` leaves `gu` out on the web. docs/development.md no longer says a missing translation never fails a test. It names the four tests that need a row in every complete catalog or every `COMPLETE_MESSAGES` language. --- ROADMAP.md | 2 +- docs/development.md | 8 ++++++-- docs/localization-parity.md | 4 ++-- docs/roadmap.md | 6 +++--- docs/target-app-parity.md | 6 +++--- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 5b70379608..a310f25148 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -18,7 +18,7 @@ gate: all six core workflows (path drawing and editing, paint and style, type, l production, file exchange) work end to end on macOS with save and reopen, and only the last is partial, without blocking it ([Alpha gate](docs/roadmap.md#alpha-gate)). -> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,944 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,887 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so Gujarati can be selected on the web. Scores and estimates unchanged. +> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,946 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,890 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. Scores and estimates unchanged. ## Headline numbers diff --git a/docs/development.md b/docs/development.md index d18ee6ab4e..baf8cd551f 100644 --- a/docs/development.md +++ b/docs/development.md @@ -296,8 +296,12 @@ other `sv-*` locale resolve to it), Georgian (`ka`, complete; `ka-GE` and `ka_GE once the menus and `tl!` literals are translated; the untranslated report then lists what the catalog lacks (`VECTORCRAFT_I18N_DUMP=strings.txt cargo test -p vectorcraft-ui-egui dump_source_strings -- --ignored` lists every English string). -- A missing translation never fails a test or a build: the interface shows the English text until a translator - adds the row. `cargo xtask i18n-report` prints, per language, the strings its catalog lacks (menu strings, +- A missing translation shows the English text until a translator adds the row, and fails no build. A few tests + do fail on a missing row: every catalog with `complete_menus` needs the `UI_STRINGS` rows + (`strings_the_ui_shows_are_in_every_complete_catalog`) and the save panel's file types + (`save_panel_file_types_are_in_complete_catalogs`), and every language in `COMPLETE_MESSAGES` needs the + cutting-banner and recovery messages (`banner_and_recovery_messages_are_translated_in_every_complete_catalog`) + and the script warning question (`script_warning_off_question_is_translated`). `cargo xtask i18n-report` prints, per language, the strings its catalog lacks (menu strings, `tl!` literals, undo step names, menu labels, render-site labels, status and error messages, PostScript error meanings, default swatch names), and `cargo xtask ci` prints the same list in its `i18n-report` step. The report is the test `i18n::tests::untranslated_report`, run with `--nocapture`; it fails only when a diff --git a/docs/localization-parity.md b/docs/localization-parity.md index bd61ca2a13..269160971e 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -24,7 +24,7 @@ English) in-app help, and the docs are English. (`bflatastic`), with community contributors adding or correcting (German by `dwetscher`, Japanese and Traditional Chinese by `imachus`). Georgian and the original Gujarati catalog are recorded as reviewed by native speakers; the contributor approved all 387 later Gujarati additions on 2026-11-14. -> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,944 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,887 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so Gujarati can be selected on the web. Scores and estimates unchanged. +> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,946 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,890 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. Scores and estimates unchanged. ## The thirteen key languages @@ -101,7 +101,7 @@ font for the web build. | Date | Change | Summary | |---|---|---| -| 2026-12-02 | minor | Gujarati: status and error messages translated (4,924 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | +| 2026-12-02 | minor | Gujarati: status and error messages translated (4,926 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | | 2026-12-02 | minor | Gujarati (`gu`): Web: Gujarati can be selected as the interface language; the web fetches Noto Sans Gujarati when the interface needs it (`crates/text/web-fonts.txt`, `demand`), as it does Noto Sans Devanagari for Hindi. Status/error messages remain partial. Scores and estimates unchanged. | | 2026-11-25 | patch | Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; kept unavailable to users pending upstream `storytold/craft-i18n` catalog | | 2026-11-14 | minor | Gujarati (#6613): contributor proofreading completed for all 387 additions, with 11 wording corrections; 4,673 reviewed catalog rows. Status/error messages remain partial; web selection requires a bundled Gujarati face. Scores and estimates unchanged. | diff --git a/docs/roadmap.md b/docs/roadmap.md index 2aa55bceee..db83731dbf 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -28,7 +28,7 @@ > Blend redraw update (#5179): renderer bounds include spine-placed keys and steps; both focused CPU regressions pass. Scores and estimates unchanged. -> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,944 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,887 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so Gujarati can be selected on the web. Scores and estimates unchanged. +> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,946 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,890 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. Scores and estimates unchanged. ## Feature submission evidence @@ -84,7 +84,7 @@ M7 type: Touch Type moves a right-to-left character along its line and up from i | Date | Change | Summary | |---|---|---| -| 2026-12-02 | minor | Gujarati: status and error messages translated (4,924 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | +| 2026-12-02 | minor | Gujarati: status and error messages translated (4,926 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | | 2026-11-26 | minor | Show Missing Links in View and the Links panel marks missing linked images and placed documents on the canvas; the link watcher scans them in the background, so turning it on never waits on a file; transient overlays stay out of artwork, export and undo history; command API controls and lists markers (#5547). Scores and estimates unchanged. | | 2026-11-24 | minor | G12: History row context menus use shared Craft List and Menu controls after rebasing onto the panel migration. App-specific actions retain the chosen snapshot across pending edits and dismiss on document switches; keyboard context requests and focus restoration use the shared runtime. Regression cases retained (#8845); scores and estimates unchanged. | | 2026-11-21 | minor | G12/M14: History row context menus retain the chosen snapshot while the menu is open and pending edits settle; jumps settle typing before counting undo/redo, and discarded states report that they are unavailable. Shift+F10 opens the focused row menu, Escape restores row focus, and switching documents dismisses the popup. History checklist, area and milestone evidence updated (#8845); scores and estimates unchanged. | @@ -171,7 +171,7 @@ Checked 2026-10-10 from the code, tests and open issues; no workflow fails, so V Hindi interface follow-up (2026-11-06): the catalog and zero/one plural rule are implemented; native wording review, layout checks and a web Devanagari font remain. [Notes](localization-hi.md). -Gujarati interface follow-up (2026-11-14): the catalog and zero/one plural rule are implemented. The original 4,286 rows remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages are translated (2026-12-02, machine-assisted, native review pending). Since 2026-12-02 the web fetches Noto Sans Gujarati when the interface needs it, so Gujarati can be selected on the web. +Gujarati interface follow-up (2026-11-14): the catalog and zero/one plural rule are implemented. The original 4,286 rows remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages are translated (2026-12-02, machine-assisted, native review pending). Since 2026-12-02 the web fetches Noto Sans Gujarati when the interface needs it, so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. ## Current focus diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index 99bb158257..9481d51914 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -37,7 +37,7 @@ Native saves on Unix flush the destination directory after writing or replacing > Blend redraw update (#5179): renderer bounds include spine-placed keys and steps; both focused CPU regressions pass. Scores and estimates unchanged. -> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,944 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,887 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so Gujarati can be selected on the web. Scores and estimates unchanged. +> **Gujarati status (2026-11-14, #6613):** 4,673 catalog rows: the original 4,286 remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,946 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,890 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. The pinned CI/release fonts include Noto Sans Gujarati as an optional `Gujr` fallback, and since 2026-12-02 the web build fetches it when the interface needs it (`crates/text/web-fonts.txt`, `demand`), so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. Scores and estimates unchanged. ## Feature submission evidence @@ -133,7 +133,7 @@ Artboard Options forwards the active Artboard tool's Scale Artwork with Artboard | Date | Change | Summary | |---|---|---| -| 2026-12-02 | minor | Gujarati: status and error messages translated (4,924 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | +| 2026-12-02 | minor | Gujarati: status and error messages translated (4,926 new `@msg`/`@msgplural` rows, machine-assisted draft, native review pending); `gu` joins `COMPLETE_MESSAGES`. Scores and estimates unchanged. | | 2026-11-26 | minor | Show Missing Links in View and the Links panel marks missing linked images and placed documents on the canvas; the link watcher scans them in the background, so turning it on never waits on a file; transient overlays stay out of artwork, export and undo history; command API controls and lists markers (#5547). Scores and estimates unchanged. | | 2026-11-25 | minor | Document Info › Objects: total enclosed area (`pathArea` in pt²) for closed and compound paths (holes subtracted per fill rule; guides and open paths left out) and formatted Path Area in document units (#6965). Worked out only when the request covers Objects (`pathArea` null otherwise or with `pathArea: false`); the panel asks for it only while Objects or All Categories is shown. Tests: `info_gives_the_paths_total_area`, `info_works_out_the_path_area_only_for_the_objects_category`, `the_path_area_is_worked_out_only_while_objects_is_shown`, `format_area_formats_and_trims_cleanly`. Scores and estimates unchanged. | | 2026-11-24 | minor | G12: History row context menus use shared Craft List and Menu controls after rebasing onto the panel migration. App-specific actions retain the chosen snapshot across pending edits and dismiss on document switches; keyboard context requests and focus restoration use the shared runtime. Regression cases retained (#8845); scores and estimates unchanged. | @@ -1289,7 +1289,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - Swedish messages (2026-11-13): the Swedish (`sv`) catalog has an `@msg` row for 464 of the 628 status and error messages the untranslated report listed for it; 162 messages that no complete-message catalog translates, 36 composite font errors among them, are not translated yet, and two unknown-parameter errors that start with the `{within}` placeholder stay in English, as does `{name} must be {lo}–{hi}{unit} (got {v})`, whose existing row can't match because two of its placeholders sit side by side; the rows keep their placeholders, backticked names, quoted values and command ids; native review remains; scores and estimates unchanged. - Window › Toolbars › Keep Tools Beside the Canvas, a VectorCraft layout option that is off by default, docks the Tools panel between left-side panels and the canvas instead of at the window's left edge, and workspaces keep the setting. A floating Tools panel dropped on the canvas's left edge, right of panels docked on the left, docks there and turns the setting on, and one dropped on the window's left edge docks there and turns it off; with no panels docked on the left, a drop leaves the setting as it is (#7837). Scores are unchanged (`window.toolsBesideCanvas`; `docked_tools_keep_the_window_edge_unless_kept_beside_the_canvas`, `tools_dropped_on_a_left_edge_dock_there_and_the_setting_follows`, `tools_dropped_where_the_left_edges_overlap_keep_the_setting`, `tools_dropped_beside_a_collapsed_left_dock_follow_the_strip_dropped_on`). - Hindi (2026-11-06): Hindi (`hi`): 7,877-row machine-assisted catalog, zero/one singular plurals, desktop font fallback and optional Devanagari craft-fonts fallback; all 55 translation tests pass; native review and a web font remain; scores and estimates unchanged. [Terminology and limitations](localization-hi.md). - - Gujarati (2026-11-14, #6613): `gu` had 4,673 catalog rows on 2026-11-14 (10,887 on 2026-12-02), zero/one singular plurals, installed desktop font fallback and support for optional `Gujr` craft-font faces. The original 4,286 rows remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,944 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,887 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. Since 2026-12-02 the web fetches Noto Sans Gujarati when the interface needs it, so Gujarati can be selected on the web. Current-head validation is recorded in the PR; scores and estimates unchanged. + - Gujarati (2026-11-14, #6613): `gu` had 4,673 catalog rows on 2026-11-14 (10,890 on 2026-12-02), zero/one singular plurals, installed desktop font fallback and support for optional `Gujr` craft-font faces. The original 4,286 rows remain unchanged; all 387 additions are contributor-reviewed and approved, with 11 wording corrections. Status and error messages: 4,946 `@msg` and 56 `@msgplural` rows (2026-12-02); with 155 menu, label and undo rows added the same day the catalog has 10,890 rows; all machine-assisted, native review pending; `gu` is in `COMPLETE_MESSAGES`. Since 2026-12-02 the web fetches Noto Sans Gujarati when the interface needs it, so a web build made with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans Gujarati offers Gujarati; a web build without it does not. Current-head validation is recorded in the PR; scores and estimates unchanged. - Hindi wording (2026-11-13): rows outside the plug-in messages keep their English's meaning, quantities and clauses, and use the catalog's save, swatch, crop, resolution, path and type terms; a test checks those terms and the point unit in every row; native review remains; scores and estimates unchanged. - Hindi word senses (2026-11-13): 85 labels and messages use the interface sense of their English: Desired is वांछित and the range message keeps both comparisons, rulers are रूलर, text characters कैरेक्टर, vector points पॉइंट, fills फ़िल्स and High Contrast उच्च कंट्रास्ट; the glossary test rejects the unrelated senses in every row; native review remains; scores and estimates unchanged. - Hindi terms (2026-11-13): every row that names a variable (data merge, variable fonts and widths, environment variables) says वेरिएबल, and joining paths, anchor points, point type and lines says जोड़ें instead of शामिल हों, which stays for joining the community; a test checks both terms in every row; scores and estimates unchanged.