Skip to content

Commit 338d85a

Browse files
authored
Fix i18n keys (#21814)
1 parent 50ac5a1 commit 338d85a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

web/src/components/settings/wizard/OnvifProbeResults.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export default function OnvifProbeResults({
168168
</span>{" "}
169169
<span className="text-primary-variant">
170170
{probeResult.ptz_supported
171-
? t("yes", { ns: "common" })
172-
: t("no", { ns: "common" })}
171+
? t("button.yes", { ns: "common" })
172+
: t("button.no", { ns: "common" })}
173173
</span>
174174
</div>
175175
)}
@@ -179,7 +179,7 @@ export default function OnvifProbeResults({
179179
{t("cameraWizard.step2.autotrackingSupport")}:
180180
</span>{" "}
181181
<span className="text-primary-variant">
182-
{t("yes", { ns: "common" })}
182+
{t("button.yes", { ns: "common" })}
183183
</span>
184184
</div>
185185
)}

web/src/views/classification/ModelTrainingView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ function LibrarySelector({
621621
<div className="flex justify-end gap-2">
622622
{Object.keys(dataset).length <= 2 ? (
623623
<Button variant="outline" onClick={() => setConfirmDelete(null)}>
624-
{t("button.ok", { ns: "common" })}
624+
{t("button.close", { ns: "common" })}
625625
</Button>
626626
) : (
627627
<>

web/src/views/settings/TriggerView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export default function TriggerView({
599599
date_style: "medium",
600600
},
601601
)
602-
: t("never", { ns: "common" })}
602+
: t("time.never", { ns: "common" })}
603603
</span>
604604
{trigger_status?.triggers[trigger.name]
605605
?.triggering_event_id && (

0 commit comments

Comments
 (0)