fix missing i18n keys (#18309)

This commit is contained in:
Josh Hawkins
2025-05-19 16:45:02 -05:00
committed by GitHub
parent 8a143b4284
commit afe513336c
19 changed files with 103 additions and 46 deletions
+2 -2
View File
@@ -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 />;
+1 -1
View File
@@ -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>
);
}