Skip to content

[bug] Restore explanations in the expanded row and report stay in English #4669

Open

Description

@Quick104

What happened

The web restore flow shows some of its explanations in English whatever the language. The server builds the settings page notes and page messages of a selective restore as English sentences (for example "1 setting would widen access, so this server keeps its stricter current value.", or the "encrypted with another SECRET_KEY" note). The web app shows them as they are in the expanded preview row (item.message) and in the restore report (item.notes). The review step's Left out list does translate the same facts, because it builds them from catalog keys.

Steps to reproduce

  1. Switch the web app to a language other than English.
  2. Open a backup restore whose settings page has a setting it leaves out (a stricter access setting, one encrypted with another key, or, once fix(backup): keep settings the environment sets out of a selective restore #4667 merges, one set by an environment variable), and expand that page's row.
  3. Restore the page and open the report.

Expected behavior

The expanded row and the report show the explanation in the chosen language, as the review step does.

Silo version / commit

main at 66b836f (seen in review; not reproduced on a deployment).

Deployment

Any.

Clients affected

Web admin only. The Apple, Android, and Roku apps have no restore screens.

Relevant logs

No logs available.

Technical notes

settingCounts.notes() and the page messages in settingsPageItems and applySettingsPage (internal/backup/selective_settings*.go) return English text, and RestoreRows.tsx prefers item.message over the translated reason sentence. A fix could send the counts and reasons as structured data the web renders from the catalog. It changes lines that #4667 also changes, so it follows that pull request.

AI disclosure

  • Harness: Claude Code in T3 Code
  • Model: claude-opus-5-5
  • Involvement: found by an AI review (gpt-6.2-sol) and confirmed against the source by claude-opus-5-5; not reproduced live.

Confirmations

  • Reproduced on a real deployment (no: confirmed from source)

Source: found in review of #4667

Activity

  1. added
    bug
    on Nov 20, 2026
  2. added
    impact: polish
    priority: P2
    triaged
    on Nov 20, 2026
  3. Quick104 commented on Nov 20, 2026

    @Quick104
    ContributorAuthor

    One more case for the rework, from the review of #4667: a settings page whose differing settings are all kept back for more than one reason (for example a setting set by an environment variable and another that would widen access) shows only the first reason's message, "Every setting that differs would widen access…", which is wrong for the other setting. Structured counts per reason would let the page show each one.

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

    bugimpact: polishpriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions