Skip to content

fix(i18n): the key named tabInfrastructure holds the value "Overview" #17487

Closed

Description

@mrveiss

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 tabOverview at 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.tabInfrastructure is 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

  1. added
    needs-structureMissing goal milestone, matching phase label or native parent (#19522)
    on Nov 2, 2026
  2. github-actions commented on Nov 2, 2026

    @github-actions
    Contributor

    needs-structure: this issue is missing:

    • a native parent issue (add one, or write Parent: #N in the body), unless this is an umbrella with sub-issues

    The label clears on the next issue event once all three are present (#19522).

  3. added
    needs-ac-evidenceClosed by a merge keyword; awaits an AC evidence table comment (#19520)
    on Nov 21, 2026
  4. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Landed in #21932, merge 9e603ba96c

  5. mrveiss commented on Nov 21, 2026

    @mrveiss
    OwnerAuthor

    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:131 declares it as { id: 'infrastructure', label: t('orchestrationView.tabInfrastructure') }, so the key was right and the value was wrong.

    • consuming component read and intended label recorded: OrchestrationView.vue:131, above.
    • key and value agree: locales/en.json:2042 "tabInfrastructure": "Infrastructure"; test orchestrationTabs.test.ts "reads "Infrastructure" in English".
    • all eleven locales change with the value: ar, de, en, es, fa, fr, he, lv, pl, pt, ur each read "Infrastructure" on main; test "every locale bundle has a recorded old value, so none escapes the check". The non-English locales carry the English text, which is acceptable by owner ruling. No key was renamed, so no orphan.

    All ACs delivered; closed.

  6. mrveiss commented on Nov 21, 2026

    @mrveiss
    OwnerAuthor

    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 services active. All checks read-only.

    Commands (generic)

    • sha256 of the 11 SLM locale files and useOrchestrationManagement.ts, deployed source vs origin/main
    • grep the deployed SLM frontend bundle (the release directory the web server serves, built 21:12 Riga) for tabInfrastructure

    Results

    Check Result
    PR #21932 files (42), deployed source vs origin/main 42/42 match (all 11 autobot-slm-frontend/src/locales/*.json)
    Built SLM i18n chunk tabInfrastructure = "Infrastructure" in all 11 locales; no locale still maps it to "Overview"
    Built Orchestration view chunk consumes orchestrationView.tabInfrastructure (icon chart)

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendinfrastructureneeds-ac-evidenceClosed by a merge keyword; awaits an AC evidence table comment (#19520)needs-structureMissing goal milestone, matching phase label or native parent (#19522)phase:M3.8Knowledge screens

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions