Skip to content

fix(glossary): match product names and UI labels in context - #232

Open
NickWick13 wants to merge 1 commit into
Silo-Server:mainfrom
NickWick13:fix/glossary-name-matching
Open

NickWick13 wants to merge 1 commit into
Silo-Server:mainfrom
NickWick13:fix/glossary-name-matching

Conversation

@NickWick13

@NickWick13 NickWick13 commented Dec 6, 2026 •

Copy link
Copy Markdown

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 spelling Plex-Home.

For the recommendations label, the matcher recognizes the English spellings used in the catalog, including FOR YOU and 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) and make 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.

@silo-triage silo-triage Bot added the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Dec 6, 2026
@coderabbitai

coderabbitai Bot commented Dec 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 168f9f02-dce7-4914-b344-f5f0726f9ca5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-triage silo-triage Bot added the bug Something isn't working label Dec 6, 2026
@NickWick13
NickWick13 force-pushed the fix/glossary-name-matching branch from aa30343 to 1691230 Compare December 6, 2026 07:47
@silo-triage silo-triage Bot added size/XL 500–999 added + deleted lines (all files); change volume, not priority. and removed size/M 50–199 added + deleted lines (all files); change volume, not priority. labels Dec 6, 2026

Copy link
Copy Markdown
Author

Could a maintainer please approve the validate workflow run for commit 1691230 so the tests can start? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/XL 500–999 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Glossary validator flags product names, HTTP headers, and ordinary uses of “for you”

1 participant