From 5fc66c45955652d2e807bc8ef7aa454d47b64ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Are=C3=A1n=20Mag=C3=A1n?= Date: Tue, 20 Oct 2026 09:15:23 +0200 Subject: [PATCH] M14: refresh the Spanish catalog's ATTRIBUTION entry and date the parity figures `cargo xtask assets` pins a SHA-256 for every catalog, so editing `es.tsv` left its ATTRIBUTION.toml entry stale and `assets::tests::the_real_manifest_passes` failed on both runners. Re-verified the file's provenance, updated the hash, recorded that the coverage additions are AI-assisted and not separately native-reviewed -- as #2510 did for `lt` and `vi` -- and regenerated ATTRIBUTION.md. Review notes on docs/localization-parity.md: - Lithuanian's `2,585 entries` was measured on 2026-10-13 and read as if `lt` were behind. Re-measured today it covers the whole 2,674-key union, so it is restated like `es` and `vi`. - *How this was measured* now says outright that the union is a moving target: every change that adds a string widens it, a count only compares with others of the same date, and a catalog at 100% falls behind without losing a translation. Earlier revisions quote the union of their own date, not this one. Co-Authored-By: Claude Opus 5 --- ATTRIBUTION.md | 2 +- ATTRIBUTION.toml | 4 ++-- docs/localization-parity.md | 19 ++++++++++++------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 5cfee8d55..53481e04c 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -13,7 +13,7 @@ Every asset PdfCraft includes, bundles or uses to build its published material, | `crates/ui-egui/src/i18n/zh-hant.tsv` | Traditional Chinese (Taiwan) interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | Traditional Chinese UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | | `crates/ui-egui/src/i18n/cs.tsv` | Czech interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | Czech UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | | `crates/ui-egui/src/i18n/pt-br.tsv` | Brazilian Portuguese interface translation catalog | André Cardoso (andrecards), PdfCraft contributors | MIT OR Apache-2.0 | Clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources: the ~1,826-entry gist posted in issue #288 (https://gist.github.com/andrecards/ac388c25fba17312ce83207f8b7b467e), completed and reviewed by PdfCraft contributors | Brazilian Portuguese UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | -| `crates/ui-egui/src/i18n/es.tsv` | Spanish interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | Spanish UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | +| `crates/ui-egui/src/i18n/es.tsv` | Spanish interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources; the 2026-10-20 coverage additions are AI-assisted and not separately native-reviewed | Spanish UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | | `crates/ui-egui/src/i18n/fr.tsv` | French interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | French UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | | `crates/ui-egui/src/i18n/de.tsv` | German interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | German UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | | `crates/ui-egui/src/i18n/te.tsv` | Telugu interface translation catalog | PdfCraft contributors | MIT OR Apache-2.0 | Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources | Telugu UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs | diff --git a/ATTRIBUTION.toml b/ATTRIBUTION.toml index db3dd6124..3f5b86035 100644 --- a/ATTRIBUTION.toml +++ b/ATTRIBUTION.toml @@ -69,12 +69,12 @@ sha256 = "cef0d22341d0722f029c6543fc846fce164331b7ad8f693a6754b7567b9d9e95" path = "crates/ui-egui/src/i18n/es.tsv" title = "Spanish interface translation catalog" author = "PdfCraft contributors" -source = "Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources" +source = "Contributor-original: clean-room translations of PdfCraft's English UI labels, no proprietary localisation resources; the 2026-10-20 coverage additions are AI-assisted and not separately native-reviewed" licence = "MIT OR Apache-2.0" licence_file = "LICENSE-MIT" kind = "translation" usage = "Spanish UI strings, compiled in by crates/ui-egui/src/i18n/mod.rs" -sha256 = "c0ca7761cbabd8096bc9af54cdf6b88b3ae0cd8210003db8b3356e2706e44fc8" +sha256 = "1942ed569de545ce2a4a2a599279d9e3d5abbf365be4359b654cb8aa92561eae" [[asset]] path = "crates/ui-egui/src/i18n/fr.tsv" diff --git a/docs/localization-parity.md b/docs/localization-parity.md index 639ce249f..448128956 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -9,11 +9,16 @@ add a language: [localization.md](localization.md). Summary in [ROADMAP.md](../R ## How this was measured - **Strings translated** is measured: the catalogs in `crates/ui-egui/src/i18n/.tsv`, counted - as distinct `(context, English)` keys with a non-empty translation. The **current** denominator is - the union of keys across all catalogs (**2,674** keys as of 2026-10-20, counting language-specific - context rows such as `theme`/`Appearance`). The twelve-language percentage table below - still quotes the **historical 2,143-key snapshot** from 2026-10-10 for every language except - Vietnamese and Spanish (re-measured against the current union). English is built in. + as distinct `(context, English)` keys with a non-empty translation. The denominator is the union of + keys across all catalogs, counting language-specific context rows such as `theme`/`Appearance`. + **That union is a moving target**: every change that adds a string widens it, so a count is only + comparable with others measured on the same date, and a catalog that reached 100% falls behind + without losing a single translation. Every figure here therefore carries its date. The current + union is **2,674** keys as of 2026-10-20, against the **2,143-key snapshot** of 2026-10-10; earlier + revisions quote the union of their own date (see the revision history), not this one. The + twelve-language percentage table below still quotes the 2026-10-10 snapshot for every language + except Spanish, Vietnamese and Lithuanian, which are measured against the current union. English is + built in. - **Not counted:** error details from the engine and the operating system, which are shown in English inside a translated frame; there is no translated user documentation or help yet (Acrobat ships localized help). @@ -69,7 +74,7 @@ help/docs polish (catalog and script work are already done), not missing UI stri | Slovenian | `sl` | 2,324 entries | partial | no | | Greek | `el` | 2,341 entries | partial | no | | Turkish | `tr` | 2,313 entries | partial | yes | -| Lithuanian | `lt` | 2,585 entries | partial; community native-speaker review ([#1401](https://github.com/storytold/pdfcraft/pull/1401)) | no | +| Lithuanian | `lt` | 2,674 (100% of current key union) | partial; community native-speaker review ([#1401](https://github.com/storytold/pdfcraft/pull/1401)) | no | **14 other languages** ship (22 catalogs plus English = **23** interface languages in Preferences). The entry counts without percentages were measured on 2026-10-12–13; they are not percentages of the older 2,143-key snapshot above. Their presence does not imply a detailed linguistic or runtime review. @@ -82,7 +87,7 @@ Acrobat languages PdfCraft lacks: Danish, Dutch, Finnish, Norwegian, Swedish, He | Date | Change | Summary | |---|---|---| -| 2026-10-20 | minor | Spanish: the 143 keys the other catalogs had and `es.tsv` was missing; `es` now covers the whole 2,674-key union, like `lt` and `vi` | +| 2026-10-20 | minor | Spanish: the 143 keys the other catalogs had and `es.tsv` was missing; `es` now covers the whole 2,674-key union, like `lt` and `vi`. Restated Lithuanian against the current union (its 2,585 was measured on 2026-10-13) and said plainly in *How this was measured* that the union moves, so counts only compare within a date | | 2026-10-13 | minor | Vietnamese (`vi`) catalog: 2,591 entries (100% of current key union + `theme`/`Appearance`); twelve-language mean ≈ 68%; native-speaker community review; registered with `plural_none` | | 2026-10-14 | minor | Italian: 2,528 entries after adding the 201 keys the other catalogs had and the code looks up | | 2026-10-12 | minor | Added current counts for Kazakh, Polish, Slovenian, Greek, Turkish and Lithuanian; retained existing language assessments and the original percentage snapshot |