From f2ef26bea6a230a75ecc4dd56a5ccaacf9117b03 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Thu, 18 Apr 2024 14:25:24 +0800
Subject: [PATCH] fanyi

---
 src/locales/index.js |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/locales/index.js b/src/locales/index.js
index baf53dc..0c7a7c6 100644
--- a/src/locales/index.js
+++ b/src/locales/index.js
@@ -9,28 +9,28 @@
 
 Vue.use(VueI18n);
 
-const DEFAULT_LANG = "zh-CN";
+const DEFAULT_LANG = "hi";
 const LOCALE_KEY = "language";
 
 const locales = {
   en: {
-    ...en,
+    ...en
   },
   hi: {
-    ...india,
+    ...india
   },
   "zh-TW": {
-    ...tw,
+    ...tw
   },
   th: {
-    ...ty,
+    ...ty
   },
   ja: {
-    ...ry,
+    ...ry
   },
   ko: {
-    ...hy,
-  },
+    ...hy
+  }
 };
 // en-us  zh-cn
 // let langLocale = getCookie(LOCALE_KEY) || 'en';
@@ -43,17 +43,17 @@
 const i18n = new VueI18n({
   locale: langLocale,
   messages: locales,
-  silentTranslationWarn: true,
+  silentTranslationWarn: true
 });
 const init = Vue.prototype._init;
-Vue.prototype._init = function (options) {
+Vue.prototype._init = function(options) {
   init.call(this, {
     i18n,
-    ...options,
+    ...options
   });
 };
 
-export const setup = (lang) => {
+export const setup = lang => {
   if (lang === undefined) {
     // lang = window.localStorage.getItem(LOCALE_KEY);
     // const language = getCookie(LOCALE_KEY);

--
Gitblit v1.9.3