extract strings, sort json

This commit is contained in:
Alex Holliday committed 2025-08-18 15:46:41 -07:00
1 parent ced2417c98
commit d4b11bbb76
2 files changed
+59 -57

No files matched your search

+4 -8
View File
@@ -615,18 +615,16 @@ const UptimeCreate = ({ isClone = false }) => {
component="h2" component="h2"
variant="h2" variant="h2"
> >
Incidents {t("createMonitorPage.incidentConfigTitle")}
</Typography> </Typography>
<Typography component="p"> <Typography component="p">
{ {t("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."
}
</Typography> </Typography>
</Box> </Box>
<Stack gap={theme.spacing(20)}> <Stack gap={theme.spacing(20)}>
<TextInput <TextInput
name="statusWindowSize" name="statusWindowSize"
label={"How many checks should be in the sliding window?"} label={t("createMonitorPage.incidentConfigStatusWindowLabel")}
type="number" type="number"
value={monitor.statusWindowSize} value={monitor.statusWindowSize}
onChange={onChange} onChange={onChange}
@@ -635,9 +633,7 @@ const UptimeCreate = ({ isClone = false }) => {
/> />
<TextInput <TextInput
name="statusWindowThreshold" name="statusWindowThreshold"
label={ label={t("createMonitorPage.incidentConfigStatusWindowThresholdLabel")}
"What percentage of checks in the sliding window fail/succeed before monitor status changes?"
}
type="number" type="number"
value={monitor.statusWindowThreshold} value={monitor.statusWindowThreshold}
onChange={onChange} onChange={onChange}
+55 -49
View File
@@ -1,18 +1,4 @@
{ {
"ClickUpload": "Click to upload",
"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.",
"DeleteWarningTitle": "Really remove this account?",
"DragandDrop": "drag and drop",
"EmailDescriptionText": "This is your current email address — it cannot be changed.",
"FirstName": "First name",
"LastName": "Last name",
"MaxSize": "Maximum Size",
"PhotoDescriptionText": "This photo will be displayed in your profile page.",
"SupportedFormats": "Supported formats",
"YourPhoto": "Profile photo",
"aboutus": "About Us", "aboutus": "About Us",
"access": "Access", "access": "Access",
"actions": "Actions", "actions": "Actions",
@@ -202,13 +188,6 @@
"avgCpuTemperature": "Average CPU Temperature", "avgCpuTemperature": "Average CPU Temperature",
"bar": "Bar", "bar": "Bar",
"basicInformation": "Basic Information", "basicInformation": "Basic Information",
"bytesPerSecond": "Bytes per second",
"bytesReceived": "Bytes Received",
"bytesSent": "Bytes Sent",
"dataReceived": "Data Received",
"dataSent": "Data Sent",
"dataRate": "Data Rate",
"rate": "Rate",
"bulkImport": { "bulkImport": {
"fallbackPage": "Import a file to upload a list of servers in bulk", "fallbackPage": "Import a file to upload a list of servers in bulk",
"invalidFileType": "Invalid file type", "invalidFileType": "Invalid file type",
@@ -222,17 +201,21 @@
"uploadSuccess": "Monitors created successfully!", "uploadSuccess": "Monitors created successfully!",
"validationFailed": "Validation failed" "validationFailed": "Validation failed"
}, },
"bytesPerSecond": "Bytes per second",
"bytesReceived": "Bytes Received",
"bytesSent": "Bytes Sent",
"cancel": "Cancel", "cancel": "Cancel",
"checkFormError": "Please check the form for errors.", "checkFormError": "Please check the form for errors.",
"checkFrequency": "Check frequency", "checkFrequency": "Check frequency",
"chooseGame": "Choose game",
"checkHooks": { "checkHooks": {
"failureResolveAll": "Failed to resolve all incidents.", "failureResolveAll": "Failed to resolve all incidents.",
"failureResolveMonitor": "Failed to resolve monitor incidents.", "failureResolveMonitor": "Failed to resolve monitor incidents.",
"failureResolveOne": "Failed to resolve incident." "failureResolveOne": "Failed to resolve incident."
}, },
"checkingEvery": "Checking every", "checkingEvery": "Checking every",
"chooseGame": "Choose game",
"city": "CITY", "city": "CITY",
"ClickUpload": "Click to upload",
"common": { "common": {
"appName": "Checkmate", "appName": "Checkmate",
"buttons": { "buttons": {
@@ -262,6 +245,12 @@
"createMaintenance": "Create maintenance", "createMaintenance": "Create maintenance",
"createMaintenanceWindow": "Create maintenance window", "createMaintenanceWindow": "Create maintenance window",
"createMonitor": "Create monitor", "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.",
"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"
},
"createNew": "Create new", "createNew": "Create new",
"createNotifications": { "createNotifications": {
"dialogDeleteConfirm": "Delete", "dialogDeleteConfirm": "Delete",
@@ -311,13 +300,22 @@
} }
}, },
"createYour": "Create your", "createYour": "Create your",
"dataRate": "Data Rate",
"dataReceived": "Data Received",
"dataSent": "Data Sent",
"date&Time": "Date & Time", "date&Time": "Date & Time",
"delete": "Delete", "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.", "deleteDialogDescription": "Once deleted, this monitor cannot be retrieved.",
"deleteDialogTitle": "Do you really want to delete this monitor?", "deleteDialogTitle": "Do you really want to delete this monitor?",
"deleteStatusPage": "Do you want to delete this status page?", "deleteStatusPage": "Do you want to delete this status page?",
"deleteStatusPageConfirm": "Yes, delete status page", "deleteStatusPageConfirm": "Yes, delete status page",
"deleteStatusPageDescription": "Once deleted, your status page cannot be retrieved.", "deleteStatusPageDescription": "Once deleted, your status page cannot be retrieved.",
"DeleteWarningTitle": "Really remove this account?",
"details": "Details",
"diagnosticsPage": { "diagnosticsPage": {
"diagnosticDescription": "System diagnostics", "diagnosticDescription": "System diagnostics",
"gauges": { "gauges": {
@@ -341,15 +339,6 @@
}, },
"disk": "Disk", "disk": "Disk",
"diskUsage": "Disk Usage", "diskUsage": "Disk Usage",
"drops": "Drops",
"errors": "Errors",
"errorsIn": "Errors In",
"errorsOut": "Errors Out",
"networkErrors": "Network Errors",
"networkDrops": "Network Drops",
"networkInterface": "Network Interface",
"selectInterface": "Select Interface",
"details": "Details",
"displayName": "Display name", "displayName": "Display name",
"distributedRightCategoryTitle": "Monitor", "distributedRightCategoryTitle": "Monitor",
"distributedStatusHeaderText": "Real-time, real-device coverage", "distributedStatusHeaderText": "Real-time, real-device coverage",
@@ -395,6 +384,8 @@
"distributedUptimeStatusUptLogo": "Upt Logo", "distributedUptimeStatusUptLogo": "Upt Logo",
"dockerContainerMonitoring": "Docker container monitoring", "dockerContainerMonitoring": "Docker container monitoring",
"dockerContainerMonitoringDescription": "Check whether your Docker container is running or not.", "dockerContainerMonitoringDescription": "Check whether your Docker container is running or not.",
"DragandDrop": "drag and drop",
"drops": "Drops",
"duration": "Duration", "duration": "Duration",
"edit": "Edit", "edit": "Edit",
"editing": "Editing...", "editing": "Editing...",
@@ -417,6 +408,7 @@
"validationErrors": "Validation errors" "validationErrors": "Validation errors"
} }
}, },
"EmailDescriptionText": "This is your current email address — it cannot be changed.",
"emailSent": "Email sent successfully", "emailSent": "Email sent successfully",
"errorInvalidFieldId": "Invalid field ID provided", "errorInvalidFieldId": "Invalid field ID provided",
"errorInvalidTypeId": "Invalid notification type provided", "errorInvalidTypeId": "Invalid notification type provided",
@@ -434,6 +426,9 @@
} }
} }
}, },
"errors": "Errors",
"errorsIn": "Errors In",
"errorsOut": "Errors Out",
"expectedValue": "Expected value", "expectedValue": "Expected value",
"export": { "export": {
"failed": "Failed to export monitors", "failed": "Failed to export monitors",
@@ -442,9 +437,12 @@
}, },
"failedToSendEmail": "Failed to send email", "failedToSendEmail": "Failed to send email",
"features": "Features", "features": "Features",
"FirstName": "First name",
"frequency": "Frequency", "frequency": "Frequency",
"friendlyNameInput": "Friendly name", "friendlyNameInput": "Friendly name",
"friendlyNamePlaceholder": "Maintenance at __ : __ for ___ minutes", "friendlyNamePlaceholder": "Maintenance at __ : __ for ___ minutes",
"gameServerMonitoring": "Game Server Monitoring",
"gameServerMonitoringDescription": "Check whether your game server is running or not",
"gb": "GB", "gb": "GB",
"general": { "general": {
"noOptionsFound": "No {{unit}} found" "noOptionsFound": "No {{unit}} found"
@@ -520,6 +518,7 @@
"invalidFileFormat": "Unsupported file format!", "invalidFileFormat": "Unsupported file format!",
"invalidFileSize": "File size is too large!", "invalidFileSize": "File size is too large!",
"inviteNoTokenFound": "No invite token found", "inviteNoTokenFound": "No invite token found",
"LastName": "Last name",
"loginHere": "Login here", "loginHere": "Login here",
"logsPage": { "logsPage": {
"description": "System logs - last 1000 lines", "description": "System logs - last 1000 lines",
@@ -571,6 +570,7 @@
"regexPlaceholder": "^(success|ok)$", "regexPlaceholder": "^(success|ok)$",
"text": "Match Method" "text": "Match Method"
}, },
"MaxSize": "Maximum Size",
"mb": "MB", "mb": "MB",
"mem": "Mem", "mem": "Mem",
"memory": "Memory", "memory": "Memory",
@@ -632,6 +632,11 @@
"namePlaceholder": "My Container", "namePlaceholder": "My Container",
"placeholder": "abcd1234" "placeholder": "abcd1234"
}, },
"game": {
"label": "URL to monitor",
"namePlaceholder": "localhost:5173",
"placeholder": "localhost"
},
"http": { "http": {
"label": "URL to monitor", "label": "URL to monitor",
"namePlaceholder": "Google", "namePlaceholder": "Google",
@@ -646,16 +651,14 @@
"label": "URL to monitor", "label": "URL to monitor",
"namePlaceholder": "Localhost:5173", "namePlaceholder": "Localhost:5173",
"placeholder": "localhost" "placeholder": "localhost"
},
"game": {
"label": "URL to monitor",
"namePlaceholder": "localhost:5173",
"placeholder": "localhost"
} }
}, },
"ms": "ms", "ms": "ms",
"navControls": "Controls", "navControls": "Controls",
"network": "Network", "network": "Network",
"networkDrops": "Network Drops",
"networkErrors": "Network Errors",
"networkInterface": "Network Interface",
"nextWindow": "Next window", "nextWindow": "Next window",
"noNetworkStatsAvailable": "No network stats available.", "noNetworkStatsAvailable": "No network stats available.",
"notFoundButton": "Go to the main dashboard", "notFoundButton": "Go to the main dashboard",
@@ -739,6 +742,10 @@
"notifySMS": "Notify via SMS (coming soon)", "notifySMS": "Notify via SMS (coming soon)",
"now": "Now", "now": "Now",
"os": "OS", "os": "OS",
"packetsPerSecond": "Packets per second",
"packetsReceived": "Packets Received",
"packetsReceivedRate": "Packets Received Rate",
"packetsSent": "Packets Sent",
"pageSpeed": { "pageSpeed": {
"fallback": { "fallback": {
"actionButton": "Let's create your first PageSpeed monitor!", "actionButton": "Let's create your first PageSpeed monitor!",
@@ -769,17 +776,12 @@
"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.", "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..." "saving": "Saving..."
}, },
"packetsPerSecond": "Packets per second",
"packetsReceived": "Packets Received",
"packetsReceivedRate": "Packets Received Rate",
"packetsSent": "Packets Sent",
"pause": "Pause", "pause": "Pause",
"PhotoDescriptionText": "This photo will be displayed in your profile page.",
"pingMonitoring": "Ping monitoring", "pingMonitoring": "Ping monitoring",
"pingMonitoringDescription": "Check whether your server is available or not.", "pingMonitoringDescription": "Check whether your server is available or not.",
"portMonitoring": "Port monitoring", "portMonitoring": "Port monitoring",
"portMonitoringDescription": "Check whether your port is open or not.", "portMonitoringDescription": "Check whether your port is open or not.",
"gameServerMonitoring": "Game Server Monitoring",
"gameServerMonitoringDescription": "Check whether your game server is running or not",
"portToMonitor": "Port to monitor", "portToMonitor": "Port to monitor",
"publicLink": "Public link", "publicLink": "Public link",
"publicURL": "Public URL", "publicURL": "Public URL",
@@ -814,6 +816,7 @@
"refreshButton": "Refresh", "refreshButton": "Refresh",
"title": "Queue" "title": "Queue"
}, },
"rate": "Rate",
"remove": "Remove", "remove": "Remove",
"removeLogo": "Remove Logo", "removeLogo": "Remove Logo",
"repeat": "Repeat", "repeat": "Repeat",
@@ -829,6 +832,7 @@
}, },
"save": "Save", "save": "Save",
"selectAll": "Select all", "selectAll": "Select all",
"selectInterface": "Select Interface",
"sendTestNotifications": "Send test notifications", "sendTestNotifications": "Send test notifications",
"seperateEmails": "You can separate multiple emails with a comma", "seperateEmails": "You can separate multiple emails with a comma",
"settingsAppearance": "Appearance", "settingsAppearance": "Appearance",
@@ -873,6 +877,10 @@
"title": "Email", "title": "Email",
"toastEmailRequiredFieldsError": "Email address, host, port and password are required" "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": { "pageSpeedSettings": {
"description": "Enter your Google PageSpeed API key to enable Google PageSpeed monitoring. Click Reset to update the key.", "description": "Enter your Google PageSpeed API key to enable Google PageSpeed monitoring. Click Reset to update the key.",
"labelApiKey": "PageSpeed API key", "labelApiKey": "PageSpeed API key",
@@ -905,10 +913,6 @@
"title": "Display timezone" "title": "Display timezone"
}, },
"title": "Settings", "title": "Settings",
"globalThresholds": {
"title": "Global Thresholds",
"description": "Configure global CPU, Memory, Disk, and Temperature thresholds. If a value is provided, it will automatically be enabled for monitoring."
},
"uiSettings": { "uiSettings": {
"description": "Switch between light and dark mode, or change user interface language.", "description": "Switch between light and dark mode, or change user interface language.",
"labelLanguage": "Language", "labelLanguage": "Language",
@@ -985,6 +989,7 @@
"statusPageStatusNotPublic": "This status page is not public.", "statusPageStatusNotPublic": "This status page is not public.",
"statusPageStatusServiceStatus": "Service status", "statusPageStatusServiceStatus": "Service status",
"submit": "Submit", "submit": "Submit",
"SupportedFormats": "Supported formats",
"teamPanel": { "teamPanel": {
"cancel": "Cancel", "cancel": "Cancel",
"email": "Email", "email": "Email",
@@ -1040,10 +1045,10 @@
"uptimeCreateJsonPathQuery": "for query language documentation.", "uptimeCreateJsonPathQuery": "for query language documentation.",
"uptimeGeneralInstructions": { "uptimeGeneralInstructions": {
"docker": "Enter the Docker ID of your container. Docker IDs must be the full 64 char Docker ID. You can run docker inspect <short_id> to get the full container ID.", "docker": "Enter the Docker ID of your container. Docker IDs must be the full 64 char Docker ID. You can run docker inspect <short_id> to get the full container 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.", "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.", "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.", "port": "Enter the URL or IP of the server, the port number and a clear display name that appears on the dashboard."
"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."
}, },
"uptimeMonitor": { "uptimeMonitor": {
"fallback": { "fallback": {
@@ -1066,5 +1071,6 @@
"websiteMonitoring": "Website monitoring", "websiteMonitoring": "Website monitoring",
"websiteMonitoringDescription": "Use HTTP(s) to monitor your website or API endpoint.", "websiteMonitoringDescription": "Use HTTP(s) to monitor your website or API endpoint.",
"whenNewIncident": "When there is a new incident,", "whenNewIncident": "When there is a new incident,",
"window": "window" "window": "window",
"YourPhoto": "Profile photo"
} }