controller v0.296.0: a backup run cut off by a power cut or restart is said on the backup pages (R-519); the whole-system backup text states today's measurement (R-518)
gates / gates (push) Successful in 30s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-05 12:14:54 +02:00
parent 477e2548db
commit ff69074514
21 changed files with 2700 additions and 21 deletions
@@ -401,6 +401,22 @@ func i18nCases() []i18nCase {
d["OffboxOfferCount"] = 2
return d
}})
// v0.296.0 (R-519): the interrupted-run line, captured when it was born — on both backup pages.
base = append(base, i18nCase{"backups_interrupted_run", "backups", func() map[string]interface{} {
d := i18nLayoutData("backups", "Biztonsági mentés")
d["Backup"] = map[string]interface{}{"DumpFiles": []string{"a.sql"}, "Interrupted": true, "InterruptedRunAt": i18nFixtureTime(),
"LastDBDump": map[string]interface{}{"Success": false, "Results": []int{1}}}
d["DBSectionState"] = "dumps"
return d
}}, i18nCase{"backups_apps_interrupted_run", "backups_apps", func() map[string]interface{} {
d := i18nAppsData("ok", false, true, "dumps")
if b, ok := d["Backup"].(map[string]interface{}); ok {
b["Interrupted"], b["InterruptedRunAt"] = true, i18nFixtureTime()
} else {
d["Backup"] = map[string]interface{}{"Interrupted": true, "InterruptedRunAt": i18nFixtureTime()}
}
return d
}})
base = append(base, i18nCase{"app_info_known_login_changed", "app_info", func() map[string]interface{} {
d := i18nLayoutData("stacks", "Calibre-Web")
st := stacks.Stack{Name: "calibre-web", Deployed: true, State: stacks.StateRunning}