Merge main into rebrand-doors (Bulgarian glossary, FLoRA redirect)
Merged
LU
6d ago+15780+15780+01234567890123456789012345678901234567890123456789-3973-3973-0123456789012345678901234567890123456789
Merges main into rebrand-doors (through 369571d66f), bringing the Bulgarian glossary (#1093, #1317), the /FLoRA redirect (#1307), and related glossary updates into the Doors redesign, and unblocking rebrand-preview.yaml builds now that main's data-artifact includes Bulgarian glossary pages.
What changes for visitors
- Bulgarian glossary (
/glossary/bulgarian/and 140 term pages): renders in Doors with Bulgarian labels, language switcher entries across all six languages, formatted titles (*p*-стойност), free-text related terms placed outside related-term cards, and a clean A–Я letter grid (doors/glossary_order.htmlstrips leading quotation marks so quoted titles like “Шерпа Ромео” no longer split letters into duplicate headings). - Cyrillic typography: adds a 15 KB Cyrillic subset of Source Sans 3 (
fonts.css/build_fonts.py) loaded only where Cyrillic appears and preloaded on Bulgarian pages;main:lang(bg)sets headings in Source Sans 3 (600) so Cyrillic and Latin names share one typeface (Newsreader lacks Cyrillic).DESIGN.md §7is updated. - FLoRA redirect (#1307):
/FLoRA/alias frommainplus a case-insensitive/flora/rule in Doorslayouts/404.html, tested incheck_preview.py. - Glossary pager & checks: clips pager preview text under 80 characters (fixes an 81-character Bulgarian preview line), ports
main's Bulgarian glossary SEO check as check 32, adds check 33 (unique hub letters), fixes check 16 term-link collection, and updatescheck_source_rules.pyso generated files arriving byte-identical fromorigin/mainin a merge PR are not flagged as hand edits.
Bulgarian glossary preview (Doors)
| Desktop (1440 px) — Hub | Desktop (1440 px) — Cards |
|---|---|
| Mobile (390 px) — Hub | Mobile (390 px) — Term (p-стойност) |
|---|---|
Decisions to review
- Standard vs Bulgarian-localised Cyrillic glyph forms: Source Sans 3's Bulgarian
loclforms were stripped inbuild_fonts.pyso pages match the standard Cyrillic forms translators reviewed onmain(Inter). Restoring them is a one-line change inbuild_fonts.py. - Untranslated Doors UI labels: Doors-specific UI chrome not present on
main(Изглед,Карти,Списък,Език,Изчистване,"Търсене в %d термина","Въведете термин","За речника и как да го цитирате","Термини по букви","Няма съвпадащ термин.",Начало,Предишен/Следващ, author-toggle strings, and language switcher names for Bulgarian in the other languages) has not yet been reviewed by the Bulgarian translation team. - Generated files:
git diff origin/main HEAD -- content/glossary/ content/replication-hub/flora/_index.mdcontains zero changes to generated outputs (only Doors' pre-existing meta-description line in_build_references.py). - References rendering (#1315): not ported because Doors' references page already renders the same 567 works as
main.
Checks
hugo --gc --cleanDestinationDir: clean buildpython3 scripts/check_seo_html.py: pass (including new checks 32 & 33)python3 scripts/rebrand/check_source_rules.py --base origin/rebrand-doorsand--base origin/main: exit 0python3 scripts/check_sitemap_lastmod.py --compare-source: 0 mismatches in 300 sampledpython3 scripts/rebrand/check_design.pyandcheck_axe.pyacross all 141 Bulgarian pages plus German, Turkish, Chinese, Arabic,/glossary/references/,/404.html: 0 failurespython3 -m unittest discover -s scripts/tests&test_parse_disciplines_gdoc.py: all pass (278 + 13)
Note: On CI, Designed screens may still hit the pre-existing /lesson-plans/ 148-character PhD card failure on rebrand-doors until the separate Lesson Plans PR lands.
Created with Claude Opus 5.5 (Claude Code) and Gemini 4 Neon (Antigravity) in T3 Code.