package connect import ( "strings" "testing" ) // The apps render this copy. It never names the hub (Paul, 2026-09-23): // the account is "your Oficina account". func TestEnglishNeverNamesTheHub(t *testing.T) { for k, v := range English { if strings.Contains(v, "Home") { t.Errorf("%s = %q names Home", k, v) } } for state, want := range map[string]string{ "signedout": "You’re signed out", "start": "Connect your Oficina account", "unknown": "Oficina account not connected", } { if got := Page(state, "").Title; got != want { t.Errorf("%s title = %q, want %q", state, got, want) } } if got := Page("signedout", "").ActionLabel; got != "Sign in" { t.Errorf("signedout action = %q, want %q", got, "Sign in") } if got := English["menu_action"]; got != "Connect your Oficina account" { t.Errorf("menu_action = %q", got) } }