From c55af1ea5bd790dec3b5e99d7a8073e86c1b09aa Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 22 Aug 2024 15:00:02 +0800
Subject: [PATCH] 新增:荷兰 西班牙 瑞典语
---
src/i18n/index.js | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/i18n/index.js b/src/i18n/index.js
index eab2719..8fdc0c2 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -19,6 +19,9 @@
import arLocale from "./ara.json";
import viLocale from "./vie.json";
import ItalyLocal from "./it.json";
+import sv from "./sv.json";
+import af from "./af.json";
+import es from "./es.json";
// 使用vue-i18n库
Vue.use(VueI18n);
@@ -68,6 +71,15 @@
it: {
...ItalyLocal,
},
+ es: {
+ ...es,
+ },
+ af: {
+ ...af,
+ },
+ sv: {
+ ...sv,
+ }
};
// 创建vueI18n实例并输出,在main.js中调用
const i18n = new VueI18n({
--
Gitblit v1.9.3