Repository navigation
fix(glossary): match product names and UI labels in context - #232
Open
NickWick13 wants to merge 1 commit into
Open
NickWick13 wants to merge 1 commit into
NickWick13 wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
NickWick13
force-pushed
the
fix/glossary-name-matching
branch
from
December 6, 2026 07:47
aa30343 to
1691230
Compare
Author
|
Could a maintainer please approve the |
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.
Fixes #231.
“Choose a Plex Home user” used to ask translators to translate “Home” inside the product name. The matcher now checks the full glossary term at that position and checks “user” separately. The same rule handles the HTTP header
User-Agent. The glossary includes the German compound spellingPlex-Home.For the recommendations label, the matcher recognizes the English spellings used in the catalog, including
FOR YOUand quoted references to “For You”. An instruction such as “Your phone or tablet is checking this code for you” no longer asks translators to use the tab name. Translation prompts use the same matcher.The checker distinguishes a TV season from a holiday date range and a menu label from a verb or idiom. For example, “episodes play in a row” and “Display titles in a row” have different meanings. Swedish request cards can use “Läggs till” and “Finns delvis” within their 12-character limit. “Annars laddas nya avsnitt ned igen” also passes, while changing “ned” to “upp” still produces a warning.
Five English entries mark directory names or audit filter examples with
x-literals. A translation must preserve the visible identifier exactly. The matcher still checks ordinary words elsewhere in the same string, and the translation prompt lists the terms and identifiers that apply to each item.On the Swedish catalog from #230 (
43ce05a), this follow-up removes all 17 remaining warnings. On main's Swedish catalog (95a7440), 11 warnings remain, including the incorrect short status “Delvis klar”. In a separate copy of the reviewed catalog, the checker reported all 13 deliberately introduced mistakes, including swapped statuses, altered identifiers and mistranslated menu labels.I ran
make ci(265 tests) andmake check-complete(38 complete languages). I also compared the generated resources for web, Android, Apple and Roku against the previous revision. All 128 files matched after accounting for the build version in the generated headers.