i18n fixes (#17184)

* update PR template

* fix hook

* fix input

* fix hook

* add all audio detector keys

* add frigate+ keys

* fix spelling, formatting, and spacing

* fix labels

* capitalization

* fix timestamp

* fix menu

* fix plus text

* fix download label

* docs

* fix docs build

* fix docs formatting
This commit is contained in:
Josh Hawkins
2025-03-16 11:13:34 -06:00
committed by GitHub
parent d34533981f
commit c724892158
27 changed files with 685 additions and 227 deletions
+3 -6
View File
@@ -12,10 +12,7 @@ import {
import { Switch } from "./switch";
import { cn } from "@/lib/utils";
import { LuCheck } from "react-icons/lu";
import { useTranslation } from "react-i18next";
const { t } = useTranslation(["common"]);
import { t } from "i18next";
export interface DateRangePickerProps {
/** Click handler for applying the updates from DateRangePicker. */
@@ -433,7 +430,7 @@ export function DateRangePicker({
}
}}
>
{t("button.apply", { ns: "common"})}
{t("button.apply", { ns: "common" })}
</Button>
<Button
onClick={() => {
@@ -444,7 +441,7 @@ export function DateRangePicker({
variant="ghost"
aria-label={t("button.reset", { ns: "common" })}
>
{t("button.reset", { ns: "common"})}
{t("button.reset", { ns: "common" })}
</Button>
</div>
</div>