diff --git a/client/src/components/common/HeaderCreate.tsx b/client/src/components/common/HeaderCreate.tsx index 5af4e8629..ded3ecca1 100644 --- a/client/src/components/common/HeaderCreate.tsx +++ b/client/src/components/common/HeaderCreate.tsx @@ -47,7 +47,7 @@ export const HeaderCreate = ({ > {limitReached ? "Your plan's limit has been reached" - : label || t("createNew")} + : label || t("common.buttons.createNew")} diff --git a/client/src/components/common/HeaderRange.tsx b/client/src/components/common/HeaderRange.tsx index 0fd7348b3..220c187ee 100644 --- a/client/src/components/common/HeaderRange.tsx +++ b/client/src/components/common/HeaderRange.tsx @@ -3,6 +3,7 @@ import { ButtonGroup, Button } from "@/components/inputs"; import { useTheme } from "@mui/material/styles"; import Typography from "@mui/material/Typography"; import useMediaQuery from "@mui/material/useMediaQuery"; +import { useTranslation } from "react-i18next"; export const HeaderRange = ({ range, setRange, @@ -14,6 +15,7 @@ export const HeaderRange = ({ loading: boolean; all?: boolean; }) => { + const { t } = useTranslation(); const theme = useTheme(); const isSmall = useMediaQuery(theme.breakpoints.down("md")); return ( @@ -45,7 +47,7 @@ export const HeaderRange = ({ : undefined } > - All + {t("common.buttons.range.all")} )} diff --git a/client/src/components/design-elements/BasePage.tsx b/client/src/components/design-elements/BasePage.tsx index be5ec1d33..f523ab79f 100644 --- a/client/src/components/design-elements/BasePage.tsx +++ b/client/src/components/design-elements/BasePage.tsx @@ -127,9 +127,9 @@ export const MonitorBasePageWithStates: React.FC< return ( diff --git a/client/src/components/design-elements/StatusBox.tsx b/client/src/components/design-elements/StatusBox.tsx index d0b1e05f2..0ccea02ce 100644 --- a/client/src/components/design-elements/StatusBox.tsx +++ b/client/src/components/design-elements/StatusBox.tsx @@ -41,7 +41,11 @@ const StatusBox = ({ return ( - + {label} @@ -55,23 +59,47 @@ const StatusBox = ({ export const UpStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); - return ; + return ( + + ); }; export const DownStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); - return ; + return ( + + ); }; export const PausedStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); - return ; + return ( + + ); }; export const InitializingStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); - return ; + return ( + + ); }; diff --git a/client/src/components/design-elements/Table.tsx b/client/src/components/design-elements/Table.tsx index 19a63fa79..a59e7dedc 100644 --- a/client/src/components/design-elements/Table.tsx +++ b/client/src/components/design-elements/Table.tsx @@ -22,6 +22,7 @@ import { import TablePagination from "@mui/material/TablePagination"; import type { TablePaginationProps } from "@mui/material/TablePagination"; +import { useTranslation } from "react-i18next"; import { useState, Fragment } from "react"; import { useTheme } from "@mui/material/styles"; import useMediaQuery from "@mui/material/useMediaQuery"; @@ -362,6 +363,7 @@ export const Pagination: React.FC = ({ ...props }) => { const EmptyView = () => { const theme = useTheme(); + const { t } = useTranslation(); return ( { borderRadius: theme.shape.borderRadius, }} > - No data + {t("monitors.common.table.empty")} ); }; diff --git a/client/src/components/inputs/Dialog.tsx b/client/src/components/inputs/Dialog.tsx index 662da2e03..287bfa893 100644 --- a/client/src/components/inputs/Dialog.tsx +++ b/client/src/components/inputs/Dialog.tsx @@ -5,6 +5,7 @@ import DialogContentText from "@mui/material/DialogContentText"; import DialogTitle from "@mui/material/DialogTitle"; import { Button } from "@/components/inputs"; import { typographyLevels } from "@/theme/palette"; +import { useTranslation } from "react-i18next"; export const DialogInput = ({ open, @@ -25,6 +26,7 @@ export const DialogInput = ({ cancelColor?: "error" | "primary"; loading?: boolean; }) => { + const { t } = useTranslation(); return ( {title} @@ -38,7 +40,7 @@ export const DialogInput = ({ color={cancelColor} onClick={onCancel} > - Cancel + {t("common.buttons.cancel")} diff --git a/client/src/components/monitors/ChartAvgResponse.tsx b/client/src/components/monitors/ChartAvgResponse.tsx index 75d2d2caf..f4534ca68 100644 --- a/client/src/components/monitors/ChartAvgResponse.tsx +++ b/client/src/components/monitors/ChartAvgResponse.tsx @@ -4,6 +4,7 @@ import Typography from "@mui/material/Typography"; import { Gauge } from "lucide-react"; import { Cell, RadialBarChart, RadialBar, ResponsiveContainer } from "recharts"; +import { useTranslation } from "react-i18next"; import { getResponseTimeColor } from "@/utils/MonitorUtils"; import { useTheme } from "@mui/material/styles"; @@ -14,6 +15,7 @@ export const ChartAvgResponse = ({ avg: number; max: number; }) => { + const { t } = useTranslation(); const theme = useTheme(); const chartData = [ { name: "max", value: max - avg, color: "transparent" }, @@ -28,7 +30,10 @@ export const ChartAvgResponse = ({ }; return ( - } title={"Average response time"}> + } + title={t("common.charts.avgResponseTime.title")} + > - Low - High + + {t("common.charts.avgResponseTime.lowLabel")} + + + {t("common.charts.avgResponseTime.highLabel")} + - {t("sendTestNotifications")} + {t("common.buttons.testNotification")} )} diff --git a/client/src/components/monitors/HeaderFilter.tsx b/client/src/components/monitors/HeaderFilter.tsx index ca02ba1df..c674fd1a9 100644 --- a/client/src/components/monitors/HeaderFilter.tsx +++ b/client/src/components/monitors/HeaderFilter.tsx @@ -5,6 +5,7 @@ import Typography from "@mui/material/Typography"; import { Select, Checkbox, TextInput } from "@/components/inputs"; import { LoadingSpinner } from "@/components/design-elements"; +import { useTranslation } from "react-i18next"; import { useEffect, useState } from "react"; import { useTheme } from "@mui/material/styles"; import type { SelectChangeEvent } from "@mui/material/Select"; @@ -42,6 +43,7 @@ export const HeaderFilter = ({ loading = false, }: HeaderFilterProps) => { const theme = useTheme(); + const { t } = useTranslation(); const [localSearch, setLocalSearch] = useState(searchString); useEffect(() => { @@ -68,7 +70,7 @@ export const HeaderFilter = ({ return ( { setLocalSearch(event.target.value); diff --git a/client/src/components/monitors/HistogramStatus.tsx b/client/src/components/monitors/HistogramStatus.tsx index 2db7daa3f..8e915a192 100644 --- a/client/src/components/monitors/HistogramStatus.tsx +++ b/client/src/components/monitors/HistogramStatus.tsx @@ -7,6 +7,7 @@ import { TrendingUp, AlertTriangle } from "lucide-react"; import type { GroupedCheck } from "@/types/check"; import type { MonitorStatus } from "@/types/monitor"; +import { useTranslation } from "react-i18next"; import { normalizeResponseTimes } from "@/utils/DataUtils"; import { useState } from "react"; import { formatDateWithTz } from "@/utils/TimeUtils"; @@ -63,9 +64,15 @@ export const HistogramStatus = ({ range: string; title: string; }) => { + const { t } = useTranslation(); const uiTimezone = useAppSelector((state: any) => state.ui.timezone); - const icon = status === "up" ? : ; + const icon = + status === "up" ? ( + + ) : ( + + ); const theme = useTheme(); const [idx, setIdx] = useState(null); const dateFormat = range === "1d" || range === "2h" ? "MMM D, h A" : "MMM D"; @@ -76,7 +83,9 @@ export const HistogramStatus = ({ - {status === "up" ? "No checks yet" : "Great, no downtime yet!"} + {status === "up" + ? t("common.charts.uptime.emptyUp") + : t("common.charts.uptime.emptyDown")} diff --git a/client/src/locales/en.json b/client/src/locales/en.json index bda40f19a..8e01e1778 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -1,6 +1,46 @@ { "common": { - "appName": "Checkmate" + "appName": "Checkmate", + "buttons": { + "incidents": "Incidents", + "delete": "Delete", + "confirm": "Confirm", + "cancel": "Cancel", + "save": "Save", + "pause": "Pause", + "resume": "Resume", + "configure": "Configure", + "createNew": "Create new", + "toggleTheme": "Toggle theme", + "testNotification": "Send test notification", + "range": { + "all": "All", + "recent": "Recent", + "day": "Day", + "week": "7 days", + "month": "30 days" + } + }, + "dialog": { + "delete": { + "title": "Are you sure you want to delete this?", + "description": "This action cannot be undone." + } + }, + "charts": { + "uptime": { + "upTitle": "Uptime", + "downTitle": "Downtime", + "detail": "Total checks", + "emptyUp": "No checks yet", + "emptyDown": "Great, no downtime!" + }, + "avgResponseTime": { + "title": "Average Response Time", + "lowLabel": "Low", + "highLabel": "High" + } + } }, "menu": { "uptime": "Uptime", @@ -18,10 +58,171 @@ }, "monitors": { - "common": {}, - "uptime": {}, - "pagespeed": {}, - "infrastructure": {} + "common": { + "status": { + "down": "down", + "paused": "paused", + "initializing": "initializing", + "up": "up" + }, + "stats": { + "activeFor": "Active for", + "lastCheck": "Last checked", + "lastResponseTime": "Last response time", + "certificate": "Certificate expiry" + }, + "table": { + "headers": { + "name": "Name", + "type": "Type", + "status": "Status", + "statusCode": "Status code", + "message": "Message", + "dateTime": "Date & Time", + "responseTime": "Response time", + "pageSpeedScore": "PageSpeed Score", + "actions": "Actions", + "cpu": "CPU", + "memory": "Memory", + "disk": "Disk" + }, + "empty": "No data" + }, + "actions": { + "openSite": "Open site", + "details": "Details", + "incidents": "Incidents", + "configure": "Configure" + }, + "form": { + "general": { + "title": "General settings" + }, + "incidents": { + "title": "Incidents", + "description": "Number of consecutive checks needed to change monitor status. Maximum 25", + "optionIncidentCount": "How many checks before status change?" + }, + "notifications": { + "title": "Notifications", + "description": "Select the notifications channels you want to use", + "optionNotificationChannels": "Choose a notification channel ({{count}} available)" + }, + "interval": { + "title": "Check interval", + "description": "How often should we check the monitor?", + "optionInterval": "Check interval" + }, + "optionHttp": "HTTP", + "optionHttps": "HTTPS", + "optionUrl": "URL", + "optionDisplayName": "Display name" + } + }, + "uptime": { + "infoBox": { + "title": "Website & API Uptime Monitoring", + "description": "Monitor your websites and APIs to ensure they're always accessible. Get instant alerts when your services go down and track uptime history over time." + }, + "fallback": { + "title": "An uptime monitor is used to:", + "actionButton": "Create a monitor!", + "checks": [ + "Check if websites or servers are online & responsive", + "Alert teams about downtime or performance issues", + "Monitor HTTP endpoints, pings, containers & ports", + "Track historical uptime and reliability trends" + ] + }, + "form": { + "type": { + "title": "Type of check", + "description": "Select the type of uptime monitor to create.", + "optionHttpsDescription": "Use HTTPS to monitor your website or API endpoint.", + "optionHttpDescription": "Use HTTP to monitor your website or API endpoint.", + "optionPing": "Ping", + "optionPingDescription": "Use ICMP Ping to monitor if a server is online.", + "optionPort": "Port", + "optionPortDescription": "Monitor if a specific port on a server is open." + }, + "general": { + "description": { + "https": "Enter the URL or IP to monitor (e.g., https://example.com/ or 192.168.1.100) and add a clear display name that appears on the dashboard.", + "http": "Enter the URL or IP to monitor (e.g., https://example.com/ or 192.168.1.100) and add a clear display name that appears on the dashboard.", + "ping": "Enter the IP address or hostname to ping (e.g., 192.168.1.100 or example.com) and add a clear display name that appears on the dashboard.", + "port": "Enter the URL or IP of the server, the port number and a clear display name that appears on the dashboard." + }, + "optionPort": "Port" + }, + + "rejectUnauthorized": { + "title": "Reject unauthorized", + "description": "Disable to allow self-signed SSL certificates", + "optionEnabled": "Enabled (recommended)", + "optionDisabled": "Disabled" + } + }, + "filters": { + "type": { + "placeholder": "Monitor type" + }, + "status": { + "placeholder": "Monitor status" + }, + "search": { + "placeholder": "Search monitors..." + } + } + }, + "pageSpeed": { + "infoBox": { + "title": "Website Performance Tracking", + "description": "Measure how fast your websites load and identify performance bottlenecks. Track Core Web Vitals and get actionable insights to improve user experience." + }, + "fallback": { + "title": "A PageSpeed monitor is used to:", + "actionButton": "Create a monitor!", + "checks": [ + "Report on the user experience of a page", + "Help analyze webpage speed", + "Give suggestions on how the page can be improved" + ] + }, + "form": { + "general": { + "description": "Enter the URL of the website you want to carry out PageSpeed tests on" + } + } + }, + "infrastructure": { + "infoBox": { + "title": "Infrastructure Monitoring", + "description": "Keep track of your servers' vital statistics including CPU usage, memory, disk space, and network performance. Receive alerts when resources run low." + }, + "fallback": { + "actionButton": "Create a monitor!", + "checks": [ + "Track the performance of your servers", + "Identify bottlenecks and optimize usage", + "Ensure reliability with real-time monitoring" + ], + "title": "An infrastructure monitor is used to:" + }, + "form": { + "general": { + "description": "Enter the IP address or hostname of the server you want to monitor, along with a clear display name that appears on the dashboard.", + "optionSecret": "Authorization secret" + }, + "thresholds": { + "title": "Thresholds for alerts", + "description": "Set percentage thresholds to trigger incidents", + "optionCpuUsage": "CPU usage (%)", + "optionMemoryUsage": "Memory usage (%)", + "optionDiskUsage": "Disk usage (%)", + "optionTemperature": "Temperature (°C)" + } + } + } }, "notifications": {}, "incidents": {}, diff --git a/client/src/locales/ref.json b/client/src/locales/ref.json new file mode 100644 index 000000000..4de440df8 --- /dev/null +++ b/client/src/locales/ref.json @@ -0,0 +1,1185 @@ +{ + "aboutus": "About Us", + "access": "Access", + "actions": "Actions", + "add": "Add", + "addMonitors": "Add monitors", + "administrator": "Administrator?", + "advancedMatching": "Advanced matching", + "ago": "ago", + "area": "Area", + "auth": { + "common": { + "errors": { + "validation": "Error validating data." + }, + "fields": { + "password": { + "errors": { + "incorrect": "The password you provided does not match our records" + } + }, + "role": { + "errors": { + "min": "At least one role is required" + } + } + }, + "inputs": { + "email": { + "errors": { + "empty": "To continue, please enter your email address", + "invalid": "Please recheck validity of entered email address" + }, + "label": "Email", + "placeholder": "jordan.ellis@domain.com" + }, + "firstName": { + "errors": { + "empty": "Please enter your name", + "length": "Name must be less than 50 characters", + "pattern": "Name must contain only letters, spaces, apostrophes, or hyphens" + }, + "label": "Name", + "placeholder": "Jordan" + }, + "lastName": { + "errors": { + "empty": "Please enter your surname", + "length": "Surname must be less than 50 characters", + "pattern": "Surname must contain only letters, spaces, apostrophes, or hyphens" + }, + "label": "Surname", + "placeholder": "Ellis" + }, + "password": { + "errors": { + "empty": "Please enter your password", + "incorrect": "The password you provided does not match our records", + "length": "Password must be at least 8 characters long", + "lowercase": "Password must contain at least 1 lowercase letter", + "number": "Password must contain at least 1 number", + "special": "Password must contain at least 1 special character", + "uppercase": "Password must contain at least 1 uppercase letter" + }, + "label": "Password", + "rules": { + "length": { + "beginning": "Must be at least", + "highlighted": "8 characters long" + }, + "lowercase": { + "beginning": "Must contain at least", + "highlighted": "one lower character" + }, + "match": { + "beginning": "Passwords", + "highlighted": "must match" + }, + "number": { + "beginning": "Must contain at least", + "highlighted": "one number" + }, + "special": { + "beginning": "Must contain at least", + "highlighted": "one special character" + }, + "uppercase": { + "beginning": "Must contain at least", + "highlighted": "one upper character" + } + } + }, + "passwordConfirm": { + "errors": { + "different": "Entered passwords don't match, so one of them is probably mistyped", + "empty": "Please enter your password again for confirmation (helps with typos)" + }, + "label": "Confirm password", + "placeholder": "Re-enter password to confirm" + } + }, + "navigation": { + "back": "Back", + "continue": "Continue" + } + }, + "forgotPassword": { + "buttons": { + "openEmail": "Open email app", + "resetPassword": "Reset password" + }, + "heading": "Forgot password?", + "imageAlts": { + "email": "Email icon", + "lock": "Lock icon", + "passwordConfirm": "Password confirm icon", + "passwordKey": "Password key icon" + }, + "links": { + "login": "Go back to Log In", + "resend": "Didn't receive the email? Click to resend" + }, + "subheadings": { + "stepFour": "Your password has been successfully reset. Click below to log in magically.", + "stepOne": "No worries, we'll send you reset instructions.", + "stepThree": "Your new password must be different from previously used passwords.", + "stepTwo": "We sent a password reset link to " + }, + "toasts": { + "emailNotFound": "Email not found.", + "error": "Unable to reset password. Please try again later or contact support.", + "redirect": "Redirecting in ...", + "sent": "Instructions sent to .", + "success": "Your password was reset successfully." + } + }, + "login": { + "errors": { + "password": { + "incorrect": "The password you provided does not match our records" + } + }, + "heading": "Log in to continue", + "links": { + "forgotPassword": "Forgot password?", + "forgotPasswordLink": "Reset password", + "register": "Do not have an account?", + "registerLink": "Register here" + }, + "subheadings": { + "stepOne": "Enter your email", + "stepTwo": "Enter your password" + }, + "toasts": { + "incorrectPassword": "Incorrect password", + "success": "Welcome back! You're successfully logged in." + }, + "welcome": "Welcome back to Checkmate!" + }, + "registration": { + "description": { + "superAdmin": "Create your super admin account to get started", + "user": "Sign up as a user and ask super admin for access to your monitors" + }, + "gettingStartedButton": { + "superAdmin": "Create super admin account", + "user": "Sign up regular user" + }, + "heading": { + "superAdmin": "Create super admin", + "user": "Sign Up" + }, + "links": { + "login": "Already have an account? Log In" + }, + "subheadings": { + "stepOne": "Enter your personal details", + "stepThree": "Create your password", + "stepTwo": "Enter your email" + }, + "termsAndPolicies": "By creating an account, you agree to our Terms of Service and Privacy Policy.", + "toasts": { + "success": "Welcome! Your account was created successfully." + }, + "welcome": "Welcome to Checkmate!" + } + }, + "avgCpuTemperature": "Average CPU Temperature", + "bar": "Bar", + "basicInformation": "Basic Information", + "bulkImport": { + "fallbackPage": "Import a file to upload a list of servers in bulk", + "invalidFileType": "Invalid file type", + "noFileSelected": "No file selected", + "parsingFailed": "Parsing failed", + "selectFile": "Select File", + "selectFileDescription": "You can download our or sample", + "selectFileTips": "Select CSV file to upload", + "title": "Bulk Import", + "uploadFailed": "Upload failed", + "uploadSuccess": "Monitors created successfully!", + "validationFailed": "Validation failed" + }, + "bytesPerSecond": "Bytes per second", + "bytesReceived": "Bytes Received", + "bytesSent": "Bytes Sent", + "cancel": "Cancel", + "checkFormError": "Please check the form for errors.", + "checkFrequency": "Check frequency", + "checkHooks": { + "failureResolveAll": "Failed to resolve all incidents.", + "failureResolveMonitor": "Failed to resolve monitor incidents.", + "failureResolveOne": "Failed to resolve incident." + }, + "checkingEvery": "Checking every", + "chooseGame": "Choose game", + "city": "CITY", + "ClickUpload": "Click to upload", + "common": { + "appName": "Checkmate", + "buttons": { + "toggleTheme": "Toggles light & dark" + }, + "monitoringAgentName": "Capture", + "toasts": { + "checkConnection": "Please check your connection", + "networkError": "Network error", + "unknownError": "Unknown error" + } + }, + "commonSave": "Save", + "commonSaving": "Saving...", + "companyName": "Company name", + "configure": "Configure", + "confirmPassword": "Confirm password", + "cores": "Cores", + "country": "COUNTRY", + "cpu": "CPU", + "cpuFrequency": "CPU Frequency", + "cpuLogical": "CPU (Logical)", + "cpuPhysical": "CPU (Physical)", + "cpuTemperature": "CPU Temperature", + "cpuUsage": "CPU usage", + "createA": "Create a", + "createMaintenance": "Create maintenance", + "createMaintenanceWindow": "Create window", + "createMaintenanceWindowPage": { + "generalSettingsTitle": "General settings", + "generalSettingsDescription": "General maintenance window settings", + "generalSettingsName": "Name", + "generalSettingsNamePlaceholder": "Maintenance at __ : __ for ___ minutes", + "generalSettingsRepeat": "Repeat period", + "timingSettingsTitle": "Start & end times", + "timingSettingsDescription": "Set the start time (UTC) and end time (UTC) of the maintenance window", + "durationTitle": "Duration", + "durationDescription": "Set the duration of the maintenance window", + "monitorsTitle": "Monitors", + "monitorsDescription": "Select the monitors you want to apply this maintenance window to" + }, + "createMonitor": "Create monitor", + "createMonitorPage": { + "incidentConfigDescription": "A sliding window is used to determine when a monitor goes down. The status of a monitor will only change when the percentage of checks in the sliding window meet the specified value.", + "incidentConfigDescriptionV2": "Number of consecutive checks needed to change monitor status. Maximum 25", + "incidentConfigStatusCheckNumber": "How many checks before status change?", + "incidentConfigStatusWindowLabel": "How many checks should be in the sliding window?", + "incidentConfigStatusWindowThresholdLabel": "What percentage of checks in the sliding window fail/succeed before monitor status changes?", + "incidentConfigTitle": "Incidents", + "intervalTitle": "Check interval", + "intervalDescription": "How often do you want to check this service?", + "rejectUnauthorizedTitle": "Reject unauthorized", + "rejectUnauthorizedDescription": "Disable to allow self-signed SSL certificates" + }, + "createNew": "Create new", + "createNotifications": { + "dialogDeleteConfirm": "Delete", + "dialogDeleteContent": "This action cannot be undone.", + "dialogDeleteTitle": "Are you sure you want to delete this notification?", + "discordSettings": { + "description": "Configure your Discord webhook here", + "title": "Discord", + "webhookLabel": "Discord Webhook URL", + "webhookPlaceholder": "https://your-server.com/webhook" + }, + "emailSettings": { + "description": "Destination email address", + "emailLabel": "Email address", + "emailPlaceholder": "e.g. john@example.com", + "title": "Email" + }, + "nameSettings": { + "description": "A descriptive name for your integration.", + "nameLabel": "Name", + "namePlaceholder": "e.g. Slack notifications", + "title": "Name" + }, + "pagerdutySettings": { + "description": "Configure your PagerDuty integration here", + "integrationKeyLabel": "Integration key", + "integrationKeyPlaceholder": "1234567890", + "title": "PagerDuty" + }, + "slackSettings": { + "description": "Configure your Slack webhook here", + "title": "Slack", + "webhookLabel": "Slack webhook URL", + "webhookPlaceholder": "https://hooks.slack.com/services/..." + }, + "testNotification": "Test notification", + "title": "Create notification channel", + "typeSettings": { + "description": "Select the type of notification channel you want to create.", + "title": "Type", + "typeLabel": "Type" + }, + "webhookSettings": { + "description": "Configure your webhook here", + "title": "Webhook", + "webhookLabel": "Webhook URL", + "webhookPlaceholder": "https://your-server.com/webhook" + } + }, + "createTeamsPage": { + "basicInfoDescription": "Team description", + "basicInfoName": "Team name", + "basicInfoSubtitle": "Set team name and description", + "basicInfoTitle": "Basic info" + }, + "createYour": "Create your", + "dataRate": "Data Rate", + "dataReceived": "Data Received", + "dataSent": "Data Sent", + "date&Time": "Date & Time", + "delete": "Delete", + "DeleteAccountButton": "Remove account", + "DeleteAccountTitle": "Remove account", + "DeleteAccountWarning": "Removing your account means you won't be able to sign in again and all your data will be removed. This isn't reversible.", + "DeleteDescriptionText": "This will remove the account and all associated data from the server. This isn't reversible.", + "deleteDialogDescription": "Once deleted, this monitor cannot be retrieved.", + "deleteDialogTitle": "Do you really want to delete this monitor?", + "deleteStatusPage": "Do you want to delete this status page?", + "deleteStatusPageConfirm": "Yes, delete status page", + "deleteStatusPageDescription": "Once deleted, your status page cannot be retrieved.", + "DeleteWarningTitle": "Really remove this account?", + "details": "Details", + "diagnosticsPage": { + "diagnosticDescription": "System diagnostics", + "statBoxJobsTitle": "Jobs", + "statBoxActiveJobsTitle": "Active jobs", + "statBoxFailingJobsTitle": "Failing jobs", + "statBoxTotalRunsTitle": "Total runs", + "statBoxTotalFailuresTitle": "Total failures", + "tableHeaderId": "Monitor ID", + "tableHeaderUrl": "URL", + "tableHeaderInterval": "Interval", + "tableHeaderType": "Type", + "tableHeaderActive": "Active", + "tableHeaderRunCount": "Runs", + "tableHeaderLastRun": "Last run", + "tableHeaderLockedAt": "Running", + "tableHeaderLastFinishedAt": "Finished", + "tableHeaderLastRunTook": "Duration", + + "gauges": { + "heapAllocationSubtitle": "% of available memory", + "heapAllocationTitle": "Heap allocation", + "heapUsageSubtitle": "% of available memory", + "heapUsageTitle": "Heap usage", + "heapUtilizationSubtitle": "% of allocated", + "heapUtilizationTitle": "Heap utilization", + "instantCpuUsageSubtitle": "% of 1s used by CPU", + "instantCpuUsageTitle": "Instant CPU usage" + }, + "stats": { + "eventLoopDelayTitle": "Event loop delay", + "osMemoryLimitTitle": "OS Memory Limit", + "totalHeapSizeTitle": "Total heap size", + "uptimeTitle": "Uptime", + "usedHeapSizeTitle": "Used heap size" + }, + "statsDescription": "System statistics" + }, + "disk": "Disk", + "diskUsage": "Disk Usage", + "displayName": "Display name", + "distributedRightCategoryTitle": "Monitor", + "distributedStatusHeaderText": "Real-time, real-device coverage", + "distributedStatusServerMonitors": "Server Monitors", + "distributedStatusServerMonitorsDescription": "Monitor status of related servers", + "distributedStatusSubHeaderText": "Powered by millions devices worldwide, view a system performance by global region, country or city", + "distributedUptimeCreateAdvancedSettings": "Advanced settings", + "distributedUptimeCreateChecks": "Checks to perform", + "distributedUptimeCreateChecksDescription": "You can always add or remove checks after adding your site.", + "distributedUptimeCreateIncidentDescription": "When there is an incident, notify users.", + "distributedUptimeCreateIncidentNotification": "Incident notifications", + "distributedUptimeCreateSelectURL": "Here you can select the URL of the host, together with the type of monitor.", + "distributedUptimeDetailsNoMonitorHistory": "There is no check history for this monitor yet.", + "distributedUptimeDetailsStatusHeaderLastUpdate": "Last updated", + "distributedUptimeDetailsStatusHeaderUptime": "Uptime:", + "distributedUptimeStatus30Days": "30 days", + "distributedUptimeStatus60Days": "60 days", + "distributedUptimeStatus90Days": "90 days", + "distributedUptimeStatusBasicInfoDescription": "Define company name and the subdomain that your status page points to.", + "distributedUptimeStatusBasicInfoHeader": "Basic Information", + "distributedUptimeStatusCompanyNameLabel": "Company name", + "distributedUptimeStatusContactAdmin": "Please contact your administrator", + "distributedUptimeStatusCreateStatusPage": "status page", + "distributedUptimeStatusCreateStatusPageAccess": "Access", + "distributedUptimeStatusCreateStatusPageReady": "If your status page is ready, you can mark it as published.", + "distributedUptimeStatusCreateYour": "Create your", + "distributedUptimeStatusDevices": "Devices", + "distributedUptimeStatusEditYour": "Edit your", + "distributedUptimeStatusLogoDescription": "Upload a logo for your status page", + "distributedUptimeStatusLogoHeader": "Logo", + "distributedUptimeStatusLogoUploadButton": "Upload logo", + "distributedUptimeStatusPageAddressLabel": "Your status page address", + "distributedUptimeStatusPageDeleteConfirm": "Yes, delete status page", + "distributedUptimeStatusPageDeleteDescription": "Once deleted, your status page cannot be retrieved.", + "distributedUptimeStatusPageDeleteDialog": "Do you want to delete this status page?", + "distributedUptimeStatusPageNotPublic": "This status page is not public.", + "distributedUptimeStatusPageNotSetUp": "A status page is not set up.", + "distributedUptimeStatusPublishedLabel": "Published and visible to the public", + "distributedUptimeStatusStandardMonitorsDescription": "Attach standard monitors to your status page.", + "distributedUptimeStatusStandardMonitorsHeader": "Standard Monitors", + "distributedUptimeStatusUpt": "UPT", + "distributedUptimeStatusUptBurned": "UPT Burned", + "distributedUptimeStatusUptLogo": "Upt Logo", + "dockerContainerMonitoring": "Docker container monitoring", + "dockerContainerMonitoringDescription": "Check whether your Docker container is running or not.", + "DragandDrop": "drag and drop", + "drops": "Drops", + "duration": "Duration", + "edit": "Edit", + "editing": "Editing...", + "editMaintenance": "Edit maintenance", + "editUserPage": { + "form": { + "email": "Email", + "firstName": "First name", + "lastName": "Last name", + "role": "Roles", + "save": "Save" + }, + "table": { + "actionHeader": "Action", + "roleHeader": "Role" + }, + "title": "Edit user", + "toast": { + "successUserUpdate": "User updated successfully", + "validationErrors": "Validation errors" + } + }, + "EmailDescriptionText": "This is your current email address — it cannot be changed.", + "emailSent": "Email sent successfully", + "errorInvalidFieldId": "Invalid field ID provided", + "errorInvalidTypeId": "Invalid notification type provided", + "errorPages": { + "serverUnreachable": { + "alertBox": "Server Connection Error", + "description": "We're unable to connect to the server. Please check your internet connection or verify your deployment configuration if the problem persists.", + "retryButton": { + "default": "Retry connection", + "processing": "Connecting..." + }, + "toasts": { + "reconnected": "Successfully reconnected to the server.", + "stillUnreachable": "Server is still unreachable. Please try again later." + } + } + }, + "errors": "Errors", + "errorsIn": "Errors In", + "errorsOut": "Errors Out", + "expectedValue": "Expected value", + "export": { + "failed": "Failed to export monitors", + "success": "Monitors exported successfully!", + "title": "Export Monitors" + }, + "failedToSendEmail": "Failed to send email", + "features": "Features", + "FirstName": "First name", + "frequency": "Frequency", + "friendlyNameInput": "Friendly name", + "friendlyNamePlaceholder": "Maintenance at __ : __ for ___ minutes", + "gameServerMonitoring": "Game Server Monitoring", + "gameServerMonitoringDescription": "Check whether your game server is running or not", + "gb": "GB", + "general": { + "noOptionsFound": "No {{unit}} found" + }, + "greeting": { + "append": "The afternoon is your playground—let's make it epic!", + "overview": "Here's an overview of your {{type}} monitors.", + "prepend": "Hey there" + }, + "high": "high", + "host": "Host", + "http": "HTTP", + "https": "HTTPS", + "ignoreTLSError": "Ignore TLS/SSL error", + "ignoreTLSErrorDescription": "Ignore TLS/SSL errors and continue checking the website's availability", + "incidentsOptionsHeader": "Incidents for:", + "incidentsOptionsHeaderFilterAll": "All", + "incidentsOptionsHeaderFilterBy": "Filter by:", + "incidentsOptionsHeaderFilterCannotResolve": "Cannot Resolve", + "incidentsOptionsHeaderFilterDown": "Down", + "incidentsOptionsHeaderFilterResolved": "Resolved", + "incidentsOptionsHeaderLastDay": "Last day", + "incidentsOptionsHeaderLastHour": "Last hour", + "incidentsOptionsHeaderLastWeek": "Last week", + "incidentsOptionsHeaderShow": "Show:", + "incidentsOptionsHeaderTotalIncidents": "Total Incidents", + "incidentsOptionsPlaceholderAllServers": "All servers", + "incidentsPageActionResolveAll": "Resolve all incidents", + "incidentsPageActionResolveMonitor": "Resolve monitor incidents", + "incidentsPageTitle": "Incidents", + "incidentsTableActionResolve": "Resolve", + "incidentsTableDateTime": "Date & Time", + "incidentsTableMessage": "Message", + "incidentsTableMonitorName": "Monitor Name", + "incidentsTableNoIncidents": "No incidents recorded", + "incidentsTablePaginationLabel": "incidents", + "incidentsTableResolvedAt": "Resolved at", + "incidentsTableStatus": "Status", + "incidentsTableStatusCode": "Status Code", + "infrastructureAlertNotificationDescription": "Send a notification to user(s) when thresholds exceed a specified percentage.", + "infrastructureAuthorizationSecretLabel": "Authorization secret", + "infrastructureCreateGeneralSettingsDescription": "Here you can select the URL of the host, together with the friendly name and authorization secret to connect to the server agent.", + "infrastructureCreateMonitor": "Create Infrastructure Monitor", + "infrastructureCreateYour": "Create your", + "infrastructureCustomizeAlerts": "Customize alerts", + "infrastructureDisplayNameLabel": "Display name", + "infrastructureEditMonitor": "Save Infrastructure Monitor", + "infrastructureEditYour": "Edit your", + "infrastructureMonitor": { + "fallback": { + "actionButton": "Create a monitor!", + "checks": [ + "Track the performance of your servers", + "Identify bottlenecks and optimize usage", + "Ensure reliability with real-time monitoring" + ], + "title": "An infrastructure monitor is used to:" + } + }, + "infrastructureMonitorCreated": "Infrastructure monitor created successfully!", + "infrastructureMonitorUpdated": "Infrastructure monitor updated successfully!", + "infrastructureProtocol": "Protocol", + "infrastructureServerRequirement": "The server you are monitoring must be running the", + "infrastructureServerUrlLabel": "Server URL", + "integrations": "Integrations", + "integrationsDiscord": "Discord", + "integrationsDiscordInfo": "Connect with Discord and view incidents directly in a channel", + "integrationsPrism": "Connect Prism to your favorite service.", + "integrationsSlack": "Slack", + "integrationsSlackInfo": "Connect with Slack and see incidents in a channel", + "integrationsZapier": "Zapier", + "integrationsZapierInfo": "Send all incidents to Zapier, and then see them everywhere", + "invalidFileFormat": "Unsupported file format!", + "invalidFileSize": "File size is too large!", + "inviteNoTokenFound": "No invite token found", + "LastName": "Last name", + "loginHere": "Login here", + "logsPage": { + "description": "System logs - last 1000 lines", + "logLevelSelect": { + "title": "Log level", + "values": { + "all": "All", + "debug": "Debug", + "error": "Error", + "info": "Info", + "warn": "Warn" + } + }, + "tabs": { + "diagnostics": "Diagnostics", + "logs": "Server logs", + "queue": "Job queue" + }, + "title": "Logs", + "toast": { + "fetchLogsSuccess": "Logs fetched successfully" + } + }, + "low": "low", + "maintenance": "maintenance", + "maintenanceRepeat": "Maintenance Repeat", + "maintenanceTableActionMenuDialogTitle": "Do you really want to remove this maintenance window?", + "maintenanceWindow": { + "fallback": { + "actionButton": "Create a maintenance window!", + "checks": [ + "Mark your maintenance periods", + "Eliminate any misunderstandings", + "Stop sending alerts in maintenance windows" + ], + "title": "A maintenance window is used to:" + } + }, + "maintenanceWindowDescription": "During maintenance windows, all monitoring is suspended for selected monitors. No network checks will be performed, preventing any status updates or notifications from being triggered. Your monitors will appear frozen at their last known status, and status pages will display a maintenance indicator. Once the maintenance window ends, monitoring automatically resumes, and alerts will trigger if issues are detected. Maintenance periods do not count against uptime calculations.", + "maintenanceWindowName": "Maintenance Window Name", + "maskedPageSpeedKeyPlaceholder": "*************************************", + "matchMethod": "Match Method", + "matchMethodOptions": { + "equal": "Equal", + "equalPlaceholder": "success", + "include": "Include", + "includePlaceholder": "ok", + "regex": "Regex", + "regexPlaceholder": "^(success|ok)$", + "text": "Match Method" + }, + "MaxSize": "Maximum Size", + "mb": "MB", + "mem": "Mem", + "memory": "Memory", + "memoryUsage": "Memory usage", + "menu": { + "changelog": "Changelog", + "discussions": "Discussions", + "docs": "Docs", + "incidents": "Incidents", + "infrastructure": "Infrastructure", + "integrations": "Integrations", + "logOut": "Log out", + "diagnostics": "Diagnostics", + "maintenance": "Maintenance", + "notifications": "Notifications", + "pagespeed": "Pagespeed", + "password": "Password", + "profile": "Profile", + "settings": "Settings", + "statusPages": "Status pages", + "support": "Support", + "team": "Team", + "uptime": "Uptime", + "checks": "Checks" + }, + "message": "Message", + "monitor": "monitor", + "monitorActions": { + "deleteFailed": "Failed to delete monitor", + "deleteSuccess": "Monitor deleted successfully", + "details": "Details", + "export": "Export Monitors", + "import": "Import Monitors", + "title": "Export/Import" + }, + "monitorDisplayName": "Monitor display name", + "monitorHooks": { + "failureAddDemoMonitors": "Failed to add demo monitors", + "successAddDemoMonitors": "Successfully added demo monitors" + }, + "monitors": "monitors", + "monitorState": { + "active": "Active", + "paused": "Paused", + "resumed": "Resumed" + }, + "monitorStatus": { + "checkingEvery": "Checking every {{interval}}", + "down": "down", + "paused": "paused", + "initializing": "initializing", + "up": "up", + "withCaptureAgent": "with Capture agent {{version}}" + }, + "monitorStatusDown": "Monitor {name} ({url}) is DOWN and not responding", + "monitorStatusUp": "Monitor {name} ({url}) is now UP and responding", + "monitorsToApply": "Monitors to apply maintenance window to", + "monitorType": { + "docker": { + "label": "Container Name/ID", + "namePlaceholder": "My Container", + "placeholder": "my-app or abcd1234" + }, + "game": { + "label": "URL to monitor", + "namePlaceholder": "localhost:5173", + "placeholder": "localhost" + }, + "http": { + "label": "URL to monitor", + "namePlaceholder": "Google", + "placeholder": "google.com" + }, + "ping": { + "label": "IP address to monitor", + "namePlaceholder": "Google", + "placeholder": "1.1.1.1" + }, + "port": { + "label": "URL to monitor", + "namePlaceholder": "Localhost:5173", + "placeholder": "localhost" + } + }, + "ms": "ms", + "navControls": "Controls", + "network": "Network", + "networkDrops": "Network Drops", + "networkErrors": "Network Errors", + "networkInterface": "Network Interface", + "nextWindow": "Next window", + "noNetworkStatsAvailable": "No network stats available.", + "notFoundButton": "Go to the main dashboard", + "notificationConfig": { + "description": "Select the notifications channels you want to use", + "title": "Notifications" + }, + "notifications": { + "addOrEditNotifications": "Add or edit notifications", + "create": { + "failed": "Failed to create notification", + "success": "Notification created successfully" + }, + "createButton": "Create notification channel", + "createTitle": "Notification channel", + "delete": { + "failed": "Failed to delete notification", + "success": "Notification deleted successfully" + }, + "discord": { + "description": "To send data to a Discord channel from Checkmate via Discord notifications using webhooks, you can use Discord's incoming Webhooks feature.", + "label": "Discord", + "webhookLabel": "Discord Webhook URL", + "webhookPlaceholder": "https://discord.com/api/webhooks/...", + "webhookRequired": "Discord webhook URL is required" + }, + "edit": { + "failed": "Failed to update notification", + "success": "Notification updated successfully" + }, + "enableNotifications": "Enable {{platform}} notifications", + "fallback": { + "actionButton": "Create a notification channel!", + "checks": [ + "Alert teams about downtime or performance issues", + "Let engineers know when incidents happen", + "Keep administrators informed of system changes" + ], + "title": "A notification channel is used to:" + }, + "fetch": { + "failed": "Failed to fetch notifications", + "success": "Notifications fetched successfully" + }, + "integrationButton": "Notification Integration", + "networkError": "Network error occurred", + "slack": { + "description": "To enable Slack notifications, create a Slack app and enable incoming webhooks. After that, simply provide the webhook URL here.", + "label": "Slack", + "webhookLabel": "Webhook URL", + "webhookPlaceholder": "https://hooks.slack.com/services/...", + "webhookRequired": "Slack webhook URL is required" + }, + "telegram": { + "chatIdLabel": "Your Chat ID", + "chatIdPlaceholder": "-1001234567890", + "description": "To enable Telegram notifications, create a Telegram bot using BotFather, an official bot for creating and managing Telegram bots. Then, get the API token and chat ID and write them down here.", + "fieldsRequired": "Telegram token and chat ID are required", + "label": "Telegram", + "tokenLabel": "Your bot token", + "tokenPlaceholder": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" + }, + "test": { + "failed": "Failed to send test notification", + "success": "Test notification sent successfully" + }, + "testFailed": "Failed to send test notification", + "testNotification": "Test notification", + "testNotificationDevelop": "Test notification 2", + "testSuccess": "Test notification sent successfully!", + "unsupportedType": "Unsupported notification type", + "webhook": { + "description": "You can set up a custom webhook to receive notifications when incidents occur.", + "label": "Webhooks", + "urlLabel": "Webhook URL", + "urlPlaceholder": "https://your-server.com/webhook", + "urlRequired": "Webhook URL is required" + } + }, + "notifyEmails": "Also notify via email to multiple addresses (coming soon)", + "notifySMS": "Notify via SMS (coming soon)", + "now": "Now", + "os": "OS", + "packetsPerSecond": "Packets per second", + "packetsReceived": "Packets Received", + "packetsReceivedRate": "Packets Received Rate", + "packetsSent": "Packets Sent", + "pageSpeedMonitor": { + "fallback": { + "actionButton": "Create a monitor!", + "checks": [ + "Report on the user experience of a page", + "Help analyze webpage speed", + "Give suggestions on how the page can be improved" + ], + "title": "A PageSpeed monitor is used to:" + } + }, + "pageSpeedAddApiKey": "to add your API key.", + "pageSpeedConfigureSettingsDescription": "Enter the URL of the website you want to carry out PageSpeed tests on", + "pageSpeedDetailsPerformanceReport": "Values are estimated and may vary.", + "pageSpeedDetailsPerformanceReportCalculator": "See calculator", + "pageSpeedLearnMoreLink": "Click here", + "pageSpeedLighthouseAPI": "Use the Lighthouse PageSpeed API to monitor your website", + "pageSpeedWarning": "Warning: You haven't added a Google PageSpeed API key yet. Without it, the PageSpeed monitor won't function.", + "passwordPanel": { + "confirmNewPassword": "Confirm new password", + "currentPassword": "Current password", + "enterCurrentPassword": "Enter your current password", + "enterNewPassword": "Enter your new password", + "newPassword": "New password", + "passwordChangedSuccess": "Your password was changed successfully.", + "passwordInputIncorrect": "Your password input was incorrect.", + "passwordRequirements": "New password must contain at least 8 characters and must have at least one uppercase letter, one lowercase letter, one number and one special character.", + "saving": "Saving..." + }, + "pause": "Pause", + "PhotoDescriptionText": "This photo will be displayed in your profile page.", + "pingMonitoring": "Ping monitoring", + "pingMonitoringDescription": "Check whether your server is available or not.", + "portMonitoring": "Port monitoring", + "portMonitoringDescription": "Check whether your port is open or not.", + "portToMonitor": "Port to monitor", + "publicLink": "Public link", + "publicURL": "Public URL", + "queuePage": { + "failedJobTable": { + "failCountHeader": "Fail count", + "failedAtHeader": "Last failed at", + "failReasonHeader": "Fail reason", + "monitorIdHeader": "Monitor ID", + "monitorUrlHeader": "Monitor URL", + "title": "Failed jobs" + }, + "flushButton": "Flush queue", + "jobTable": { + "activeHeader": "Active", + "failCountHeader": "Fail count", + "idHeader": "Monitor ID", + "intervalHeader": "Interval", + "lastFinishedAtHeader": "Last finished at", + "lastRunHeader": "Last run at", + "lastRunTookHeader": "Last run took", + "lockedAtHeader": "Locked at", + "runCountHeader": "Run count", + "title": "Jobs currently in queue", + "typeHeader": "Type", + "urlHeader": "URL" + }, + "metricsTable": { + "metricHeader": "Metric", + "title": "Queue metrics", + "valueHeader": "Value" + }, + "refreshButton": "Refresh", + "title": "Queue" + }, + "rate": "Rate", + "remove": "Remove", + "removeLogo": "Remove Logo", + "repeat": "Repeat", + "reset": "Reset", + "response": "RESPONSE", + "responseTime": "Response time", + "resume": "Resume", + "roles": { + "admin": "Admin", + "demoUser": "Demo user", + "superAdmin": "Super admin", + "teamMember": "Team member" + }, + "save": "Save", + "selectAll": "Select all", + "selectInterface": "Select Interface", + "sendTestNotifications": "Send test notifications", + "seperateEmails": "You can separate multiple emails with a comma", + "settingsAppearance": "Appearance", + "settingsDisabled": "Disabled", + "settingsDisplayTimezone": "Display timezone", + "settingsEmailUser": "Email user - Username for authentication, overrides email address if specified", + "settingsFailedToClearStats": "Failed to clear stats", + "settingsFailedToDeleteMonitors": "Failed to delete all monitors", + "settingsFailedToSave": "Failed to save settings", + "settingsGeneralSettings": "General settings", + "settingsMonitorsDeleted": "Successfully deleted all monitors", + "settingsPage": { + "aboutSettings": { + "labelDevelopedBy": "Developed by Bluewave Labs", + "labelVersion": "Version", + "title": "About" + }, + "demoMonitorsSettings": { + "buttonAddMonitors": "Add demo monitors", + "description": "Add sample monitors for demonstration purposes.", + "title": "Demo monitors" + }, + "emailSettings": { + "buttonSendTestEmail": "Send test e-mail", + "description": "Configure the email settings for your system. This is used to send notifications and alerts.", + "descriptionTransport": "This builds an SMTP transport for NodeMailer", + "labelAddress": "Email address - Used for authentication", + "labelConnectionHost": "Email connection host - Hostname to use in the HELO/EHLO greeting", + "labelHost": "Email host - Hostname or IP address to connect to", + "labelIgnoreTLS": "Disable STARTTLS: Don't use TLS even if the server supports it", + "labelPassword": "Email password - Password for authentication", + "labelPasswordSet": "Password is set. Click Reset to change it.", + "labelPool": "Enable connection pooling: Reuse existing connections to improve performance", + "labelPort": "Email port - Port to connect to", + "labelRejectUnauthorized": "Reject invalid certificates: Reject connections with self-signed or untrusted certificates", + "labelRequireTLS": "Force STARTTLS: Require TLS upgrade, fail if not supported", + "labelSecure": "Use SSL (recommended): Encrypt the connection using SSL/TLS", + "labelTLSServername": "TLS Servername - Optional Hostname for TLS Validation when host is an IP", + "labelUser": "Email user - Username for authentication, overrides email address if specified", + "linkTransport": "See specifications here", + "placeholderUser": "Leave empty if not required", + "title": "Email", + "toastEmailRequiredFieldsError": "Email address, host, port and password are required" + }, + "globalThresholds": { + "description": "Configure global CPU, Memory, Disk, and Temperature thresholds. If a value is provided, it will automatically be enabled for monitoring.", + "title": "Global Thresholds" + }, + "pageSpeedSettings": { + "description": "Enter your Google PageSpeed API key to enable Google PageSpeed monitoring. Click Reset to update the key.", + "labelApiKey": "PageSpeed API key", + "labelApiKeySet": "API key is set. Click Reset to change it.", + "title": "Google PageSpeed API key" + }, + "saveButtonLabel": "Save", + "statsSettings": { + "clearAllStatsButton": "Clear all stats", + "clearAllStatsDescription": "Clear all stats. This is irreversible.", + "clearAllStatsDialogConfirm": "Yes, clear all stats", + "clearAllStatsDialogDescription": "Once removed, the monitoring history and stats cannot be retrieved.", + "clearAllStatsDialogTitle": "Do you want to clear all stats?", + "description": "Define how long you want to retain historical data. You can also clear all existing data.", + "labelTTL": "The days you want to keep monitoring history.", + "labelTTLOptional": "0 for infinite", + "title": "Monitor history" + }, + "systemResetSettings": { + "buttonRemoveAllMonitors": "Remove all monitors", + "description": "Remove all monitors from your system.", + "dialogConfirm": "Yes, remove all monitors", + "dialogDescription": "Once removed, the monitors cannot be retrieved.", + "dialogTitle": "Do you want to remove all monitors?", + "title": "System reset" + }, + "timezoneSettings": { + "description": "Select the timezone used to display dates and times throughout the application.", + "label": "Display timezone", + "title": "Display timezone" + }, + "title": "Settings", + "uiSettings": { + "description": "Switch between light and dark mode, or change user interface language.", + "labelLanguage": "Language", + "labelTheme": "Theme mode", + "title": "Appearance" + }, + "urlSettings": { + "description": "Display the IP address or URL of monitor on the public Status page. If it's disabled, only the monitor name will be shown to protect sensitive information.", + "label": "Display IP/URL on status page", + "selectDisabled": "Disabled", + "selectEnabled": "Enabled", + "title": "Monitor IP/URL on Status Page" + } + }, + "settingsSave": "Save", + "settingsStatsCleared": "Stats cleared successfully", + "settingsSuccessSaved": "Settings saved successfully", + "settingsTestEmailFailed": "Failed to send test email", + "settingsTestEmailFailedWithReason": "Failed to send test email: {{reason}}", + "settingsTestEmailSuccess": "Test email sent successfully", + "settingsTestEmailUnknownError": "Unknown error", + "showAdminLoginLink": "Show \"Administrator? Login Here\" link on the status page", + "showCharts": "Show charts", + "shown": "Shown", + "showUptimePercentage": "Show uptime percentage", + "starPromptDescription": "See the latest releases and help grow the community on GitHub", + "starPromptTitle": "Star Checkmate", + "startTime": "Start time", + "state": "State", + "status": "Status", + "statusBreadCrumbsDetails": "Details", + "statusBreadCrumbsStatusPages": "Status Pages", + "statusCode": "Status code", + "statusMsg": { + "down": "Your site is down.", + "paused": "Monitoring is paused.", + "pending": "Pending...", + "up": "Your site is up." + }, + "statusPage": { + "contents": "Contents", + "createSuccess": "Status page created successfully", + "deleteFailed": "Failed to delete status page", + "deleteSuccess": "Status page deleted successfully", + "fallback": { + "actionButton": "Create a status page!", + "checks": [ + "Monitor and display the health of your services in real time", + "Track multiple services and share their status", + "Keep users informed about outages and performance" + ], + "title": "A status page is used to:" + }, + "generalSettings": "General settings", + "updateSuccess": "Status page updated successfully" + }, + "statusPageCreate": { + "buttonSave": "Save" + }, + "createStatusPage": { + "basicConfigTitle": "Basic information", + "basicConfigDescription": "Add a name and optional description", + "nameConfigLabel": "Name", + "descriptionConfigLabel": "Description", + "accessConfigTitle": "Access", + "accessConfigDescription": "Choose whether your status page is published and available to the public", + "publishedConfigLabel": "Published", + "urlConfigTitle": "URL", + "urlConfigDescription": "The URL of your status page", + "dialogDeleteTitle": "Do you want to delete this status page?", + "dialogDeleteContent": "Once deleted, your status page cannot be retrieved." + }, + "statusPageCreateAppearanceDescription": "Define the default look and feel of your public status page.", + "statusPageCreateAppearanceTitle": "Appearance", + "statusPageCreateBasicInfoDescription": "Define company name and the subdomain that your status page points to.", + "statusPageCreateBasicInfoStatusPageAddress": "Your status page address", + "statusPageCreateSelectTimeZoneDescription": "Select the timezone that your status page will be displayed in.", + "statusPageCreateSettings": "If your status page is ready, you can mark it as published.", + "statusPageCreateSettingsCheckboxLabel": "Published and visible to the public", + "statusPageCreateTabsContent": "Status page servers", + "statusPageCreateTabsContentDescription": "You can add any number of servers that you monitor to your status page. You can also reorder them for the best viewing experience.", + "statusPageCreateTabsContentFeaturesDescription": "Show more details on the status page", + "statusPageName": "Status page name", + "statusPageStatus": "A public status page is not set up.", + "statusPageStatusContactAdmin": "Please contact to your administrator", + "statusPageStatusNoPage": "There's no status page here.", + "statusPageStatusNotPublic": "This status page is not public.", + "statusPageStatusServiceStatus": "Service status", + "submit": "Submit", + "SupportedFormats": "Supported formats", + "teamPanel": { + "addTeamMember": { + "addButton": "Add Member", + "addMemberMenu": "Add Team Member", + "description": "Create a new user and share the credentials with them. This method gives the member immediate access to all monitors.", + "title": "Register new team member" + }, + "cancel": "Cancel", + "changeTeamPassword": { + "changePasswordMenu": "Reset Password", + "description": "Create a new password for this team member. You will need to share the password with them securely.", + "success": "Password successfully reset. Make sure to provide the credentials to the member in a secure way.", + "title": "Reset team member password" + }, + "email": "Email", + "emailToken": "E-mail token", + "filter": { + "all": "All", + "member": "Member" + }, + "getToken": "Get token", + "inviteDescription": "When you add a new team member, they will get access to all monitors.", + "inviteLink": "Invite link", + "inviteNewTeamMember": "Invite new team member", + "inviteTeamMember": "Invite a team member", + "noMembers": "There are no team members with this role", + "register": "Register a team member", + "registerTeamMember": { + "auth": { + "common": { + "inputs": { + "email": { + "errors": { + "empty": "To continue, please enter an email address", + "invalid": "Please recheck validity of entered email address" + } + }, + "firstName": { + "errors": { + "empty": "Please enter a name", + "pattern": "Name must contain only letters, spaces, apostrophes, or hyphens" + } + }, + "lastName": { + "errors": { + "empty": "Please enter a surname", + "pattern": "Surname must contain only letters, spaces, apostrophes, or hyphens" + } + }, + "role": { + "errors": { + "empty": "Role is required" + } + } + } + } + }, + "title": "Register team member" + }, + "registerToast": { + "dbUserExists": "User already exists.", + "success": "User created, share credentials with the member securely.", + "unknownError": "Unknown error occurred." + }, + "role": "Role", + "selectRole": "Select role", + "table": { + "created": "Created", + "email": "Email", + "name": "Name", + "role": "Role" + }, + "teamMembers": "Team members" + }, + "testLocale": "testLocale", + "testNotificationsDisabled": "There are no notifications setup for this monitor. You need to add one by clicking 'Configure' button", + "time": { + "fifteenSeconds": "15 seconds", + "fiveMinutes": "5 minutes", + "fourMinutes": "4 minutes", + "oneDay": "1 day", + "oneHour": "1 hour", + "oneMinute": "1 minute", + "oneWeek": "1 week", + "tenMinutes": "10 minutes", + "thirtySeconds": "30 seconds", + "threeMinutes": "3 minutes", + "twentyMinutes": "20 minutes", + "twoMinutes": "2 minutes" + }, + "timezone": "Timezone", + "timeZoneInfo": "All dates and times are in GMT+0 time zone.", + "title": "Title", + "tlsErrorIgnored": "TLS/SSL errors ignored", + "total": "Total", + "type": "Type", + "update": "Update", + "uptime": "Uptime", + "uptimeAdvancedMatching": { + "jsonPath": "JSON Path" + }, + "uptimeCreate": "The expected value is used to match against response result, and the match determines the status.", + "uptimeCreateJsonPath": "This expression will be evaluated against the reponse JSON data and the result will be used to match against the expected value. See", + "uptimeCreateJsonPathQuery": "for query language documentation.", + "uptimeGeneralInstructions": { + "docker": "Enter the Docker container name or ID. You can use either the container name (e.g., my-app) or the container ID (full 64-char ID or short ID).", + "game": "Enter the IP address or hostname and the port number to ping (e.g., 192.168.1.100 or example.com) and choose game type.", + "http": "Enter the URL or IP to monitor (e.g., https://example.com/ or 192.168.1.100) and add a clear display name that appears on the dashboard.", + "https": "Enter the URL or IP to monitor (e.g., https://example.com/ or 192.168.1.100) and add a clear display name that appears on the dashboard.", + "ping": "Enter the IP address or hostname to ping (e.g., 192.168.1.100 or example.com) and add a clear display name that appears on the dashboard.", + "port": "Enter the URL or IP of the server, the port number and a clear display name that appears on the dashboard." + }, + "uptimeMonitor": { + "fallback": { + "actionButton": "Create a monitor!", + "checks": [ + "Check if websites or servers are online & responsive", + "Alert teams about downtime or performance issues", + "Monitor HTTP endpoints, pings, containers & ports", + "Track historical uptime and reliability trends" + ], + "title": "An uptime monitor is used to:" + } + }, + "url": "URL", + "urlMonitor": "URL to monitor", + "used": "Used", + "webhookSendError": "Error sending webhook notification to {platform}", + "webhookSendSuccess": "Webhook notification sent successfully", + "webhookUnsupportedPlatform": "Unsupported platform: {platform}", + "websiteMonitoring": "Website monitoring", + "websiteMonitoringDescription": "Use HTTP(s) to monitor your website or API endpoint.", + "whenNewIncident": "When there is a new incident,", + "window": "window", + "YourPhoto": "Profile photo" +} diff --git a/client/src/pages/infrastructure/InfraForm.tsx b/client/src/pages/infrastructure/InfraForm.tsx index 9e970edb5..aa50ae177 100644 --- a/client/src/pages/infrastructure/InfraForm.tsx +++ b/client/src/pages/infrastructure/InfraForm.tsx @@ -100,8 +100,8 @@ export const InfraForm = ({ return ( @@ -140,7 +140,7 @@ export const InfraForm = ({ }, 0); }} type="text" - fieldLabel={t("url")} + fieldLabel={t("monitors.common.form.optionUrl")} fullWidth error={!!errors.url} helperText={errors.url ? errors.url.message : ""} @@ -155,7 +155,7 @@ export const InfraForm = ({ - {t("settingsSave")} + {t("common.buttons.save")} diff --git a/client/src/pages/infrastructure/InfraMonitors.tsx b/client/src/pages/infrastructure/InfraMonitors.tsx index 661160147..27d71c989 100644 --- a/client/src/pages/infrastructure/InfraMonitors.tsx +++ b/client/src/pages/infrastructure/InfraMonitors.tsx @@ -90,8 +90,8 @@ const PageSpeedMonitorsPage = () => { actionLink="/infrastructure/create" > { /> { window.open(monitor.url, "_blank", "noreferrer"); }, @@ -92,21 +92,21 @@ export const InfraMonitorsTable = ({ }, { id: 2, - label: "Details", + label: t("monitors.common.actions.details"), action: () => { navigate(`${monitor._id}`); }, }, { id: 3, - label: "Incidents", + label: t("monitors.common.actions.incidents"), action: () => { navigate(`/incidents?monitorId=${monitor._id}`); }, }, { id: 4, - label: "Configure", + label: t("monitors.common.actions.configure"), action: () => { navigate(`/infrastructure/${monitor._id}/configure`); }, @@ -115,12 +115,15 @@ export const InfraMonitorsTable = ({ // id: 5, // label: "Clone", // action: () => { - + // }, // }, { id: 6, - label: monitor.status === "paused" ? "Resume" : "Pause", + label: + monitor.status === "paused" + ? t("common.buttons.resume") + : t("common.buttons.pause"), action: async () => { await patch(`/monitors/${monitor._id}/active`); refetch(); @@ -129,7 +132,11 @@ export const InfraMonitorsTable = ({ }, { id: 7, - label: Remove, + label: ( + + {t("common.buttons.delete")} + + ), action: () => { setSelectedMonitor(monitor); }, @@ -161,7 +168,7 @@ export const InfraMonitorsTable = ({ onClick={(e) => handleSort(e, "name")} sx={{ cursor: "pointer" }} > - {t("host")} + {t("monitors.common.table.headers.name")} {renderSortIcon(sortField === "name")} ), @@ -179,7 +186,7 @@ export const InfraMonitorsTable = ({ onClick={(e) => handleSort(e, "status")} sx={{ cursor: "pointer" }} > - {t("status")} + {t("monitors.common.table.headers.status")} {renderSortIcon(sortField === "status")} ), @@ -189,7 +196,7 @@ export const InfraMonitorsTable = ({ }, { id: "cpu", - content: t("cpu"), + content: t("monitors.common.table.headers.cpu"), render: (row) => { const cpuUsage = (row.latestChecks?.[0]?.system?.cpu?.usage_percent || 0) * 100; @@ -198,7 +205,7 @@ export const InfraMonitorsTable = ({ }, { id: "memory", - content: t("memory"), + content: t("monitors.common.table.headers.memory"), render: (row) => { const memoryUsage = (row.latestChecks?.[0]?.system?.memory?.usage_percent || 0) * 100; @@ -207,7 +214,7 @@ export const InfraMonitorsTable = ({ }, { id: "disk", - content: t("disk"), + content: t("monitors.common.table.headers.disk"), render: (row) => { const totalDiskUsage = row.latestChecks?.[0]?.system?.disk?.reduce( (acc, disk) => acc + disk.usage_percent, @@ -221,7 +228,7 @@ export const InfraMonitorsTable = ({ { id: "actions", - content: t("actions"), + content: t("monitors.common.table.headers.actions"), render: (row) => { return ; }, diff --git a/client/src/pages/pagespeed/PageSpeedForm.tsx b/client/src/pages/pagespeed/PageSpeedForm.tsx index 16ae0d31e..865c8b65f 100644 --- a/client/src/pages/pagespeed/PageSpeedForm.tsx +++ b/client/src/pages/pagespeed/PageSpeedForm.tsx @@ -100,8 +100,8 @@ export const PageSpeedForm = ({ return ( @@ -140,7 +140,7 @@ export const PageSpeedForm = ({ }, 0); }} type="text" - fieldLabel={t("url")} + fieldLabel={t("monitors.common.form.optionUrl")} fullWidth error={!!errors.url} helperText={errors.url ? errors.url.message : ""} @@ -155,7 +155,7 @@ export const PageSpeedForm = ({ - {t("settingsSave")} + {t("common.buttons.save")} diff --git a/client/src/pages/pagespeed/PageSpeedMonitorTable.tsx b/client/src/pages/pagespeed/PageSpeedMonitorTable.tsx index a6e018538..62302b331 100644 --- a/client/src/pages/pagespeed/PageSpeedMonitorTable.tsx +++ b/client/src/pages/pagespeed/PageSpeedMonitorTable.tsx @@ -85,7 +85,7 @@ export const PageSpeedMonitorTable = ({ return [ { id: 1, - label: "Open site", + label: t("monitors.common.actions.openSite"), action: () => { window.open(monitor.url, "_blank", "noreferrer"); }, @@ -93,21 +93,21 @@ export const PageSpeedMonitorTable = ({ }, { id: 2, - label: "Details", + label: t("monitors.common.actions.details"), action: () => { navigate(`${monitor._id}`); }, }, { id: 3, - label: "Incidents", + label: t("monitors.common.actions.incidents"), action: () => { navigate(`/incidents?monitorId=${monitor._id}`); }, }, { id: 4, - label: "Configure", + label: t("monitors.common.actions.configure"), action: () => { navigate(`/pagespeed/${monitor._id}/configure`); }, @@ -116,12 +116,15 @@ export const PageSpeedMonitorTable = ({ // id: 5, // label: "Clone", // action: () => { - + // }, // }, { id: 6, - label: monitor.status === "paused" ? "Resume" : "Pause", + label: + monitor.status === "paused" + ? t("common.buttons.resume") + : t("common.buttons.pause"), action: async () => { await patch(`/monitors/${monitor._id}/active`); refetch(); @@ -130,7 +133,11 @@ export const PageSpeedMonitorTable = ({ }, { id: 7, - label: Remove, + label: ( + + {t("common.buttons.delete")} + + ), action: () => { setSelectedMonitor(monitor); }, @@ -163,7 +170,7 @@ export const PageSpeedMonitorTable = ({ onClick={(e) => handleSort(e, "name")} sx={{ cursor: "pointer" }} > - {t("host")} + {t("monitors.common.table.headers.name")} {renderSortIcon(sortField === "name")} ), @@ -182,7 +189,7 @@ export const PageSpeedMonitorTable = ({ onClick={(e) => handleSort(e, "status")} sx={{ cursor: "pointer" }} > - {t("status")} + {t("monitors.common.table.headers.status")} {renderSortIcon(sortField === "status")} ), @@ -192,7 +199,7 @@ export const PageSpeedMonitorTable = ({ }, { id: "histogram", - content: "PageSpeed score", + content: t("monitors.common.table.headers.pageSpeedScore"), render: (row) => { return ( @@ -207,7 +214,7 @@ export const PageSpeedMonitorTable = ({ { id: "actions", - content: t("actions"), + content: t("monitors.common.table.headers.actions"), render: (row) => { return ; }, diff --git a/client/src/pages/pagespeed/PageSpeedMonitors.tsx b/client/src/pages/pagespeed/PageSpeedMonitors.tsx index 28f16e7a4..de599d753 100644 --- a/client/src/pages/pagespeed/PageSpeedMonitors.tsx +++ b/client/src/pages/pagespeed/PageSpeedMonitors.tsx @@ -19,7 +19,6 @@ import useMediaQuery from "@mui/material/useMediaQuery"; import { useState } from "react"; import { useDelete } from "@/hooks/UseApi"; import { InitializingStatusBox } from "@/components/design-elements/StatusBox"; -import { useAppSelector } from "@/hooks/AppHooks"; import { config } from "@/config/index"; import { useLimitReached } from "@/hooks/UsePlanEntitlements"; @@ -27,7 +26,6 @@ const GLOBAL_REFRESH = config.GLOBAL_REFRESH; const PageSpeedMonitorsPage = () => { const theme = useTheme(); - const { user } = useAppSelector((state) => state.auth); const { t } = useTranslation(); const isSmall = useMediaQuery(theme.breakpoints.down("md")); @@ -91,8 +89,8 @@ const PageSpeedMonitorsPage = () => { monitorLimitReached={monitorLimitReached} > { /> { const headers: Header[] = [ { id: "status", - content: t("status"), + content: t("monitors.common.table.headers.status"), render: (row) => { return ; }, }, { id: "date", - content: t("date&Time"), + content: t("monitors.common.table.headers.dateTime"), render: (row) => { return formatDateWithTz( row.createdAt, @@ -34,14 +34,14 @@ const getHeaders = (t: Function, uiTimezone: string) => { }, { id: "message", - content: t("message"), + content: t("monitors.common.table.headers.message"), render: (row) => { return row.message || "N/A"; }, }, { id: "statusCode", - content: t("statusCode"), + content: t("monitors.common.table.headers.statusCode"), render: (row) => { return row.httpStatusCode || "N/A"; }, diff --git a/client/src/pages/uptime/UptimeDetails.tsx b/client/src/pages/uptime/UptimeDetails.tsx index cb796de54..d42a87a20 100644 --- a/client/src/pages/uptime/UptimeDetails.tsx +++ b/client/src/pages/uptime/UptimeDetails.tsx @@ -9,6 +9,7 @@ import { import Stack from "@mui/material/Stack"; import { CheckTable } from "@/pages/uptime/CheckTable"; +import { useTranslation } from "react-i18next"; import type { IMonitor, IMonitorWithMonitorStats } from "@/types/monitor"; import useMediaQuery from "@mui/material/useMediaQuery"; import { useTheme } from "@mui/material/styles"; @@ -25,7 +26,7 @@ const UptimeDetailsPage = () => { const { id } = useParams(); const theme = useTheme(); const isSmall = useMediaQuery(theme.breakpoints.down("md")); - + const { t } = useTranslation(); // Local state const [range, setRange] = useState("2h"); @@ -113,13 +114,13 @@ const UptimeDetailsPage = () => { = 0 ? `${prettyMilliseconds(lastChecked, { @@ -129,13 +130,13 @@ const UptimeDetailsPage = () => { } /> { /> {mode === "create" && ( @@ -151,8 +156,8 @@ export const UptimeForm = ({ /> )} ( option.name} value={notificationOptions.filter((o: any) => @@ -296,8 +306,8 @@ export const UptimeForm = ({ } /> - {field.value ? "Enabled (recommended)" : "Disabled"} + {field.value + ? t("monitors.uptime.form.rejectUnauthorized.optionEnabled") + : t( + "monitors.uptime.form.rejectUnauthorized.optionDisabled" + )} )} @@ -340,7 +354,7 @@ export const UptimeForm = ({ variant="contained" color="primary" > - {t("settingsSave")} + {t("common.buttons.save")} diff --git a/client/src/pages/uptime/UptimeMonitors.tsx b/client/src/pages/uptime/UptimeMonitors.tsx index 1a82efccf..fa344061a 100644 --- a/client/src/pages/uptime/UptimeMonitors.tsx +++ b/client/src/pages/uptime/UptimeMonitors.tsx @@ -27,7 +27,6 @@ import { import useMediaQuery from "@mui/material/useMediaQuery"; import { useState } from "react"; import { useDelete } from "@/hooks/UseApi"; -import { useAppSelector } from "@/hooks/AppHooks"; import { config } from "@/config/index"; import { useLimitReached } from "@/hooks/UsePlanEntitlements"; @@ -35,7 +34,6 @@ const GLOBAL_REFRESH = config.GLOBAL_REFRESH; const UptimeMonitors = () => { const theme = useTheme(); - const { user } = useAppSelector((state) => state.auth); const { t } = useTranslation(); const isSmall = useMediaQuery(theme.breakpoints.down("md")); const [selectedMonitor, setSelectedMonitor] = useState(null); @@ -129,8 +127,8 @@ const UptimeMonitors = () => { monitorLimitReached={monitorLimitReached} > { /> state?.ui?.chartType || "heatmap" + ); const { patch, // loading: isPatching, @@ -85,7 +89,7 @@ export const MonitorTable = ({ return [ { id: 1, - label: "Open site", + label: t("monitors.common.actions.openSite"), action: () => { window.open(monitor.url, "_blank", "noreferrer"); }, @@ -93,21 +97,21 @@ export const MonitorTable = ({ }, { id: 2, - label: "Details", + label: t("monitors.common.actions.details"), action: () => { navigate(`${monitor._id}`); }, }, { id: 3, - label: "Incidents", + label: t("monitors.common.actions.incidents"), action: () => { navigate(`/incidents?monitorId=${monitor._id}`); }, }, { id: 4, - label: "Configure", + label: t("monitors.common.actions.configure"), action: () => { navigate(`/uptime/${monitor._id}/configure`); }, @@ -116,12 +120,15 @@ export const MonitorTable = ({ // id: 5, // label: "Clone", // action: () => { - + // }, // }, { id: 6, - label: monitor.status === "paused" ? "Resume" : "Pause", + label: + monitor.status === "paused" + ? t("common.buttons.resume") + : t("common.buttons.pause"), action: async () => { await patch(`/monitors/${monitor._id}/active`); refetch(); @@ -130,7 +137,11 @@ export const MonitorTable = ({ }, { id: 7, - label: Remove, + label: ( + + {t("common.buttons.delete")} + + ), action: () => { setSelectedMonitor(monitor); }, @@ -139,10 +150,7 @@ export const MonitorTable = ({ ]; }; - const getHeaders = () => { - const chartType = useAppSelector( - (state) => state?.ui?.chartType || "heatmap" - ); + const getHeaders = (chartType: ChartType) => { const renderSortIcon = (isActive: boolean) => ( {isActive ? ( @@ -165,7 +173,7 @@ export const MonitorTable = ({ onClick={(e) => handleSort(e, "name")} sx={{ cursor: "pointer" }} > - {t("name")} + {t("monitors.common.table.headers.name")} {renderSortIcon(sortField === "name")} ), @@ -185,7 +193,7 @@ export const MonitorTable = ({ onClick={(e) => handleSort(e, "status")} sx={{ cursor: "pointer" }} > - {t("status")} + {t("monitors.common.table.headers.status")} {renderSortIcon(sortField === "status")} ), @@ -195,7 +203,7 @@ export const MonitorTable = ({ }, { id: "histogram", - content: t("responseTime"), + content: t("monitors.common.table.headers.responseTime"), render: (row) => { if (chartType === "histogram") { return ; @@ -215,7 +223,7 @@ export const MonitorTable = ({ onClick={(e) => handleSort(e, "type")} sx={{ cursor: "pointer" }} > - {t("type")} + {t("monitors.common.table.headers.type")} {renderSortIcon(sortField === "type")} ), @@ -225,7 +233,7 @@ export const MonitorTable = ({ }, { id: "actions", - content: t("actions"), + content: t("monitors.common.table.headers.actions"), render: (row) => { return ; }, @@ -234,7 +242,7 @@ export const MonitorTable = ({ return headers; }; - const headers = getHeaders(); + const headers = getHeaders(chartType); return (