From 23ee33c45218f095dda375a43f7125062598336d Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sat, 20 Apr 2024 15:45:33 +0800
Subject: [PATCH] first

---
 src/i18n/kor.json           |    3 ++-
 src/i18n/en.json            |    3 ++-
 src/i18n/spa.json           |    3 ++-
 src/i18n/index.js           |   10 +++++-----
 src/i18n/jp.json            |    3 ++-
 src/i18n/de.json            |    3 ++-
 src/i18n/vie.json           |    3 ++-
 src/i18n/cht.json           |    3 ++-
 src/page/language/index.vue |    8 ++++----
 src/request/httpAxios.js    |    2 ++
 src/i18n/it.json            |    3 ++-
 src/i18n/th.json            |    3 ++-
 src/i18n/id.json            |    3 ++-
 src/i18n/ara.json           |    3 ++-
 src/i18n/fra.json           |    3 ++-
 15 files changed, 35 insertions(+), 21 deletions(-)

diff --git a/src/i18n/ara.json b/src/i18n/ara.json
index fa761af..ac3bb2d 100644
--- a/src/i18n/ara.json
+++ b/src/i18n/ara.json
@@ -1939,5 +1939,6 @@
   "设置": "ضبط",
   "直播": "بث مباشر",
   "比赛": "مسابقات",
-  "已上市": "المدرجة بالفعل"
+  "已上市": "المدرجة بالفعل",
+  "是否认购": "إذا كان الاشتراك"
 }
\ No newline at end of file
diff --git a/src/i18n/cht.json b/src/i18n/cht.json
index 2f3b47a..7c47213 100644
--- a/src/i18n/cht.json
+++ b/src/i18n/cht.json
@@ -1943,5 +1943,6 @@
   "设置": "設定",
   "直播": "直播",
   "比赛": "比賽",
-  "已上市": "已上市"
+  "已上市": "已上市",
+  "是否认购": "是否認購"
 }
\ No newline at end of file
diff --git a/src/i18n/de.json b/src/i18n/de.json
index d445b12..e74b889 100644
--- a/src/i18n/de.json
+++ b/src/i18n/de.json
@@ -1940,5 +1940,6 @@
   "设置": "einrichten",
   "直播": "Direktsaat",
   "比赛": "Wettbewerb",
-  "已上市": "Aufgeführt"
+  "已上市": "Aufgeführt",
+  "是否认购": "Ob abonniert werden soll"
 }
\ No newline at end of file
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 69f29fd..c1d68d8 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -1952,5 +1952,6 @@
   "设置": "set up",
   "直播": "direct seeding",
   "比赛": "competition",
-  "已上市": "Listed"
+  "已上市": "Listed",
+  "是否认购": "Whether to subscribe"
 }
\ No newline at end of file
diff --git a/src/i18n/fra.json b/src/i18n/fra.json
index f745255..65f56f8 100644
--- a/src/i18n/fra.json
+++ b/src/i18n/fra.json
@@ -2057,5 +2057,6 @@
   "设置": "Paramètres",
   "直播": "En direct",
   "比赛": "Compétition",
-  "已上市": "Déjà listé"
+  "已上市": "Déjà listé",
+  "是否认购": "S'abonner ou non"
 }
\ No newline at end of file
diff --git a/src/i18n/id.json b/src/i18n/id.json
index 47e6355..f87e77c 100644
--- a/src/i18n/id.json
+++ b/src/i18n/id.json
@@ -2138,5 +2138,6 @@
   "请不要向任何人透露密码、短信和谷歌验证码,包括交易所工作人员。": "Tolong jangan ungkapkan sandi, pesan teks, dan kode verifikasi Google kepada siapa pun, termasuk staf bursa.",
   "直播": "Siaran langsung",
   "比赛": "lomba",
-  "已上市": "Tersedia"
+  "已上市": "Tersedia",
+  "是否认购": "Apakah akan berlangganan atau tidak"
 }
\ No newline at end of file
diff --git a/src/i18n/index.js b/src/i18n/index.js
index 44f02f0..eab2719 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -32,16 +32,16 @@
   en: {
     ...enLocale,
   },
-  CN: {
+  "zh-TW": {
     ...cnLocale,
   },
   "zh-CN": {
     ...zhcnLocale,
   },
-  Japanese: {
+  ja: {
     ...japcnLocale,
   },
-  Korean: {
+  ko: {
     ...korcnLocale,
   },
   th: {
@@ -56,7 +56,7 @@
   fr: {
     ...frenchLocale,
   },
-  ind: {
+  hi: {
     ...indLocale,
   },
   ar: {
@@ -65,7 +65,7 @@
   vi: {
     ...viLocale,
   },
-  Italy: {
+  it: {
     ...ItalyLocal,
   },
 };
diff --git a/src/i18n/it.json b/src/i18n/it.json
index 07cc011..0556367 100644
--- a/src/i18n/it.json
+++ b/src/i18n/it.json
@@ -2128,5 +2128,6 @@
   "设置": "istituito",
   "直播": "semina diretta",
   "比赛": "concorrenza",
-  "已上市": "Elencato"
+  "已上市": "Elencato",
+  "是否认购": "Indica se sottoscrivere"
 }
\ No newline at end of file
diff --git a/src/i18n/jp.json b/src/i18n/jp.json
index 705fe8c..8972289 100644
--- a/src/i18n/jp.json
+++ b/src/i18n/jp.json
@@ -1957,5 +1957,6 @@
   "设置": "設定#セッテイ#",
   "直播": "生放送",
   "比赛": "と同じものを見つける",
-  "已上市": "発売済み"
+  "已上市": "発売済み",
+  "是否认购": "購入するかどうか"
 }
\ No newline at end of file
diff --git a/src/i18n/kor.json b/src/i18n/kor.json
index b63d6a8..35d4e0f 100644
--- a/src/i18n/kor.json
+++ b/src/i18n/kor.json
@@ -1970,5 +1970,6 @@
   "设置": "설치",
   "直播": "생방송",
   "比赛": "경기",
-  "已上市": "출시됨"
+  "已上市": "출시됨",
+  "是否认购": "인수 여부"
 }
\ No newline at end of file
diff --git a/src/i18n/spa.json b/src/i18n/spa.json
index 948ca41..48ab9b0 100644
--- a/src/i18n/spa.json
+++ b/src/i18n/spa.json
@@ -1944,5 +1944,6 @@
   "设置": "Configuración",
   "直播": "Transmisión en vivo",
   "比赛": "Partido",
-  "已上市": "Cotizado"
+  "已上市": "Cotizado",
+  "是否认购": "Si suscribir o no"
 }
\ No newline at end of file
diff --git a/src/i18n/th.json b/src/i18n/th.json
index 0da1912..69da10c 100644
--- a/src/i18n/th.json
+++ b/src/i18n/th.json
@@ -1952,5 +1952,6 @@
   "设置": "การตั้งค่า",
   "直播": "ถ่ายทอดสด",
   "比赛": "การแข่งขัน",
-  "已上市": "จดทะเบียนแล้ว"
+  "已上市": "จดทะเบียนแล้ว",
+  "是否认购": "ไม่ว่าจะเป็นการสมัคร"
 }
\ No newline at end of file
diff --git a/src/i18n/vie.json b/src/i18n/vie.json
index 75b1b93..c19a9cb 100644
--- a/src/i18n/vie.json
+++ b/src/i18n/vie.json
@@ -1954,5 +1954,6 @@
   "设置": "Thiết lập",
   "直播": "Phát sóng trực tiếp",
   "比赛": "Giải đấu",
-  "已上市": "Danh sách"
+  "已上市": "Danh sách",
+  "是否认购": "Đăng ký hay không"
 }
\ No newline at end of file
diff --git a/src/page/language/index.vue b/src/page/language/index.vue
index 8a5a795..27ac72a 100644
--- a/src/page/language/index.vue
+++ b/src/page/language/index.vue
@@ -20,18 +20,18 @@
   data() {
     return {
       lang: [
-        { title: '繁体中文', key: 'CN', image: require('../../assets/image/lang/hongkong.png') },
+        { title: '繁体中文', key: 'zh-TW', image: require('../../assets/image/lang/hongkong.png') },
         { title: '简体中文', key: 'zh-CN', image: require('../../assets/image/lang/zh-CN.png') },
         { title: 'English', key: 'en', image: require('../../assets/image/lang/en-US.png') },//英语
-        { title: '한국인', key: 'Korean', image: require('../../assets/image/lang/Korean.png') },//韩语
+        { title: '한국인', key: 'ko', image: require('../../assets/image/lang/Korean.png') },//韩语
         { title: 'Deutsch', key: 'de', image: require('../../assets/image/lang/de.png') }, //德语
         { title: 'Français', key: 'fr', image: require('../../assets/image/lang/French.png') }, //法语
-        { title: 'やまと', key: 'Japanese', image: require('../../assets/image/lang/Japanese.png') }, //日语
+        { title: 'やまと', key: 'ja', image: require('../../assets/image/lang/Japanese.png') }, //日语
         { title: 'ไทย', key: 'th', image: require('../../assets/image/lang/Thai.png') }, //泰语
         // { title: 'español', key: 'es', image: require('../../assets/image/lang/Spanish.png') }, //西班牙
         // { title: 'عرب', key: 'ar', image: require('../../assets/image/lang/alb.png') }, //阿拉伯语
         { title: 'Tiếng Việt', key: 'vi', image: require('../../assets/image/lang/vi.png') },//越南语
-        { title: 'Italiano', key: 'Italy', image: require('../../assets/image/lang/Italy.png') }, //意大利语
+        { title: 'Italiano', key: 'it', image: require('../../assets/image/lang/Italy.png') }, //意大利语
 
       ]
     }
diff --git a/src/request/httpAxios.js b/src/request/httpAxios.js
index 09e2557..cb55437 100644
--- a/src/request/httpAxios.js
+++ b/src/request/httpAxios.js
@@ -4,6 +4,7 @@
 import i18n from "@/i18n";
 import router from "@/router/router";
 import { signatureGenerate } from "@/utils/signatureUtil";
+import { getStorage } from "@/utils/utis";
 axios.defaults.headers.post["Content-Type"] =
   "application/x-www-form-urlencoded";
 
@@ -44,6 +45,7 @@
     const { timestamp, signature } = signatureGenerate();
     if (timestamp) config.headers["tissuePaper"] = timestamp;
     if (signature) config.headers["sign"] = signature;
+    config.headers["lang"] = getStorage("lang") || "en";
     return config;
   },
   (error) => {

--
Gitblit v1.9.3