Repository navigation
Re-baseline translation status and make third-party notices passthrough - #431
Merged
Merged
Conversation
Crowdin merges never updated .translation-status.json, so the hashes were stale and the first production run would have re-translated 186 (es) and 185 (zh) whole files. Re-seed both status files with --baseline at current main (after Crowdin #429). Copy security/third-party-notices.md from English instead of translating it. Passthrough patterns now take precedence over sources, so a file matched by both is copied, never translated.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-431.westeurope.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-431.westeurope.azurestaticapps.net |
Metallist1
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Crowdin merges (#400, #426, #429, ...) never updated
localizedContent/{lang}/.translation-status.json. The recorded hashes were stale, so withTRANSLATED_ENV=productionthe next push tomainwould have re-translated 186 (es) and 185 (zh) whole files, about 3.83M characters in total. Many of those files were already current.Changes
translate-content.py --baseline --overwrite-baselineat currentmain(after Crowdin New Crowdin updates #429).--repair-existingwas not used, so no translation file changed.security/third-party-notices.md: added totranslation.passthrough. It is copied from English and never translated. The English copy is committed for es and zh with statuscopied.get_scoped_sources: passthrough patterns now take precedence oversources. Without this,**/*.mdkept the notices page in scope and the passthrough entry had no effect. A self-test check covers it.