mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
remove console warning
This commit is contained in:
parent
2cb1dca428
commit
d253b402a4
@ -79,9 +79,6 @@ i18n
|
|||||||
parseMissingKeyHandler: (key: string) => {
|
parseMissingKeyHandler: (key: string) => {
|
||||||
const parts = key.split(".");
|
const parts = key.split(".");
|
||||||
|
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.warn(`Missing translation key: ${key}`);
|
|
||||||
|
|
||||||
if (parts[0] === "time" && parts[1]?.includes("formattedTimestamp")) {
|
if (parts[0] === "time" && parts[1]?.includes("formattedTimestamp")) {
|
||||||
// Extract the format type from the last part (12hour, 24hour)
|
// Extract the format type from the last part (12hour, 24hour)
|
||||||
const formatType = parts[parts.length - 1];
|
const formatType = parts[parts.length - 1];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user