fix connected col translations

This commit is contained in:
miloschwartz
2026-01-19 21:34:14 -08:00
parent adf5caf18a
commit c6f947e470
3 changed files with 8 additions and 6 deletions

View File

@@ -2512,5 +2512,7 @@
"unblock": "Unblock", "unblock": "Unblock",
"deviceActions": "Device Actions", "deviceActions": "Device Actions",
"deviceActionsDescription": "Manage device status and access", "deviceActionsDescription": "Manage device status and access",
"devicePendingApprovalBannerDescription": "This device is pending approval. It won't be able to connect to resources until approved." "devicePendingApprovalBannerDescription": "This device is pending approval. It won't be able to connect to resources until approved.",
"connected": "Connected",
"disconnected": "Disconnected"
} }

View File

@@ -264,14 +264,14 @@ export default function MachineClientsTable({
return ( return (
<span className="text-green-500 flex items-center space-x-2"> <span className="text-green-500 flex items-center space-x-2">
<div className="w-2 h-2 bg-green-500 rounded-full"></div> <div className="w-2 h-2 bg-green-500 rounded-full"></div>
<span>Connected</span> <span>{t("connected")}</span>
</span> </span>
); );
} else { } else {
return ( return (
<span className="text-neutral-500 flex items-center space-x-2"> <span className="text-neutral-500 flex items-center space-x-2">
<div className="w-2 h-2 bg-gray-500 rounded-full"></div> <div className="w-2 h-2 bg-gray-500 rounded-full"></div>
<span>Disconnected</span> <span>{t("disconnected")}</span>
</span> </span>
); );
} }

View File

@@ -314,7 +314,7 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
}, },
{ {
accessorKey: "online", accessorKey: "online",
friendlyName: t("online"), friendlyName: t("connectivity"),
header: ({ column }) => { header: ({ column }) => {
return ( return (
<Button <Button
@@ -336,14 +336,14 @@ export default function UserDevicesTable({ userClients }: ClientTableProps) {
return ( return (
<span className="text-green-500 flex items-center space-x-2"> <span className="text-green-500 flex items-center space-x-2">
<div className="w-2 h-2 bg-green-500 rounded-full"></div> <div className="w-2 h-2 bg-green-500 rounded-full"></div>
<span>{t("online")}</span> <span>{t("connected")}</span>
</span> </span>
); );
} else { } else {
return ( return (
<span className="text-neutral-500 flex items-center space-x-2"> <span className="text-neutral-500 flex items-center space-x-2">
<div className="w-2 h-2 bg-gray-500 rounded-full"></div> <div className="w-2 h-2 bg-gray-500 rounded-full"></div>
<span>{t("offline")}</span> <span>{t("disconnected")}</span>
</span> </span>
); );
} }