Repository navigation
Description
Surfaced while refuting a CodeRabbit comment on #17395 that read this key's name and concluded the
Polish translation was wrong.
The mismatch
autobot-slm-frontend/src/locales/en.json:
orchestrationView.tabInfrastructure = "Overview"
A key named tabInfrastructure holds the string Overview. Every locale then faithfully translates
Overview -- pl has Przegląd, which is correct for the value and wrong for the name. That is
what made the reviewer flag the translation: it compared the value against the key and found them
inconsistent, which they are. It just attributed the inconsistency to the wrong file.
The sibling keys, for context:
| Key | en value |
|---|---|
tabFleet |
Fleet Operations |
tabInfrastructure |
Overview |
tabMigration |
Migration |
tabPerNode |
Per-Node Control |
tabReplication |
Replication |
tabRoles |
Roles & Deployment |
Why it matters beyond tidiness
A key name is the only description a translator gets. Ten locales were generated from this bundle,
so a name that contradicts its value misdirects every downstream translation of it -- and it
misdirected an automated reviewer into proposing a change that would have made Polish diverge from
English. The next reviewer, human or not, will reach the same wrong conclusion.
What needs deciding
One of these is true and the fix differs:
- the tab really is the infrastructure tab and the English value is wrong -> value becomes
Infrastructure, and all ten locales need the corresponding change; - the tab really is the overview tab and the key is misnamed -> rename to
tabOverviewat the key
and its call site, locales unchanged.
Reading the component that consumes it will settle which. I did not do that here because it belongs
with the fix rather than the report.
Not measured
I checked only the orchestrationView.tab* group, because that is where the reviewer's comment
pointed. No sweep was done for other key/value contradictions, so the absence of further
examples in this issue means "not looked for", not "none exist". A general detector is difficult --
it needs to compare a key's intent against its value -- but the narrow case of a key whose last
segment names a noun absent from its value may be checkable.
Acceptance criteria
- The component consuming
orchestrationView.tabInfrastructureis read and the intended label
recorded in this issue. - Key and value agree, by whichever of the two fixes above is correct.
- If the value changes, all eleven locales change with it; if the key changes, the call site
changes with it and no orphan key is left behind.
Activity
github-actions commentedon Nov 2, 2026
needs-structure: this issue is missing:Parent: #Nin the body), unless this is an umbrella with sub-issuesThe label clears on the next issue event once all three are present (#19522).
github-actions commentedon Nov 21, 2026
Landed in #21932, merge
9e603ba96cmrveiss commentedon Nov 21, 2026
Closure evidence for #17487. Commit: 9e603ba (merge of #21932, ancestor of main; content commit 4f48a53). Gate 2: check-issue-close-refs.sh clear.
Intended label, recorded here: the tab is the Infrastructure tab.
autobot-slm-frontend/src/views/OrchestrationView.vue:131declares it as{ id: 'infrastructure', label: t('orchestrationView.tabInfrastructure') }, so the key was right and the value was wrong.locales/en.json:2042"tabInfrastructure": "Infrastructure"; testorchestrationTabs.test.ts"reads "Infrastructure" in English".All ACs delivered; closed.
fix(slm-i18n): tabInfrastructure reads Infrastructure in every locale (…
mrveiss commentedon Nov 21, 2026
Host evidence (install at d8cbd91)
Checked 2026-11-21 ~21:38 Riga. Deployed commit marker on the install =
d8cbd91925a19c7e4bc27696382e8b6a01ef2c0d(=origin/main); backend and SLM backend servicesactive. All checks read-only.Commands (generic)
useOrchestrationManagement.ts, deployed source vs origin/maintabInfrastructureResults
autobot-slm-frontend/src/locales/*.json)tabInfrastructure= "Infrastructure" in all 11 locales; no locale still maps it to "Overview"orchestrationView.tabInfrastructure(iconchart)Verdict
Verified. The key and its value agree ("Infrastructure") in all 11 locales of the served SLM bundle. Note: the non-English locales also carry the English word, as the source on main does.