mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-06-06 22:02:15 +00:00
Fix lints and automatic updates
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -73,7 +73,7 @@ function Account(): React.ReactElement {
|
||||
<Tooltip label={t("frontend.nav.device_limit_error")}>
|
||||
<IconErrorSolid className={styles.navBarErrorIcon} />
|
||||
</Tooltip>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user