diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 3f82caf36..8673d4494 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -122,8 +122,8 @@ "inactive_90_days": "Inactive for 90+ days" }, "nav": { - "devices": "Devices", "device_limit_error": "Device limit reached", + "devices": "Devices", "plan": "Plan", "settings": "Settings" }, @@ -290,18 +290,18 @@ "email": "Email" }, "user_sessions_overview": { + "approaching_session_limit_warning_description": "You've used {{num_sessions}} of {{limit}} device slots. Once you reach your limit, you'll need to remove an existing device to add another.", + "approaching_session_limit_warning_header": "Heads up, you're close to your device limit", "heading": "Where you're signed in", + "hit_session_limit_warning_description": "You've used {{num_sessions}} of {{limit}} device slots. When you try to sign-in again, you'll need to remove an existing device.", + "hit_session_limit_warning_header": "You've hit the device limit", "no_active_sessions": { "default": "You are not signed in to any application.", "inactive_90_days": "All your sessions have been active in the last 90 days." }, "num_sessions_filtered_header": "{{filtered_count}} devices match your filter ({{num_sessions}} total)", "num_sessions_header": "{{num_sessions}} devices", - "session_limit_info": "You've used {{num_sessions}}/{{limit}} device slots", - "approaching_session_limit_warning_header": "Heads up, you're close to your device limit", - "approaching_session_limit_warning_description": "You've used {{num_sessions}} of {{limit}} device slots. Once you reach your limit, you'll need to remove an existing device to add another.", - "hit_session_limit_warning_header": "You've hit the device limit", - "hit_session_limit_warning_description": "You've used {{num_sessions}} of {{limit}} device slots. When you try to sign-in again, you'll need to remove an existing device." + "session_limit_info": "You've used {{num_sessions}}/{{limit}} device slots" }, "verify_email": { "code_expired_alert": { diff --git a/frontend/src/routes/_account.sessions.index.tsx b/frontend/src/routes/_account.sessions.index.tsx index c65f754f8..90f0c2d0a 100644 --- a/frontend/src/routes/_account.sessions.index.tsx +++ b/frontend/src/routes/_account.sessions.index.tsx @@ -6,8 +6,8 @@ import { queryOptions, useSuspenseQuery } from "@tanstack/react-query"; import { notFound } from "@tanstack/react-router"; -import { Alert, H3, H4, Tooltip } from "@vector-im/compound-web"; import IconInfo from "@vector-im/compound-design-tokens/assets/web/icons/info"; +import { Alert, H3, H4, Tooltip } from "@vector-im/compound-web"; import { useTranslation } from "react-i18next"; import * as v from "valibot"; import { ButtonLink } from "../components/ButtonLink"; @@ -176,7 +176,7 @@ function Sessions(): React.ReactElement { // But if we're showing a filtered down view, we want to explain how many devices you // filtered down to and how many total unfilterd devices there are total. if ( - overviewViewer.unfilteredAppSessions.totalCount != appSessions.totalCount + overviewViewer.unfilteredAppSessions.totalCount !== appSessions.totalCount ) { deviceHeaderText = t( "frontend.user_sessions_overview.num_sessions_filtered_header", diff --git a/frontend/src/routes/_account.tsx b/frontend/src/routes/_account.tsx index b67584bf4..c8057c18e 100644 --- a/frontend/src/routes/_account.tsx +++ b/frontend/src/routes/_account.tsx @@ -73,7 +73,7 @@ function Account(): React.ReactElement { - ) + ); } return (