diff --git a/client/ui/i18n/locales/en/common.json b/client/ui/i18n/locales/en/common.json index d4c13eff2..42d40ec30 100644 --- a/client/ui/i18n/locales/en/common.json +++ b/client/ui/i18n/locales/en/common.json @@ -35,10 +35,6 @@ "message": "Session expired", "description": "Tray status: the authenticated session expired; the user must sign in again." }, - "tray.session.expired": { - "message": "Session expired \u2014 sign in again", - "description": "Tray row shown once the session deadline has passed. Clicking it opens the sign-in flow. Keep short." - }, "tray.session.expiresIn": { "message": "Session expires in {remaining}", "description": "Tray row showing time left before the session expires. {remaining} is a human-readable duration such as '5 minutes', built from the tray.session.unit.* strings. Keep {remaining} unchanged." diff --git a/client/ui/tray_session.go b/client/ui/tray_session.go index a2566feb7..3d17bb968 100644 --- a/client/ui/tray_session.go +++ b/client/ui/tray_session.go @@ -93,7 +93,7 @@ func (t *Tray) refreshSessionExpiresLabel() { func (t *Tray) sessionRowLabel(deadline time.Time) string { remaining := time.Until(deadline) if remaining <= 0 { - return t.loc.T("tray.session.expired") + return t.loc.T("tray.status.sessionExpired") } return t.loc.T("tray.session.expiresIn", "remaining", t.formatSessionRemaining(remaining)) }