fix(client): use native language names in the settings dropdown too

Export the languageNames map and reuse it in the Settings page so EN/DE/TR turn into English/Deutsch/Türkçe alongside the auth-page selector.
This commit is contained in:
gorkem-bwl committed 2026-04-26 01:55:42 -04:00
1 parent 319f667028
commit 9d7f4929ad
2 files changed
+3 -2

No files matched your search

@@ -7,7 +7,7 @@ import { useDispatch } from "react-redux";
import { setLanguage } from "@/Features/UI/uiSlice";
import type { RootState } from "@/Types/state";
const languageNames: Record<string, string> = {
export const languageNames: Record<string, string> = {
en: "English",
de: "Deutsch",
es: "Español",