mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-19 23:08:08 +02:00
chinese i18n fix (#17190)
* fix: fix dialog some key capitalization * chore: remove audio duplicate key. (i18next can't use it! maybe need change key name? ) * feat: add chinese missing keys. fix: fix some keys error * feat: add chinese readme file * feat: add system feature pages embeddings i18n keys * fix: fix audio file keys wrong
This commit is contained in:
@@ -76,14 +76,14 @@ export default function FeatureMetrics({
|
||||
const key = rawKey.replaceAll("_", " ");
|
||||
|
||||
if (!(key in series)) {
|
||||
series[key] = { name: key, data: [] };
|
||||
series[key] = { name: t("features.embeddings." + rawKey), data: [] };
|
||||
}
|
||||
|
||||
series[key].data.push({ x: statsIdx + 1, y: stat });
|
||||
});
|
||||
});
|
||||
return Object.values(series);
|
||||
}, [statsHistory]);
|
||||
}, [statsHistory, t]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user