i18n: Refactor and fix network error

This commit is contained in:
Michal Šmahel committed 2025-06-09 21:54:45 +02:00
1 parent 6460fe33d6
commit c5efa71875
21 files changed
+65 -42

No files matched your search

+2 -2
View File
@@ -52,9 +52,9 @@ const PageSpeedDetails = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
{t("networkError")}
{t("common.toasts.networkError")}
</Typography>
<Typography>{t("checkConnection")}</Typography>
<Typography>{t("common.toasts.checkConnection")}</Typography>
</GenericFallback>
);
}
@@ -35,9 +35,9 @@ const PageSpeed = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
{t("networkError")}
{t("common.toasts.networkError")}
</Typography>
<Typography>{t("checkConnection")}</Typography>
<Typography>{t("common.toasts.checkConnection")}</Typography>
</GenericFallback>
);
}