refactor: consolidate English translations (#6640)

This commit is contained in:
Thomas authored and GitHub committed 2026-08-21 19:00:27 +02:00
1 parent 81aa704537
commit 9e14a07e64
449 files changed
+3515 -3922

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@
import { Center, Flex, ScrollArea, SimpleGrid, Stack, Text } from "@mantine/core";
import { clientApi } from "@homarr/api/client";
import { useCurrentIntlLocale, useScopedI18n } from "@homarr/translation/client";
import { useCurrentIntlLocale, useI18n } from "@homarr/translation/client";
import type { WidgetComponentProps } from "../definition";
import { getUsableWidgetQueryData } from "../common/query-state";
@@ -16,8 +16,8 @@ export default function VpnWidget({ options, integrationIds, width, height }: Wi
});
const integrations = getUsableWidgetQueryData(summariesQuery) ?? [];
const { isPending } = summariesQuery;
const t = useScopedI18n("widget.vpn");
const tCommon = useScopedI18n("common");
const t = useI18n("widget.vpn");
const tCommon = useI18n("common");
const locale = useCurrentIntlLocale();
const dense = width < 240 || height < 120;