Merge branch 'main' into main

This commit is contained in:
Zamitto
2024-05-13 17:06:58 -03:00
committed by GitHub
4 changed files with 176 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
import { formatDistance } from "date-fns";
import type { FormatDistanceOptions } from "date-fns";
import {
ptBR,
enUS,
@@ -13,7 +12,7 @@ import {
it,
be,
zhCN,
da
da,
} from "date-fns/locale";
import { useTranslation } from "react-i18next";

View File

@@ -57,7 +57,6 @@ i18n
},
})
.then(() => {
i18n.changeLanguage("pt-BR");
window.electron.updateUserPreferences({ language: i18n.language });
});