Repository navigation
Preserve source-attested format names in translated tables - #880
Merged
Merged
Conversation
The language table names Protocol Buffers and FlatBuffers beside their parser extensions. Protect only those source-name spans when their matching inline extension is present, while ordinary qualifiers still require translation. Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry
Translation checks preserve the Protocol Buffers and FlatBuffers format names in the code-index language table while requiring ordinary descriptions to be translated.
Why
The source table names both formats beside their parser extensions. Retaining those proper names is required, but the untranslated-label check treats them as ordinary English and rejects an otherwise valid translated cell.
Scope and risk
The existing source-protection helper recognizes each exact name only in the documented source, with its matching inline-code extension in the source cell. Name spelling and order remain checked, and surrounding words still require translation. The change touches the helper and its focused tests.
Compatibility, rollout and rollback
Tests
AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated: Codex wrote the source declarations and tests; the publisher checked the complete diff, source attestations and validation evidence.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist