mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-05 14:22:52 +03:00
fix missing i18n keys (#18309)
This commit is contained in:
@@ -197,7 +197,7 @@ function ConfigEditor() {
|
||||
listener = (e) => {
|
||||
e.preventDefault();
|
||||
e.returnValue = true;
|
||||
return "Exit without saving?";
|
||||
return t("confirm");
|
||||
};
|
||||
window.addEventListener("beforeunload", listener);
|
||||
}
|
||||
@@ -207,7 +207,7 @@ function ConfigEditor() {
|
||||
window.removeEventListener("beforeunload", listener);
|
||||
}
|
||||
};
|
||||
}, [hasChanges]);
|
||||
}, [hasChanges, t]);
|
||||
|
||||
if (!config) {
|
||||
return <ActivityIndicator />;
|
||||
|
||||
@@ -1044,7 +1044,7 @@ function FaceGrid({
|
||||
return (
|
||||
<div className="absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center text-center">
|
||||
<LuFolderCheck className="size-16" />
|
||||
No faces available
|
||||
(t("nofaces"))
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user