mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 20:47:42 +03:00
fix: fix enrichments pages i18n keys wrong
This commit is contained in:
parent
263acc0ba6
commit
d71637327b
@ -150,6 +150,7 @@
|
||||
"embeddings": {
|
||||
"image_embedding_speed": "Image Embedding Speed",
|
||||
"face_embedding_speed": "Face Embedding Speed",
|
||||
"face_recognition_speed": "Face Recognition Speed",
|
||||
"plate_recognition_speed": "Plate Recognition Speed",
|
||||
"text_embedding_speed": "Text Embedding Speed"
|
||||
}
|
||||
|
||||
@ -77,7 +77,10 @@ export default function EnrichmentMetrics({
|
||||
const key = rawKey.replaceAll("_", " ");
|
||||
|
||||
if (!(key in series)) {
|
||||
series[key] = { name: t("features.embeddings." + rawKey), data: [] };
|
||||
series[key] = {
|
||||
name: t("enrichments.embeddings." + rawKey),
|
||||
data: [],
|
||||
};
|
||||
}
|
||||
|
||||
series[key].data.push({ x: statsIdx + 1, y: stat });
|
||||
@ -90,7 +93,7 @@ export default function EnrichmentMetrics({
|
||||
<>
|
||||
<div className="scrollbar-container mt-4 flex size-full flex-col overflow-y-auto">
|
||||
<div className="text-sm font-medium text-muted-foreground">
|
||||
{t("features.title")}
|
||||
{t("enrichments.title")}
|
||||
</div>
|
||||
<div
|
||||
className={cn(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user