Fix some page i18n wrong (#17682)

* fix: some pages can't translation object label.

* revert: revert wrong label fix

* feat: add openai base_url setting

* fix: fix classification modelSize i18n error

* revert: revert openai base_url setting

* fix: fix enrichments pages i18n keys wrong

* fix: fix mobile bottom bar reindexing embeddings i18n wrong

* feat: add more system stats i18n keys

* fix: fix review filter objects i18n

* chore: remove frigate+ label i18n
This commit is contained in:
GuoQing Liu
2025-04-19 22:02:15 +08:00
committed by GitHub
parent 89b54f19c8
commit c8e22a3653
14 changed files with 82 additions and 28 deletions

View File

@@ -366,7 +366,7 @@ function ObjectList({ cameraConfig, objects }: ObjectListProps) {
{getIconForLabel(obj.label, "size-5 text-white")}
</div>
<div className="ml-3 text-lg">
{capitalizeFirstLetter(obj.label.replaceAll("_", " "))}
{t(obj.label, { ns: "objects" })}
</div>
</div>
<div className="flex w-8/12 flex-row items-center justify-end">