update strings

This commit is contained in:
Alex Holliday committed 2026-01-30 20:38:05 +00:00
1 parent f685c9cd5d
commit 443ad46fa7
2 files changed
+14 -11

No files matched your search

+11 -11
View File
@@ -13,7 +13,6 @@ import Typography from "@mui/material/Typography";
import Link from "@mui/material/Link"; import Link from "@mui/material/Link";
import Divider from "@mui/material/Divider"; import Divider from "@mui/material/Divider";
import IconButton from "@mui/material/IconButton"; import IconButton from "@mui/material/IconButton";
import FormControlLabel from "@mui/material/FormControlLabel";
import { Trash2 } from "lucide-react"; import { Trash2 } from "lucide-react";
import { BasePage, ConfigBox } from "@/Components/v2/design-elements"; import { BasePage, ConfigBox } from "@/Components/v2/design-elements";
@@ -25,7 +24,6 @@ import {
Autocomplete, Autocomplete,
SwitchComponent as Switch, SwitchComponent as Switch,
SliderWithLabel, SliderWithLabel,
Checkbox,
} from "@/Components/v2/inputs"; } from "@/Components/v2/inputs";
import { useGet, usePost, usePatch } from "@/Hooks/UseApi"; import { useGet, usePost, usePatch } from "@/Hooks/UseApi";
import { useMonitorForm } from "@/Hooks/useMonitorForm"; import { useMonitorForm } from "@/Hooks/useMonitorForm";
@@ -555,15 +553,17 @@ const CreateMonitorPage = () => {
name="useAdvancedMatching" name="useAdvancedMatching"
control={control} control={control}
render={({ field }) => ( render={({ field }) => (
<FormControlLabel <Stack
control={ direction="row"
<Checkbox alignItems="center"
checked={field.value ?? false} spacing={theme.spacing(2)}
onChange={(e) => field.onChange(e.target.checked)} >
/> <Switch
} checked={field.value ?? false}
label={t("advancedMatching")} onChange={(e) => field.onChange(e.target.checked)}
/> />
<Typography>{t("pages.createMonitor.form.advanced.option.advancedMatching.label")}</Typography>
</Stack>
)} )}
/> />
{watchedUseAdvancedMatching && ( {watchedUseAdvancedMatching && (
+3
View File
@@ -315,6 +315,9 @@
"title": "Advanced settings", "title": "Advanced settings",
"description": "Optional settings for advanced use cases", "description": "Optional settings for advanced use cases",
"option": { "option": {
"advancedMatching": {
"label": "Use advanced matching"
},
"matchMethod": { "matchMethod": {
"label": "Match method" "label": "Match method"
}, },