diff --git a/public/i18n/en.yml b/public/i18n/en.yml
index c75225b..e69c028 100644
--- a/public/i18n/en.yml
+++ b/public/i18n/en.yml
@@ -32,6 +32,9 @@ UPLOAD_AREA: Upload
UPLOAD_VIEW_HINT: Click to open picbeds settings
MANAGE_PAGE: Manage
GALLERY: Gallery
+MANUAL: Manual
+OPEN_MANUAL_LINK: Open Manual Link
+OPEN_MANUAL_LINK_HINT: Will open the manual link in your browser, do you want to continue?
PICBEDS_SETTINGS: Picbeds
PICBEDS_MANAGE: Picbeds Manage
PICLIST_SETTINGS: Settings
diff --git a/public/i18n/zh-CN.yml b/public/i18n/zh-CN.yml
index 538671c..3bfa9b9 100644
--- a/public/i18n/zh-CN.yml
+++ b/public/i18n/zh-CN.yml
@@ -32,6 +32,9 @@ UPLOAD_AREA: 上传区
UPLOAD_VIEW_HINT: 点击打开图床设置
MANAGE_PAGE: 管理
GALLERY: 相册
+MANUAL: 手册
+OPEN_MANUAL_LINK: 前往手册
+OPEN_MANUAL_LINK_HINT: 即将打开PicList使用手册网页, 是否继续?
PICBEDS_SETTINGS: 图床设置
PICBEDS_MANAGE: 图床管理
PICLIST_SETTINGS: PicList设置
diff --git a/public/i18n/zh-TW.yml b/public/i18n/zh-TW.yml
index 917bdc4..b24a0e7 100644
--- a/public/i18n/zh-TW.yml
+++ b/public/i18n/zh-TW.yml
@@ -32,6 +32,9 @@ UPLOAD_AREA: 上傳
UPLOAD_VIEW_HINT: 點擊打開圖床設定
MANAGE_PAGE: 管理
GALLERY: 相簿
+MANUAL: 手冊
+OPEN_MANUAL_LINK: 前往手冊
+OPEN_MANUAL_LINK_HINT: 即將打開PicList使用手冊網頁,是否繼續?
PICBEDS_SETTINGS: 圖床設定
PICBEDS_MANAGE: 圖床管理
PICLIST_SETTINGS: PicList設定
diff --git a/src/renderer/layouts/Main.vue b/src/renderer/layouts/Main.vue
index c13f2be..e4067e4 100644
--- a/src/renderer/layouts/Main.vue
+++ b/src/renderer/layouts/Main.vue
@@ -104,6 +104,12 @@
{{ $T('PLUGIN_SETTINGS') }}
+
+
+
+
+ {{ $T('MANUAL') }}
+
{
}
const handleSelect = (index: string) => {
+ if (index === 'MANUAL') {
+ ElMessageBox.confirm($T('OPEN_MANUAL_LINK_HINT'), $T('OPEN_MANUAL_LINK'), {
+ confirmButtonText: $T('CONFIRM'),
+ cancelButtonText: $T('CANCEL'),
+ type: 'warning',
+ center: true
+ }).then(async () => {
+ let language = 'zh-CN'
+ const config = (await getConfig())!
+ if (config !== undefined) {
+ const settings = config.settings || {}
+ language = settings.language ?? 'zh-CN'
+ }
+ if (language === 'zh-CN' || language === 'zh-TW') {
+ sendToMain(OPEN_URL, 'https://piclist.cn/configure.html')
+ } else {
+ sendToMain(OPEN_URL, 'https://piclist.cn/en/configure.html')
+ }
+ }).catch(() => {})
+ return
+ }
defaultActive.value = index
const type = index.match(routerConfig.UPLOADER_CONFIG_PAGE)
if (type === null) {
diff --git a/src/universal/types/i18n.d.ts b/src/universal/types/i18n.d.ts
index fc99dc2..0062aa8 100644
--- a/src/universal/types/i18n.d.ts
+++ b/src/universal/types/i18n.d.ts
@@ -30,6 +30,9 @@ interface ILocales {
UPLOAD_VIEW_HINT: string
MANAGE_PAGE: string
GALLERY: string
+ MANUAL: string
+ OPEN_MANUAL_LINK: string
+ OPEN_MANUAL_LINK_HINT: string
PICBEDS_SETTINGS: string
PICBEDS_MANAGE: string
PICLIST_SETTINGS: string