[Uptime]: Removed UptimeConfigure component, added extra translations for Uptime and other monitor pages

This commit is contained in:
Jesulayomy
2025-07-23 09:05:33 -04:00
parent a004b7b450
commit 5f36543d44
2 changed files with 39 additions and 3 deletions

View File

@@ -14,7 +14,6 @@ import AuthNewPasswordConfirmed from "../Pages/Auth/NewPasswordConfirmed";
import Uptime from "../Pages/Uptime/Monitors";
import UptimeDetails from "../Pages/Uptime/Details";
import UptimeCreate from "../Pages/Uptime/Create";
import UptimeConfigure from "../Pages/Uptime/Configure";
// PageSpeed
import PageSpeed from "../Pages/PageSpeed/Monitors";
@@ -81,7 +80,7 @@ const Routes = () => {
/>
<Route
path="/uptime/create/:monitorId?"
path="/uptime/create"
element={<UptimeCreate />}
/>
<Route
@@ -90,7 +89,7 @@ const Routes = () => {
/>
<Route
path="/uptime/configure/:monitorId/"
element={<UptimeConfigure />}
element={<UptimeCreate />}
/>
<Route

View File

@@ -543,6 +543,15 @@
"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"
},
"mb": "MB",
"mem": "Mem",
"memory": "Memory",
@@ -598,6 +607,28 @@
"monitorStatusUp": "Monitor {name} ({url}) is now UP and responding",
"monitors": "monitors",
"monitorsToApply": "Monitors to apply maintenance window to",
"monitorType": {
"docker": {
"label": "Container ID",
"placeholder": "abcd1234",
"namePlaceholder": "My Container"
},
"http": {
"label": "URL to monitor",
"placeholder": "google.com",
"namePlaceholder": "Google"
},
"ping": {
"label": "IP address to monitor",
"placeholder": "1.1.1.1",
"namePlaceholder": "Google"
},
"port": {
"label": "URL to monitor",
"placeholder": "localhost",
"namePlaceholder": "Localhost:5173"
}
},
"ms": "ms",
"navControls": "Controls",
"nextWindow": "Next window",
@@ -952,6 +983,9 @@
"testLocale": "testLocale",
"testNotificationsDisabled": "There are no notifications setup for this monitor. You need to add one by clicking 'Configure' button",
"time": {
"oneMinute": "1 minute",
"twoMinutes": "2 minutes",
"fourMinutes": "4 minutes",
"fiveMinutes": "5 minutes",
"oneDay": "1 day",
"oneHour": "1 hour",
@@ -968,6 +1002,9 @@
"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.",