diff --git a/index.js b/index.js
index 8a14a15..d863720 100644
--- a/index.js
+++ b/index.js
@@ -1006,6 +1006,7 @@ LANBrowsing.get('/', (req, res) => {
res.redirect('https://github.com/SchneeHertz/exhentai-manga-manager/wiki/LAN-Browsing')
break
case 'zh-CN':
+ case 'zh-TW':
default:
res.redirect('https://github.com/SchneeHertz/exhentai-manga-manager/wiki/%E5%B1%80%E5%9F%9F%E7%BD%91%E6%B5%8F%E8%A7%88')
break
diff --git a/src/App.vue b/src/App.vue
index ece2de9..70ef422 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -560,6 +560,7 @@ import * as linkify from 'linkifyjs'
import { getWidth } from './utils.js'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
+import zhTw from 'element-plus/dist/locale/zh-tw.mjs'
import en from 'element-plus/dist/locale/en.mjs'
import Setting from './components/Setting.vue'
@@ -2345,6 +2346,10 @@ export default defineComponent({
this.locale = zhCn
this.$i18n.locale = 'zh-CN'
break
+ case 'zh-TW':
+ this.locale = zhTw
+ this.$i18n.locale = 'zh-TW'
+ break
case 'en-US':
default:
this.locale = en
diff --git a/src/components/Setting.vue b/src/components/Setting.vue
index b6b240c..7f02c48 100644
--- a/src/components/Setting.vue
+++ b/src/components/Setting.vue
@@ -144,6 +144,7 @@
+
@@ -356,11 +357,11 @@
github
- github wiki
+ github wiki
github wiki
- 爱发电
+ 爱发电
buy me a coffee
diff --git a/src/locales/zh-TW.json b/src/locales/zh-TW.json
index fddd047..7f620cc 100644
--- a/src/locales/zh-TW.json
+++ b/src/locales/zh-TW.json
@@ -197,7 +197,7 @@
"Global_Reload": "重整",
"Global_ShowAbout": "顯示關於",
"Global_ShowAccelerator": "顯示快捷鍵",
- "Global_Escape": "推出到上一個介面",
+ "Global_Escape": "退出到上一個介面",
"Home": "首頁",
"Home_PreviousPage": "上一頁",
"Home_NextPage": "下一頁",
@@ -226,7 +226,7 @@
"InnerViewer_ScrollDown": "向下滾動",
"InnerViewer_FirstPage": "第一頁",
"InnerViewer_LastPage": "最後一頁",
- "InnerViewer_InsertEmptyPage": "抽入空頁",
+ "InnerViewer_InsertEmptyPage": "插入空頁",
"InnerViewer_SwitchThumbnail": "切換縮圖"
}
}
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index f3f5f42..073eb64 100644
--- a/src/main.js
+++ b/src/main.js
@@ -9,9 +9,11 @@ import ContextMenu from '@imengyu/vue3-context-menu'
import { createI18n } from 'vue-i18n'
import zhCn from './locales/zh-CN.json'
+import zhTw from './locales/zh-TW.json'
import enUs from './locales/en-US.json'
const messages = {
'zh-CN': zhCn,
+ 'zh-TW': zhTw,
'en-US': enUs
}