docs/mcp.md now names the shapes the same-font near match compares again:
a shape matched whole whose matches are all near matches in other fonts,
with an open line before it. Exact matches, split shapes, shapes with no
match and shapes after an unmatched shape are not compared again
(crates/engine/src/cmd/retype.rs, join_in_line_face and its caller).
The Gujarati status callout in docs/localization-parity.md now says the
pinned fonts include Noto Sans Gujarati, as its table row does; the web
startup list still has no Gujarati face.
docs/ui-parity.md limits the condensed tab-title face to desktop builds;
web builds draw tab titles in the semibold face (docs/development.md).
The CI, FreeBSD, nightly, macOS nightly and release workflows pinned
craft-fonts b076417, which has no fonts/latin-manifest.txt, so every
build warned that it could not embed the tab-title face. They now pin
craft-fonts main at 16bbfc3, which adds Noto Sans Condensed SemiBold
(storytold/craft-fonts#72), so builds from these workflows draw document
tab titles in it. The pin also brings Noto Sans Lao, Noto Sans for eight
Indian scripts (Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu,
Kannada and Malayalam) and the Latin catalog.
With the new faces a build loads 135 faces instead of 54, and Retype
compares the first 96 first. Two faults showed:
- Retype: near matching fits a shape with at most the 256 glyphs closest
to it in proportion over every face. The dots and periods of the new
faces, drawn alike in each family and each named weight, took all 256
places, so a simplified Source Sans 3 period after "no" matched no
glyph of Source Sans 3 and was left as an outline. A shape that near
matches no glyph of the font of the line before it is now also
compared with that font's own 256 closest glyphs, and joins the line
when one fits. RetypeIndex::near_matches_in does that lookup.
- Tests: six Retype tests added their test font to the global font
database and expected Retype to compare it, which it did only while
fewer than 96 faces were loaded before it. They now name the font
(type.retype's fonts, or live type in the family as #6896 does for
of_two_versions_only_the_one_the_name_gives_is_listed), and
lines_in_family fails when the family has no match instead of reading
another face.
all_supplied_craft_font_families_are_registered_without_system_fonts
looked up every embedded craft-fonts face in the document font database.
The tab-title face is embedded for tab titles only and the database
leaves it out (document_fonts), so the test now checks the faces
document_fonts lists.
docs/mcp.md describes the new near-match step, and docs/ui-parity.md and
docs/localization-parity.md describe the new pin.
The pin change and the version test fix follow #6896 by @newsbaba24x7.
- Keep Arabic unavailable in offered_codes, Language picker, and preference resolution
- Verify CLDR 6-form plural rule and catalog parsing on custom instance
- Update parity docs and leave #7665 open for the catalog consumer PR
Move the 873 Arabic translated entries to storytold/craft-i18n#486 under
AGENTS.md rule 16, keeping the language registration, 6-form CLDR plural
routing, and locale preference tests in VectorCraft.
Bulgarian joins COMPLETE_MESSAGES. bg.tsv gets 987 new message rows
(982 @msg, 5 @msgplural) for the keys the other complete-message
languages translate, plus the liquify and variable context rows the
list tests read.
Nine existing Bulgarian @msg rows began with a space, so those status
messages were shown with a leading space. They are fixed, and the new
test message_translations_keep_their_english_edges checks every
catalog for a translation that adds whitespace at either end.
Docs: docs/localization-parity.md, docs/target-app-parity.md and
docs/development.md list Bulgarian with the other complete-message
languages.
localization-parity.md: the key-language table has 13 rows, so its
heading says thirteen. 22 catalog rows give counts taken on main at
ee60c51fd9. A row is a non-comment line of crates/ui-egui/src/i18n/
<code>.tsv with three tab-separated columns and a non-empty source and
translation, as catalog::parse_entries reads it; `@msg` and
`@msgplural` are rows with that first column. Missing-string counts
come from `cargo xtask i18n-report` on the same commit and include the
strings it lists under "every language" (1 menu string, 1 `tl!`
literal, 3 undo labels and 15 messages). Notes naming pull requests
that would translate the missing messages are removed with the old
counts; #7434, still open, was one of them. The measurement note says
the 4,020 French reference applies to the percentages only.
- zh-hans 9,625 rows, 3,735 `@msg`, 51 `@msgplural`; 237 messages missing
- fr 9,770, 3,731, 51; 246 messages
- pt-br 9,868, 3,744, 51; 236 messages
- ja 9,477, 3,738, 51; 237 messages
- de 9,371, 3,742, 51; 236 messages
- vi 7,654, 1,968, 51; 1,974 messages
- zh-hant 9,428, 3,735, 51; 237 messages
- it 9,415, 3,740, 51; 237 messages
- nl 9,848, 3,747, 51; 235 messages
- da 9,928, 3,838, 51; 118 messages
- ru 9,866, 3,742, 51; 242 messages, 72 menu strings, 34 `tl!`
literals, 16 undo labels
- uk 9,412, 3,738, 51
- hu 9,774, 3,743, 51; 236 messages, 73 menu strings, 38 `tl!`
strings, 16 undo labels, 45 swatch names
- pl 9,650, 3,736, 51; 242 messages, 73 menu strings, 39 `tl!`
literals, 16 undo labels, 45 swatch names
- fi 8,074, 1,975, 51; 1,974 messages
- cs 9,761, 3,742, 51; 222 Czech messages plus 15 in every language
- bs 7,227, 1,205, 47; 113 menu strings, 66 `tl!` literals, 30 undo
labels
- sv 9,498, 3,311, 51; 647 messages, 31 menu strings, 14 `tl!`
literals, 6 undo labels
- bg 7,133, 1,111, 47; 76 menu strings, 48 `tl!` literals, 16 undo
labels, 45 swatch names
- el 8,003, 1,972, 51; 1,974 messages
- tr 9,784, 3,746, 51; 235 messages, 79 menu strings, 39 `tl!`
literals, 16 undo labels
- ca 8,036, 1,956, 51; 1,990 messages
The es, hi, id, ka, ko and gu rows and the catalog total under the
second table are left as they are, since open pull requests change
those lines or add a row next to them.
gaps.md: G16 is titled "Localization: remaining language work", with
the table link updated to the new anchor. Its own Missing list names
Arabic as the only key language without a catalog.
Danish is in COMPLETE_MESSAGES, but the untranslated report listed 2,066
status and error messages with no Danish row, and they showed in English.
- da.tsv gains 1,985 @msg rows in one block under a comment. Placeholders,
doubled braces, backticked names, command ids, double-quoted values and
bare true, false and null stay as the English writes them.
- Rows that other open pull requests add to da.tsv, and the 38 messages no
catalog has a row for yet, are left out. So are the three messages that
open #7353 rewrites so that a catalog row can match them.
- A test checks a sample of the new rows with their values filled in.
- docs/localization-parity.md and docs/target-app-parity.md give the new
counts: the report lists 81 Danish messages.
Main's Georgian catalog has a row for `index` must be a whole number
and one for the knockout groups warning, so the copies this branch
added are removed. Main's knockout row had two spaces after the colon,
which neither the program's text nor the message scan matches; it now
has one. The Georgian counts in localization-parity.md are recounted.
Indonesian joins COMPLETE_MESSAGES, and id.tsv gains 645 @msg rows
and 2 @msgplural rows for status-bar and error messages the message
tests check. Indonesian has one plural form, so each @msgplural row
gives one translation. The messages that Danish also leaves
untranslated still show in English.
The localization docs list Indonesian with the complete-message
languages and give the catalog's new counts.
The Japanese row in docs/localization-parity.md said every message is
translated, and the Japanese catalog line in docs/target-app-parity.md
said 38 messages were missing, one of them waiting on #7214, which has
merged. On main the untranslated report lists 98 messages without a
Japanese row, 77 of which every complete-message language lacks. Both
lines now give the counted rows and the report's count, and name the
open pull requests that translate part of them.