[Uptime]: Removed UptimeConfigure component, added extra translations for Uptime and other monitor pages
This commit is contained in:
1 parent
a004b7b450
commit
5f36543d44
2 files changed
+39
-3
No files matched your search
@@ -14,7 +14,6 @@ import AuthNewPasswordConfirmed from "../Pages/Auth/NewPasswordConfirmed";
|
|||||||
import Uptime from "../Pages/Uptime/Monitors";
|
import Uptime from "../Pages/Uptime/Monitors";
|
||||||
import UptimeDetails from "../Pages/Uptime/Details";
|
import UptimeDetails from "../Pages/Uptime/Details";
|
||||||
import UptimeCreate from "../Pages/Uptime/Create";
|
import UptimeCreate from "../Pages/Uptime/Create";
|
||||||
import UptimeConfigure from "../Pages/Uptime/Configure";
|
|
||||||
|
|
||||||
// PageSpeed
|
// PageSpeed
|
||||||
import PageSpeed from "../Pages/PageSpeed/Monitors";
|
import PageSpeed from "../Pages/PageSpeed/Monitors";
|
||||||
@@ -81,7 +80,7 @@ const Routes = () => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/uptime/create/:monitorId?"
|
path="/uptime/create"
|
||||||
element={<UptimeCreate />}
|
element={<UptimeCreate />}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
@@ -90,7 +89,7 @@ const Routes = () => {
|
|||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/uptime/configure/:monitorId/"
|
path="/uptime/configure/:monitorId/"
|
||||||
element={<UptimeConfigure />}
|
element={<UptimeCreate />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
|
|||||||
@@ -543,6 +543,15 @@
|
|||||||
"maintenanceWindowName": "Maintenance Window Name",
|
"maintenanceWindowName": "Maintenance Window Name",
|
||||||
"maskedPageSpeedKeyPlaceholder": "*************************************",
|
"maskedPageSpeedKeyPlaceholder": "*************************************",
|
||||||
"matchMethod": "Match Method",
|
"matchMethod": "Match Method",
|
||||||
|
"matchMethodOptions": {
|
||||||
|
"equal": "Equal",
|
||||||
|
"equalPlaceholder": "success",
|
||||||
|
"include": "Include",
|
||||||
|
"includePlaceholder": "ok",
|
||||||
|
"regex": "Regex",
|
||||||
|
"regexPlaceholder": "^(success|ok)$",
|
||||||
|
"text": "Match Method"
|
||||||
|
},
|
||||||
"mb": "MB",
|
"mb": "MB",
|
||||||
"mem": "Mem",
|
"mem": "Mem",
|
||||||
"memory": "Memory",
|
"memory": "Memory",
|
||||||
@@ -598,6 +607,28 @@
|
|||||||
"monitorStatusUp": "Monitor {name} ({url}) is now UP and responding",
|
"monitorStatusUp": "Monitor {name} ({url}) is now UP and responding",
|
||||||
"monitors": "monitors",
|
"monitors": "monitors",
|
||||||
"monitorsToApply": "Monitors to apply maintenance window to",
|
"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",
|
"ms": "ms",
|
||||||
"navControls": "Controls",
|
"navControls": "Controls",
|
||||||
"nextWindow": "Next window",
|
"nextWindow": "Next window",
|
||||||
@@ -952,6 +983,9 @@
|
|||||||
"testLocale": "testLocale",
|
"testLocale": "testLocale",
|
||||||
"testNotificationsDisabled": "There are no notifications setup for this monitor. You need to add one by clicking 'Configure' button",
|
"testNotificationsDisabled": "There are no notifications setup for this monitor. You need to add one by clicking 'Configure' button",
|
||||||
"time": {
|
"time": {
|
||||||
|
"oneMinute": "1 minute",
|
||||||
|
"twoMinutes": "2 minutes",
|
||||||
|
"fourMinutes": "4 minutes",
|
||||||
"fiveMinutes": "5 minutes",
|
"fiveMinutes": "5 minutes",
|
||||||
"oneDay": "1 day",
|
"oneDay": "1 day",
|
||||||
"oneHour": "1 hour",
|
"oneHour": "1 hour",
|
||||||
@@ -968,6 +1002,9 @@
|
|||||||
"type": "Type",
|
"type": "Type",
|
||||||
"update": "Update",
|
"update": "Update",
|
||||||
"uptime": "Uptime",
|
"uptime": "Uptime",
|
||||||
|
"uptimeAdvancedMatching": {
|
||||||
|
"jsonPath": "JSON Path"
|
||||||
|
},
|
||||||
"uptimeCreate": "The expected value is used to match against response result, and the match determines the status.",
|
"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",
|
"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.",
|
"uptimeCreateJsonPathQuery": "for query language documentation.",
|
||||||
|
|||||||
Reference in new issue
Block a user