Merge pull request #1889 from Br0wnHammer/feat/migrate-hardcoded-strings
Feat: Migrate Hardcoded Strings in Auth and About
This commit is contained in:
18 files changed
+133
-63
No files matched your search
@@ -1,12 +1,15 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import AppBar from '../../Components/Common/AppBar';
|
import AppBar from '../../Components/Common/AppBar';
|
||||||
import Footer from '../../Components/Common/Footer';
|
import Footer from '../../Components/Common/Footer';
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const AboutUs = () => {
|
const AboutUs = () => {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<AppBar />
|
<AppBar />
|
||||||
<h1>About Us</h1>
|
<h1>{t("aboutus")}</h1>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { useDispatch } from "react-redux";
|
|||||||
import { useNavigate } from "react-router";
|
import { useNavigate } from "react-router";
|
||||||
import { createToast } from "../../Utils/toastUtils";
|
import { createToast } from "../../Utils/toastUtils";
|
||||||
import { forgotPassword } from "../../Features/Auth/authSlice";
|
import { forgotPassword } from "../../Features/Auth/authSlice";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
import Background from "../../assets/Images/background-grid.svg?react";
|
import Background from "../../assets/Images/background-grid.svg?react";
|
||||||
import EmailIcon from "../../assets/icons/email.svg?react";
|
import EmailIcon from "../../assets/icons/email.svg?react";
|
||||||
import Logo from "../../assets/icons/checkmate-icon.svg?react";
|
import Logo from "../../assets/icons/checkmate-icon.svg?react";
|
||||||
@@ -15,6 +16,7 @@ const CheckEmail = () => {
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const [email, setEmail] = useState();
|
const [email, setEmail] = useState();
|
||||||
const [disabled, setDisabled] = useState(false);
|
const [disabled, setDisabled] = useState(false);
|
||||||
@@ -161,9 +163,9 @@ const CheckEmail = () => {
|
|||||||
<EmailIcon alt="email icon" />
|
<EmailIcon alt="email icon" />
|
||||||
</IconBox>
|
</IconBox>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography component="h1">Check your email</Typography>
|
<Typography component="h1">{t("authCheckEmailTitle")}</Typography>
|
||||||
<Typography>
|
<Typography>
|
||||||
We sent a password reset link to{" "}
|
{t("authCheckEmailDescription")}{" "}
|
||||||
<Typography
|
<Typography
|
||||||
className="email-sent-to"
|
className="email-sent-to"
|
||||||
component="span"
|
component="span"
|
||||||
@@ -181,22 +183,22 @@ const CheckEmail = () => {
|
|||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Open email app
|
{t("authCheckEmailOpenEmailButton")}
|
||||||
</Button>
|
</Button>
|
||||||
<Typography sx={{ alignSelf: "center", mt: theme.spacing(6) }}>
|
<Typography sx={{ alignSelf: "center", mt: theme.spacing(6) }}>
|
||||||
Didn't receive the email?{" "}
|
{t("authCheckEmailDidntReceiveEmail")}{" "}
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
onClick={resendToken}
|
onClick={resendToken}
|
||||||
sx={{
|
sx={{
|
||||||
color: theme.palette.primary.main,
|
color: theme.palette.accent.main,
|
||||||
userSelect: "none",
|
userSelect: "none",
|
||||||
pointerEvents: disabled ? "none" : "auto",
|
pointerEvents: disabled ? "none" : "auto",
|
||||||
cursor: disabled ? "default" : "pointer",
|
cursor: disabled ? "default" : "pointer",
|
||||||
opacity: disabled ? 0.5 : 1,
|
opacity: disabled ? 0.5 : 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Click to resend
|
{t("authCheckEmailClickToResend")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
@@ -205,15 +207,15 @@ const CheckEmail = () => {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
p={theme.spacing(12)}
|
p={theme.spacing(12)}
|
||||||
>
|
>
|
||||||
<Typography display="inline-block">Go back to —</Typography>
|
<Typography display="inline-block">{t("goBackTo")}</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
ml={theme.spacing(2)}
|
ml={theme.spacing(2)}
|
||||||
color={theme.palette.primary.main}
|
color={theme.palette.accent.main}
|
||||||
onClick={handleNavigate}
|
onClick={handleNavigate}
|
||||||
sx={{ userSelect: "none" }}
|
sx={{ userSelect: "none" }}
|
||||||
>
|
>
|
||||||
Log In
|
{t("authLoginTitle")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import Logo from "../../assets/icons/checkmate-icon.svg?react";
|
|||||||
import Key from "../../assets/icons/key.svg?react";
|
import Key from "../../assets/icons/key.svg?react";
|
||||||
import Background from "../../assets/Images/background-grid.svg?react";
|
import Background from "../../assets/Images/background-grid.svg?react";
|
||||||
import IconBox from "../../Components/IconBox";
|
import IconBox from "../../Components/IconBox";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
|
|
||||||
const ForgotPassword = () => {
|
const ForgotPassword = () => {
|
||||||
@@ -29,6 +30,8 @@ const ForgotPassword = () => {
|
|||||||
email && setForm({ email: sessionStorage.getItem("email") });
|
email && setForm({ email: sessionStorage.getItem("email") });
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const handleSubmit = async (event) => {
|
const handleSubmit = async (event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
@@ -162,7 +165,7 @@ const ForgotPassword = () => {
|
|||||||
<Key alt="password key icon" />
|
<Key alt="password key icon" />
|
||||||
</IconBox>
|
</IconBox>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography component="h1">Forgot password?</Typography>
|
<Typography component="h1">{t("authForgotPasswordTitle")}</Typography>
|
||||||
<Typography>No worries, we'll send you reset instructions.</Typography>
|
<Typography>No worries, we'll send you reset instructions.</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box
|
||||||
@@ -195,7 +198,7 @@ const ForgotPassword = () => {
|
|||||||
mt: theme.spacing(15),
|
mt: theme.spacing(15),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Send instructions
|
{t("continue")}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
@@ -204,15 +207,15 @@ const ForgotPassword = () => {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
p={theme.spacing(12)}
|
p={theme.spacing(12)}
|
||||||
>
|
>
|
||||||
<Typography display="inline-block">Go back to —</Typography>
|
<Typography display="inline-block">{t("goBackTo")}</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
color={theme.palette.primary.main}
|
color={theme.palette.accent.main}
|
||||||
ml={theme.spacing(2)}
|
ml={theme.spacing(2)}
|
||||||
onClick={handleNavigate}
|
onClick={handleNavigate}
|
||||||
sx={{ userSelect: "none" }}
|
sx={{ userSelect: "none" }}
|
||||||
>
|
>
|
||||||
Log In
|
{t("authLoginTitle")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -8,12 +8,14 @@ import Background from "../../assets/Images/background-grid.svg?react";
|
|||||||
import ConfirmIcon from "../../assets/icons/check-outlined.svg?react";
|
import ConfirmIcon from "../../assets/icons/check-outlined.svg?react";
|
||||||
import Logo from "../../assets/icons/checkmate-icon.svg?react";
|
import Logo from "../../assets/icons/checkmate-icon.svg?react";
|
||||||
import IconBox from "../../Components/IconBox";
|
import IconBox from "../../Components/IconBox";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
|
|
||||||
const NewPasswordConfirmed = () => {
|
const NewPasswordConfirmed = () => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const handleNavigate = () => {
|
const handleNavigate = () => {
|
||||||
dispatch(clearAuthState());
|
dispatch(clearAuthState());
|
||||||
@@ -97,9 +99,9 @@ const NewPasswordConfirmed = () => {
|
|||||||
<ConfirmIcon alt="password confirm icon" />
|
<ConfirmIcon alt="password confirm icon" />
|
||||||
</IconBox>
|
</IconBox>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography component="h1">Password reset</Typography>
|
<Typography component="h1">{t("passwordreset")}</Typography>
|
||||||
<Typography mb={theme.spacing(2)}>
|
<Typography mb={theme.spacing(2)}>
|
||||||
Your password has been successfully reset. Click below to log in magically.
|
{t("authNewPasswordConfirmed")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Button
|
<Button
|
||||||
@@ -110,7 +112,7 @@ const NewPasswordConfirmed = () => {
|
|||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Continue
|
{t("continue")}
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
@@ -118,15 +120,15 @@ const NewPasswordConfirmed = () => {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
p={theme.spacing(12)}
|
p={theme.spacing(12)}
|
||||||
>
|
>
|
||||||
<Typography display="inline-block">Go back to —</Typography>
|
<Typography display="inline-block">{t("goBackTo")}</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
color={theme.palette.primary.main}
|
color={theme.palette.accent.main}
|
||||||
ml={theme.spacing(2)}
|
ml={theme.spacing(2)}
|
||||||
onClick={handleNavigate}
|
onClick={handleNavigate}
|
||||||
sx={{ userSelect: "none" }}
|
sx={{ userSelect: "none" }}
|
||||||
>
|
>
|
||||||
Log In
|
{t("authLoginTitle")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h1">Sign Up</Typography>
|
<Typography component="h1">{t("signUP")}</Typography>
|
||||||
<Typography>
|
<Typography>
|
||||||
{isSuperAdmin
|
{isSuperAdmin
|
||||||
? t("authRegisterCreateSuperAdminAccount")
|
? t("authRegisterCreateSuperAdminAccount")
|
||||||
@@ -67,7 +67,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
|
|||||||
</Box>
|
</Box>
|
||||||
<Box maxWidth={400}>
|
<Box maxWidth={400}>
|
||||||
<Typography className="tos-p">
|
<Typography className="tos-p">
|
||||||
{t("authRegisterBySigningUp")}
|
{t("authRegisterBySigningUp")}{" "}
|
||||||
<Typography
|
<Typography
|
||||||
component="span"
|
component="span"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { useTheme } from "@emotion/react";
|
|||||||
import { Box, Button, Stack, Typography } from "@mui/material";
|
import { Box, Button, Stack, Typography } from "@mui/material";
|
||||||
import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";
|
import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";
|
||||||
import TextInput from "../../../../Components/Inputs/TextInput";
|
import TextInput from "../../../../Components/Inputs/TextInput";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
StepOne.propTypes = {
|
StepOne.propTypes = {
|
||||||
form: PropTypes.object,
|
form: PropTypes.object,
|
||||||
@@ -28,6 +29,7 @@ StepOne.propTypes = {
|
|||||||
function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const inputRef = useRef(null);
|
const inputRef = useRef(null);
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (inputRef.current) {
|
if (inputRef.current) {
|
||||||
@@ -43,8 +45,8 @@ function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h1">Sign Up</Typography>
|
<Typography component="h1">{t("signUp")}</Typography>
|
||||||
<Typography>Enter your personal details</Typography>
|
<Typography>{t("authRegisterStepOnePersonalDetails")}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
@@ -107,7 +109,7 @@ function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ArrowBackRoundedIcon />
|
<ArrowBackRoundedIcon />
|
||||||
Back
|
{t("commonBack")}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
@@ -123,7 +125,7 @@ function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Continue
|
{t("continue")}
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { monitorValidation } from "../../../Validation/validation";
|
|||||||
import { useParams } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
import { useCreateDistributedUptimeMonitor } from "./Hooks/useCreateDistributedUptimeMonitor";
|
import { useCreateDistributedUptimeMonitor } from "./Hooks/useCreateDistributedUptimeMonitor";
|
||||||
import { useMonitorFetch } from "./Hooks/useMonitorFetch";
|
import { useMonitorFetch } from "./Hooks/useMonitorFetch";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
const MS_PER_MINUTE = 60000;
|
const MS_PER_MINUTE = 60000;
|
||||||
@@ -41,6 +42,7 @@ const parseUrl = (url) => {
|
|||||||
const CreateDistributedUptime = () => {
|
const CreateDistributedUptime = () => {
|
||||||
const { monitorId } = useParams();
|
const { monitorId } = useParams();
|
||||||
const isCreate = typeof monitorId === "undefined";
|
const isCreate = typeof monitorId === "undefined";
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
let BREADCRUMBS = [
|
let BREADCRUMBS = [
|
||||||
{ name: `distributed uptime`, path: "/distributed-uptime" },
|
{ name: `distributed uptime`, path: "/distributed-uptime" },
|
||||||
@@ -191,14 +193,14 @@ const CreateDistributedUptime = () => {
|
|||||||
fontSize="inherit"
|
fontSize="inherit"
|
||||||
fontWeight="inherit"
|
fontWeight="inherit"
|
||||||
>
|
>
|
||||||
monitor
|
{t("monitor")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Typography>
|
</Typography>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h2">General settings</Typography>
|
<Typography component="h2">{t("settingsGeneralSettings")}</Typography>
|
||||||
<Typography component="p">
|
<Typography component="p">
|
||||||
Here you can select the URL of the host, together with the type of monitor.
|
{t("distributedUptimeCreateSelectURL")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.spacing(15)}>
|
<Stack gap={theme.spacing(15)}>
|
||||||
@@ -232,9 +234,9 @@ const CreateDistributedUptime = () => {
|
|||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h2">Checks to perform</Typography>
|
<Typography component="h2">{t("distributedUptimeCreateChecks")}</Typography>
|
||||||
<Typography component="p">
|
<Typography component="p">
|
||||||
You can always add or remove checks after adding your site.
|
{t("distributedUptimeCreateChecksDescription")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.spacing(12)}>
|
<Stack gap={theme.spacing(12)}>
|
||||||
@@ -259,14 +261,14 @@ const CreateDistributedUptime = () => {
|
|||||||
filled={https.toString()}
|
filled={https.toString()}
|
||||||
onClick={() => setHttps(true)}
|
onClick={() => setHttps(true)}
|
||||||
>
|
>
|
||||||
HTTPS
|
{t("https")}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="group"
|
variant="group"
|
||||||
filled={(!https).toString()}
|
filled={(!https).toString()}
|
||||||
onClick={() => setHttps(false)}
|
onClick={() => setHttps(false)}
|
||||||
>
|
>
|
||||||
HTTP
|
{t("http")}
|
||||||
</Button>
|
</Button>
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
) : (
|
) : (
|
||||||
@@ -291,9 +293,9 @@ const CreateDistributedUptime = () => {
|
|||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h2">Incident notifications</Typography>
|
<Typography component="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography>
|
||||||
<Typography component="p">
|
<Typography component="p">
|
||||||
When there is an incident, notify users.
|
{t("distributedUptimeCreateIncidentDescription")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.spacing(6)}>
|
<Stack gap={theme.spacing(6)}>
|
||||||
@@ -310,7 +312,7 @@ const CreateDistributedUptime = () => {
|
|||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h2">Advanced settings</Typography>
|
<Typography component="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.spacing(12)}>
|
<Stack gap={theme.spacing(12)}>
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import SmartToyIcon from "@mui/icons-material/SmartToy";
|
|||||||
import Dot from "../../../../../Components/Dot";
|
import Dot from "../../../../../Components/Dot";
|
||||||
// Utils
|
// Utils
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const MESSAGES = [
|
const MESSAGES = [
|
||||||
"I've checked the network status, and we're seeing excellent performance across all regions.",
|
"I've checked the network status, and we're seeing excellent performance across all regions.",
|
||||||
@@ -16,6 +17,7 @@ const MESSAGES = [
|
|||||||
|
|
||||||
const ChatBot = ({ sx }) => {
|
const ChatBot = ({ sx }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<ColContainer
|
<ColContainer
|
||||||
backgroundColor={theme.palette.chatbot.background}
|
backgroundColor={theme.palette.chatbot.background}
|
||||||
@@ -37,7 +39,7 @@ const ChatBot = ({ sx }) => {
|
|||||||
color={theme.palette.chatbot.textAccent}
|
color={theme.palette.chatbot.textAccent}
|
||||||
sx={{ opacity: 0.4 }}
|
sx={{ opacity: 0.4 }}
|
||||||
>
|
>
|
||||||
Now
|
{t("now")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography>{MESSAGES[Math.floor(Math.random() * MESSAGES.length)]}</Typography>
|
<Typography>{MESSAGES[Math.floor(Math.random() * MESSAGES.length)]}</Typography>
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
// Components
|
// Components
|
||||||
import { Box, Stack, Typography, Button } from "@mui/material";
|
import { Box, Stack, Button } from "@mui/material";
|
||||||
import Image from "../../../../../Components/Image";
|
import Image from "../../../../../Components/Image";
|
||||||
import SettingsIcon from "../../../../../assets/icons/settings-bold.svg?react";
|
import SettingsIcon from "../../../../../assets/icons/settings-bold.svg?react";
|
||||||
|
|
||||||
//Utils
|
//Utils
|
||||||
import { useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { useLocation } from "react-router-dom";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, monitorId }) => {
|
const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, monitorId }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
@@ -25,7 +26,7 @@ const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, monitorId }) => {
|
|||||||
onClick={() => setIsDeleteOpen(!isDeleteOpen)}
|
onClick={() => setIsDeleteOpen(!isDeleteOpen)}
|
||||||
loading={isDeleting}
|
loading={isDeleting}
|
||||||
>
|
>
|
||||||
Delete
|
{t("delete")}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
<Box>
|
<Box>
|
||||||
@@ -45,7 +46,7 @@ const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, monitorId }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<SettingsIcon /> Configure
|
<SettingsIcon /> {t("configure")}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -6,9 +6,11 @@ import { ColContainer } from "../../../../../Components/StandardContainer";
|
|||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const DeviceTicker = ({ data, width = "100%", connectionStatus }) => {
|
const DeviceTicker = ({ data, width = "100%", connectionStatus }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
const statusColor = {
|
const statusColor = {
|
||||||
up: theme.palette.success.main,
|
up: theme.palette.success.main,
|
||||||
down: theme.palette.error.main,
|
down: theme.palette.error.main,
|
||||||
@@ -44,13 +46,13 @@ const DeviceTicker = ({ data, width = "100%", connectionStatus }) => {
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style={{ textAlign: "left", paddingLeft: theme.spacing(4) }}>
|
<th style={{ textAlign: "left", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography>COUNTRY</Typography>
|
<Typography>{t("country")}</Typography>
|
||||||
</th>
|
</th>
|
||||||
<th style={{ textAlign: "left", paddingLeft: theme.spacing(4) }}>
|
<th style={{ textAlign: "left", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography>CITY</Typography>
|
<Typography>{t("city")}</Typography>
|
||||||
</th>
|
</th>
|
||||||
<th style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
<th style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography>RESPONSE</Typography>
|
<Typography>{t("response")}</Typography>
|
||||||
</th>
|
</th>
|
||||||
<th style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
<th style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography sx={{ whiteSpace: "nowrap" }}>{"UPT BURNED"}</Typography>
|
<Typography sx={{ whiteSpace: "nowrap" }}>{"UPT BURNED"}</Typography>
|
||||||
@@ -74,7 +76,7 @@ const DeviceTicker = ({ data, width = "100%", connectionStatus }) => {
|
|||||||
<Typography>{city}</Typography>
|
<Typography>{city}</Typography>
|
||||||
</td>
|
</td>
|
||||||
<td style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
<td style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography>{Math.floor(dataPoint.responseTime)} ms</Typography>
|
<Typography>{Math.floor(dataPoint.responseTime)} {t("ms")}</Typography>
|
||||||
</td>
|
</td>
|
||||||
<td style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
<td style={{ textAlign: "right", paddingLeft: theme.spacing(4) }}>
|
||||||
<Typography color={theme.palette.warning.main}>
|
<Typography color={theme.palette.warning.main}>
|
||||||
|
|||||||
+5
-2
@@ -4,9 +4,12 @@ import { formatDateWithTz } from "../../../../../../Utils/timeUtils";
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
import AccessTimeIcon from "@mui/icons-material/AccessTime";
|
import AccessTimeIcon from "@mui/icons-material/AccessTime";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const CustomToolTip = ({ active, payload, label }) => {
|
const CustomToolTip = ({ active, payload, label }) => {
|
||||||
const uiTimezone = useSelector((state) => state.ui.timezone);
|
const uiTimezone = useSelector((state) => state.ui.timezone);
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
if (active && payload && payload.length) {
|
if (active && payload && payload.length) {
|
||||||
const responseTime = payload[0]?.payload?.originalAvgResponseTime
|
const responseTime = payload[0]?.payload?.originalAvgResponseTime
|
||||||
? payload[0]?.payload?.originalAvgResponseTime
|
? payload[0]?.payload?.originalAvgResponseTime
|
||||||
@@ -51,7 +54,7 @@ const CustomToolTip = ({ active, payload, label }) => {
|
|||||||
component="span"
|
component="span"
|
||||||
sx={{ opacity: 0.8 }}
|
sx={{ opacity: 0.8 }}
|
||||||
>
|
>
|
||||||
Response time:
|
{t("responseTime")}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography component="span">
|
<Typography component="span">
|
||||||
{Math.floor(responseTime)}
|
{Math.floor(responseTime)}
|
||||||
@@ -59,7 +62,7 @@ const CustomToolTip = ({ active, payload, label }) => {
|
|||||||
component="span"
|
component="span"
|
||||||
sx={{ opacity: 0.8 }}
|
sx={{ opacity: 0.8 }}
|
||||||
>
|
>
|
||||||
ms
|
{t("ms")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
+5
-2
@@ -8,8 +8,11 @@ import ResponseTimeIcon from "../../../../../assets/icons/response-time-icon.svg
|
|||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const DistributedUptimeResponseChart = ({ checks }) => {
|
const DistributedUptimeResponseChart = ({ checks }) => {
|
||||||
const [chartType, setChartType] = useState("bar");
|
const [chartType, setChartType] = useState("bar");
|
||||||
|
const { t } = useTranslation();
|
||||||
let Chart = null;
|
let Chart = null;
|
||||||
if (chartType === "area") {
|
if (chartType === "area") {
|
||||||
Chart = DistributedUptimeResponseAreaChart;
|
Chart = DistributedUptimeResponseAreaChart;
|
||||||
@@ -23,13 +26,13 @@ const DistributedUptimeResponseChart = ({ checks }) => {
|
|||||||
direction="row"
|
direction="row"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Typography>Bar</Typography>
|
<Typography>{t("bar")}</Typography>
|
||||||
<Switch
|
<Switch
|
||||||
color="main"
|
color="main"
|
||||||
value={chartType}
|
value={chartType}
|
||||||
onChange={(e) => setChartType(e.target.checked ? "area" : "bar")}
|
onChange={(e) => setChartType(e.target.checked ? "area" : "bar")}
|
||||||
/>
|
/>
|
||||||
<Typography>Area</Typography>
|
<Typography>{t("area")}</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<ChartBox
|
<ChartBox
|
||||||
icon={<ResponseTimeIcon />}
|
icon={<ResponseTimeIcon />}
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
import { Stack, Typography, Box } from "@mui/material";
|
import { Stack, Typography, Box } from "@mui/material";
|
||||||
import SolanaLogo from "../../../../../assets/icons/solana_logo.svg?react";
|
import SolanaLogo from "../../../../../assets/icons/solana_logo.svg?react";
|
||||||
import { useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
justifyContent="space-between"
|
justifyContent="space-between"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
spacing={2}
|
spacing={2}
|
||||||
>
|
>
|
||||||
<Typography variant="h2">Made with ❤️ by UpRock & Bluewave Labs</Typography>
|
<Typography variant="h2">{t("distributedUptimeDetailsFooterHeading")}</Typography>
|
||||||
<Stack
|
<Stack
|
||||||
width="100%"
|
width="100%"
|
||||||
direction="row"
|
direction="row"
|
||||||
@@ -17,12 +20,12 @@ const Footer = () => {
|
|||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Typography variant="h2">Built on</Typography>
|
<Typography variant="h2">{t("distributedUptimeDetailsFooterBuilt")}</Typography>
|
||||||
<SolanaLogo
|
<SolanaLogo
|
||||||
width={15}
|
width={15}
|
||||||
height={15}
|
height={15}
|
||||||
/>
|
/>
|
||||||
<Typography variant="h2">Solana</Typography>
|
<Typography variant="h2">{t("distributedUptimeDetailsFooterSolana")}</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
import { Stack, Typography } from "@mui/material";
|
import { Stack, Typography } from "@mui/material";
|
||||||
import { useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const MonitorHeader = ({ monitor }) => {
|
const MonitorHeader = ({ monitor }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<Stack direction="row">
|
<Stack direction="row">
|
||||||
<Stack gap={theme.spacing(2)}>
|
<Stack gap={theme.spacing(2)}>
|
||||||
<Typography variant="h1">{monitor.name}</Typography>
|
<Typography variant="h1">{monitor.name}</Typography>
|
||||||
<Typography variant="h2">
|
<Typography variant="h2">
|
||||||
Distributed Uptime Monitoring powered by DePIN
|
{t("distributedUptimeDetailsMonitorHeader")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -9,9 +9,11 @@ import ShareComponent from "../../../../../Components/ShareComponent";
|
|||||||
// Utils
|
// Utils
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const StatusHeader = ({ monitor, connectionStatus, elementToCapture }) => {
|
const StatusHeader = ({ monitor, connectionStatus, elementToCapture }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
const { t } = useTranslation();
|
||||||
const COLOR_MAP = {
|
const COLOR_MAP = {
|
||||||
up: theme.palette.successSecondary.main,
|
up: theme.palette.successSecondary.main,
|
||||||
down: theme.palette.error.lowContrast,
|
down: theme.palette.error.lowContrast,
|
||||||
@@ -59,14 +61,14 @@ const StatusHeader = ({ monitor, connectionStatus, elementToCapture }) => {
|
|||||||
backgroundColor={theme.palette.successSecondary.lowContrast}
|
backgroundColor={theme.palette.successSecondary.lowContrast}
|
||||||
color={theme.palette.success.lowContrast}
|
color={theme.palette.success.lowContrast}
|
||||||
>
|
>
|
||||||
Uptime: {(monitor.uptimePercentage * 100).toFixed(2)}%
|
{t("distributedUptimeDetailsStatusHeaderUptime")} {(monitor.totalUptime * 100).toFixed(2)}%
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Typography
|
<Typography
|
||||||
variant="body2"
|
variant="body2"
|
||||||
color={theme.palette.success.lowContrast}
|
color={theme.palette.success.lowContrast}
|
||||||
>
|
>
|
||||||
Last updated{" "}
|
{t("distributedUptimeDetailsStatusHeaderLastUpdate")}{" "}
|
||||||
<LastUpdate
|
<LastUpdate
|
||||||
suffix={"seconds ago"}
|
suffix={"seconds ago"}
|
||||||
lastUpdateTime={monitor?.timeSinceLastCheck}
|
lastUpdateTime={monitor?.timeSinceLastCheck}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import { useIsAdmin } from "../../../Hooks/useIsAdmin";
|
|||||||
import { useSubscribeToDetails } from "./Hooks/useSubscribeToDetails";
|
import { useSubscribeToDetails } from "./Hooks/useSubscribeToDetails";
|
||||||
import { useDeleteMonitor } from "./Hooks/useDeleteMonitor";
|
import { useDeleteMonitor } from "./Hooks/useDeleteMonitor";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const DistributedUptimeDetails = () => {
|
const DistributedUptimeDetails = () => {
|
||||||
const { monitorId } = useParams();
|
const { monitorId } = useParams();
|
||||||
@@ -32,6 +33,7 @@ const DistributedUptimeDetails = () => {
|
|||||||
// Utils
|
// Utils
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const isAdmin = useIsAdmin();
|
const isAdmin = useIsAdmin();
|
||||||
|
const { t } = useTranslation();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const [isLoading, networkError, connectionStatus, monitor, lastUpdateTrigger] =
|
const [isLoading, networkError, connectionStatus, monitor, lastUpdateTrigger] =
|
||||||
useSubscribeToDetails({ monitorId, dateRange });
|
useSubscribeToDetails({ monitorId, dateRange });
|
||||||
@@ -55,9 +57,9 @@ const DistributedUptimeDetails = () => {
|
|||||||
marginY={theme.spacing(4)}
|
marginY={theme.spacing(4)}
|
||||||
color={theme.palette.primary.contrastTextTertiary}
|
color={theme.palette.primary.contrastTextTertiary}
|
||||||
>
|
>
|
||||||
Network error
|
{t("networkError")}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography>Please check your connection</Typography>
|
<Typography>{t("checkConnection")}</Typography>
|
||||||
</GenericFallback>
|
</GenericFallback>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -70,7 +72,7 @@ const DistributedUptimeDetails = () => {
|
|||||||
<Stack gap={theme.spacing(10)}>
|
<Stack gap={theme.spacing(10)}>
|
||||||
<Breadcrumbs list={BREADCRUMBS} />
|
<Breadcrumbs list={BREADCRUMBS} />
|
||||||
<GenericFallback>
|
<GenericFallback>
|
||||||
<Typography>There is no check history for this monitor yet.</Typography>
|
<Typography>{t("distributedUptimeDetailsNoMonitorHistory")}</Typography>
|
||||||
</GenericFallback>
|
</GenericFallback>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { useTheme } from "@mui/material/styles";
|
|||||||
import { useIsAdmin } from "../../../Hooks/useIsAdmin";
|
import { useIsAdmin } from "../../../Hooks/useIsAdmin";
|
||||||
import { useSubscribeToMonitors } from "./Hooks/useSubscribeToMonitors";
|
import { useSubscribeToMonitors } from "./Hooks/useSubscribeToMonitors";
|
||||||
import SkeletonLayout from "./Components/Skeleton";
|
import SkeletonLayout from "./Components/Skeleton";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
// Constants
|
// Constants
|
||||||
const BREADCRUMBS = [{ name: `Distributed Uptime`, path: "/distributed-uptime" }];
|
const BREADCRUMBS = [{ name: `Distributed Uptime`, path: "/distributed-uptime" }];
|
||||||
|
|
||||||
@@ -24,6 +25,7 @@ const DistributedUptimeMonitors = () => {
|
|||||||
// Utils
|
// Utils
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const isAdmin = useIsAdmin();
|
const isAdmin = useIsAdmin();
|
||||||
|
const { t } = useTranslation();
|
||||||
const [isLoading, networkError, monitors, monitorsSummary, filteredMonitors] =
|
const [isLoading, networkError, monitors, monitorsSummary, filteredMonitors] =
|
||||||
useSubscribeToMonitors(page, rowsPerPage);
|
useSubscribeToMonitors(page, rowsPerPage);
|
||||||
// Handlers
|
// Handlers
|
||||||
@@ -48,9 +50,9 @@ const DistributedUptimeMonitors = () => {
|
|||||||
marginY={theme.spacing(4)}
|
marginY={theme.spacing(4)}
|
||||||
color={theme.palette.primary.contrastTextTertiary}
|
color={theme.palette.primary.contrastTextTertiary}
|
||||||
>
|
>
|
||||||
Network error
|
{t("networkError")}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography>Please check your connection</Typography>
|
<Typography>{t("checkConnection")}</Typography>
|
||||||
</GenericFallback>
|
</GenericFallback>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
+35
-1
@@ -1,12 +1,29 @@
|
|||||||
{
|
{
|
||||||
"dontHaveAccount": "Don't have account",
|
"dontHaveAccount": "Don't have account",
|
||||||
|
"https": "HTTPS",
|
||||||
|
"http": "HTTP",
|
||||||
|
"monitor": "monitor",
|
||||||
|
"aboutus": "About Us",
|
||||||
"email": "E-mail",
|
"email": "E-mail",
|
||||||
"forgotPassword": "Forgot Password",
|
"forgotPassword": "Forgot Password",
|
||||||
"password": "password",
|
"password": "password",
|
||||||
"signUp": "Sign up",
|
"signUp": "Sign up",
|
||||||
|
"signUP": "Sign Up",
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"continue": "Continue",
|
"continue": "Continue",
|
||||||
|
"now": "Now",
|
||||||
|
"delete": "Delete",
|
||||||
|
"configure": "Configure",
|
||||||
|
"networkError": "Network error",
|
||||||
|
"responseTime": "Response time:",
|
||||||
|
"ms": "ms",
|
||||||
|
"bar": "Bar",
|
||||||
|
"area": "Area",
|
||||||
|
"country": "COUNTRY",
|
||||||
|
"city": "CITY",
|
||||||
|
"response": "RESPONSE",
|
||||||
|
"checkConnection": "Please check your connection",
|
||||||
"enterEmail": "Enter your email",
|
"enterEmail": "Enter your email",
|
||||||
"authLoginTitle": "Log In",
|
"authLoginTitle": "Log In",
|
||||||
"authLoginEnterPassword": "Enter your password",
|
"authLoginEnterPassword": "Enter your password",
|
||||||
@@ -16,11 +33,13 @@
|
|||||||
"commonBack": "Back",
|
"commonBack": "Back",
|
||||||
"authForgotPasswordTitle": "Forgot password?",
|
"authForgotPasswordTitle": "Forgot password?",
|
||||||
"authForgotPasswordResetPassword": "Reset password",
|
"authForgotPasswordResetPassword": "Reset password",
|
||||||
|
"passwordreset": "Password Reset",
|
||||||
"authRegisterAlreadyHaveAccount": "Already have an account?",
|
"authRegisterAlreadyHaveAccount": "Already have an account?",
|
||||||
"commonAppName": "Checkmate",
|
"commonAppName": "Checkmate",
|
||||||
"authLoginEnterEmail": "Enter your email",
|
"authLoginEnterEmail": "Enter your email",
|
||||||
"authRegisterTitle": "Create an account",
|
"authRegisterTitle": "Create an account",
|
||||||
"authRegisterStepOneTitle": "Create your account",
|
"authRegisterStepOneTitle": "Create your account",
|
||||||
|
"authRegisterStepOnePersonalDetails": "Enter your personal details",
|
||||||
"authRegisterStepOneDescription": "Enter your details to get started",
|
"authRegisterStepOneDescription": "Enter your details to get started",
|
||||||
"authRegisterStepTwoTitle": "Set up your profile",
|
"authRegisterStepTwoTitle": "Set up your profile",
|
||||||
"authRegisterStepTwoDescription": "Tell us more about yourself",
|
"authRegisterStepTwoDescription": "Tell us more about yourself",
|
||||||
@@ -30,9 +49,10 @@
|
|||||||
"authForgotPasswordSendInstructions": "Send instructions",
|
"authForgotPasswordSendInstructions": "Send instructions",
|
||||||
"authForgotPasswordBackTo": "Back to",
|
"authForgotPasswordBackTo": "Back to",
|
||||||
"authCheckEmailTitle": "Check your email",
|
"authCheckEmailTitle": "Check your email",
|
||||||
"authCheckEmailDescription": "We sent a password reset link to {{email}}",
|
"authCheckEmailDescription": "We sent a password reset link to",
|
||||||
"authCheckEmailResendEmail": "Resend email",
|
"authCheckEmailResendEmail": "Resend email",
|
||||||
"authCheckEmailBackTo": "Back to",
|
"authCheckEmailBackTo": "Back to",
|
||||||
|
"authCheckEmailOpenEmailButton": "Open email app",
|
||||||
"goBackTo": "Go back to",
|
"goBackTo": "Go back to",
|
||||||
"authCheckEmailDidntReceiveEmail": "Didn't receive the email?",
|
"authCheckEmailDidntReceiveEmail": "Didn't receive the email?",
|
||||||
"authCheckEmailClickToResend": "Click to resend",
|
"authCheckEmailClickToResend": "Click to resend",
|
||||||
@@ -42,6 +62,7 @@
|
|||||||
"authSetNewPasswordConfirmPassword": "Confirm password",
|
"authSetNewPasswordConfirmPassword": "Confirm password",
|
||||||
"confirmPassword": "Confirm your password",
|
"confirmPassword": "Confirm your password",
|
||||||
"authSetNewPasswordResetPassword": "Reset password",
|
"authSetNewPasswordResetPassword": "Reset password",
|
||||||
|
"authNewPasswordConfirmed": "Your password has been successfully reset. Click below to log in magically.",
|
||||||
"authSetNewPasswordBackTo": "Back to",
|
"authSetNewPasswordBackTo": "Back to",
|
||||||
"authPasswordMustBeAtLeast": "Must be at least",
|
"authPasswordMustBeAtLeast": "Must be at least",
|
||||||
"authPasswordCharactersLong": "8 characters long",
|
"authPasswordCharactersLong": "8 characters long",
|
||||||
@@ -66,6 +87,19 @@
|
|||||||
"distributedRightCategoryTitle": "Monitor",
|
"distributedRightCategoryTitle": "Monitor",
|
||||||
"distributedStatusServerMonitors": "Server Monitors",
|
"distributedStatusServerMonitors": "Server Monitors",
|
||||||
"distributedStatusServerMonitorsDescription": "Monitor status of related servers",
|
"distributedStatusServerMonitorsDescription": "Monitor status of related servers",
|
||||||
|
"distributedUptimeCreateSelectURL": "Here you can select the URL of the host, together with the type of monitor.",
|
||||||
|
"distributedUptimeCreateChecks": "Checks to perform",
|
||||||
|
"distributedUptimeCreateChecksDescription": "You can always add or remove checks after adding your site.",
|
||||||
|
"distributedUptimeCreateIncidentNotification": "Incident notifications",
|
||||||
|
"distributedUptimeCreateIncidentDescription": "When there is an incident, notify users.",
|
||||||
|
"distributedUptimeCreateAdvancedSettings": "Advanced settings",
|
||||||
|
"distributedUptimeDetailsNoMonitorHistory": "There is no check history for this monitor yet.",
|
||||||
|
"distributedUptimeDetailsFooterHeading": "Made with ❤️ by UpRock & Bluewave Labs",
|
||||||
|
"distributedUptimeDetailsFooterBuilt": "Built on",
|
||||||
|
"distributedUptimeDetailsFooterSolana": "Solana",
|
||||||
|
"distributedUptimeDetailsMonitorHeader": "Distributed Uptime Monitoring powered by DePIN",
|
||||||
|
"distributedUptimeDetailsStatusHeaderUptime": "Uptime:",
|
||||||
|
"distributedUptimeDetailsStatusHeaderLastUpdate": "Last updated",
|
||||||
|
|
||||||
"settingsGeneralSettings": "General settings",
|
"settingsGeneralSettings": "General settings",
|
||||||
"settingsDisplayTimezone": "Display timezone",
|
"settingsDisplayTimezone": "Display timezone",
|
||||||
|
|||||||
Reference in new issue
Block a user