Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Added the locale to the langMap in core/frontend/src/components/ui/bt-config-provider/index.vue

Ali Güneş6400afceb001
diff --git a/core/frontend/src/components/ui/bt-config-provider/index.vue b/core/frontend/src/components/ui/bt-config-provider/index.vue
index 0e5c4edc..b6e6f404 100644
--- a/core/frontend/src/components/ui/bt-config-provider/index.vue
+++ b/core/frontend/src/components/ui/bt-config-provider/index.vue
@@ -12,7 +12,7 @@
<script lang="ts" setup>
import { storeToRefs } from 'pinia'
-import { enUS, zhCN, jaJP, dateEnUS, dateZhCN, dateJaJP, darkTheme } from 'naive-ui'
+import { enUS, zhCN, jaJP, trTR, dateEnUS, dateZhCN, dateJaJP, dateTrTr, darkTheme } from 'naive-ui'
import { useGlobalStore, useThemeStore } from '@/store'
const globalStore = useGlobalStore()
@@ -34,6 +34,10 @@ const langMap = {
locale: jaJP,
dateLocale: dateJaJP,
},
+ tr: {
+ locale: trTR,
+ dateLocale: dateTrTr,
+ },
}
const themeRef = computed(() => {