增强配置向导功能

This commit is contained in:
jxxghp
2025-09-10 14:46:02 +08:00
parent 55b383780e
commit 3750d5cba0
10 changed files with 911 additions and 229 deletions
+40 -7
View File
@@ -414,10 +414,13 @@ export default {
name: 'WeChat Work',
corpId: 'Corp ID',
corpIdHint: 'Corp ID in WeChat Work backend enterprise information',
corpIdRequired: 'Corp ID cannot be empty',
appId: 'App AgentId',
appIdHint: 'AgentId of self-built app in WeChat Work',
appIdRequired: 'App AgentId cannot be empty',
appSecret: 'App Secret',
appSecretHint: 'Secret of self-built app in WeChat Work',
appSecretRequired: 'App Secret cannot be empty',
proxy: 'Proxy Address',
proxyHint:
'Proxy address for WeChat message forwarding, required for self-built apps created after June 20, 2022',
@@ -433,8 +436,10 @@ export default {
name: 'Telegram',
token: 'Bot Token',
tokenHint: 'Telegram bot token, format: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11',
tokenRequired: 'Bot Token cannot be empty',
chatId: 'Chat ID',
chatIdHint: 'Chat ID of user, group or channel that receives notifications',
chatIdRequired: 'Chat ID cannot be empty',
users: 'User Whitelist',
usersHint: 'User IDs that can use Telegram bot, separated by commas. Leave empty to allow all users',
admins: 'Admin Whitelist',
@@ -449,15 +454,18 @@ export default {
name: 'Slack',
oauthToken: 'Slack Bot User OAuth Token',
oauthTokenHint: 'Bot User OAuth Token in Slack app OAuth & Permissions page',
oauthTokenRequired: 'OAuth Token cannot be empty',
appToken: 'Slack App-Level Token',
appTokenHint: 'App-Level Token in Slack app OAuth & Permissions page',
channel: 'Channel Name',
channelHint: 'Channel to send messages, default is "all"',
channelRequired: 'Channel Name cannot be empty',
},
synologychat: {
name: 'Synology Chat',
webhook: 'Webhook URL',
webhookHint: 'Synology Chat bot webhook URL',
webhookRequired: 'Webhook URL cannot be empty',
token: 'Token',
tokenHint: 'Synology Chat bot token',
},
@@ -465,8 +473,10 @@ export default {
name: 'VoceChat',
host: 'Address',
hostHint: 'VoceChat server address, format: http(s)://ip:port',
hostRequired: 'Address cannot be empty',
apiKey: 'Bot API Key',
apiKeyHint: 'VoceChat bot API key',
apiKeyRequired: 'API Key cannot be empty',
channelId: 'Channel ID',
channelIdHint: 'VoceChat channel ID, without #',
},
@@ -474,6 +484,7 @@ export default {
name: 'WebPush',
username: 'Login Username',
usernameHint: 'Only push messages to the corresponding logged-in user',
usernameRequired: 'Username cannot be empty',
},
},
shortcut: {
@@ -1778,8 +1789,12 @@ export default {
add: 'Add User',
edit: 'Edit User',
username: 'Username',
usernameRequired: 'Username cannot be empty',
password: 'Password',
passwordMinLength: 'Password must be at least 6 characters',
confirmPassword: 'Confirm Password',
confirmPasswordRequired: 'Please confirm password',
passwordMismatch: 'Passwords do not match',
email: 'Email',
nickname: 'Nickname',
status: 'Status',
@@ -1800,9 +1815,7 @@ export default {
webPush: 'WebPush',
creatingUser: 'Creating user [{name}], please wait',
updatingUser: 'Updating user [{name}], please wait',
usernameRequired: 'Username cannot be empty',
usernameExists: 'Username already exists',
passwordMismatch: 'The two passwords do not match',
userCreated: 'User [{name}] created successfully',
userCreateFailed: 'Failed to create user: {message}',
userUpdateSuccess: 'User [{name}] updated successfully',
@@ -2633,6 +2646,9 @@ export default {
nameRequired: 'Name cannot be empty',
nameDuplicate: 'Name already exists',
defaultChanged: 'Default downloader exists, has been replaced',
hostRequired: 'Host cannot be empty',
usernameRequired: 'Username cannot be empty',
passwordRequired: 'Password cannot be empty',
},
filterRule: {
title: 'Filter Rule',
@@ -2680,6 +2696,11 @@ export default {
password: 'Password',
syncLibraries: 'Sync Libraries',
syncLibrariesHint: 'Only selected libraries will be synchronized',
hostRequired: 'Host cannot be empty',
apiKeyRequired: 'API Key cannot be empty',
tokenRequired: 'Token cannot be empty',
usernameRequired: 'Username cannot be empty',
passwordRequired: 'Password cannot be empty',
nameExists: '【{name}】 already exists, please use a different name',
},
bangumi: {
@@ -2904,6 +2925,12 @@ export default {
testingNotification: 'Testing notification',
checkingNotification: 'Checking notification connectivity',
testFailedHint: 'Please check if the configuration is correct, you can retest after modification',
unsupportedDownloaderType: 'Unsupported downloader type: {type}',
unsupportedMediaServerType: 'Unsupported media server type: {type}',
unsupportedNotificationType: 'Unsupported notification type: {type}',
passwordUpdateSuccess: 'Password updated successfully',
userCreateSuccess: 'User created successfully',
passwordUpdateFailed: 'Failed to update password',
basic: {
title: 'Basic Settings',
description: 'Set access domain, username/password and network configuration',
@@ -2915,6 +2942,10 @@ export default {
recognizeSourceHint: 'Set the default media info recognition data source',
apiToken: 'API Token',
apiTokenHint: 'System automatically generated API access token',
currentUserHint: 'Current user, cannot be modified',
passwordOptionalHint: 'Leave blank to keep current password',
confirmPasswordHint: 'Confirm new password',
apiTokenRequired: 'API Token is required',
},
storage: {
title: 'Storage Configuration',
@@ -2925,12 +2956,14 @@ export default {
downloadPathHint: 'Set the storage path for downloaded files',
libraryPath: 'Media Library Directory',
libraryPathHint: 'Set the storage path for media files',
downloadPathRequired: 'Download directory is required',
libraryPathRequired: 'Media library directory is required',
},
downloader: {
title: 'Downloader Configuration',
description: 'Configure downloader (optional)',
description: 'Configure downloader',
info: 'Downloader Configuration',
infoDesc: 'Configure downloader for automatic resource download (optional)',
infoDesc: 'Configure downloader for resource download, can choose qBittorrent or Transmission',
type: 'Downloader Type',
typeHint: 'Select the type of downloader to use',
name: 'Downloader Name',
@@ -2944,9 +2977,9 @@ export default {
},
mediaServer: {
title: 'Media Server',
description: 'Configure media server (optional)',
description: 'Configure media server',
info: 'Media Server Configuration',
infoDesc: 'Configure media server for media library management (optional)',
infoDesc: 'Configure media server for media library management, can choose Emby, Jellyfin or Plex etc.',
type: 'Media Server Type',
typeHint: 'Select the type of media server to use',
name: 'Server Name',
@@ -2960,7 +2993,7 @@ export default {
},
notification: {
title: 'Notification Settings',
description: 'Configure notification channels (optional)',
description: 'Configure notification channels',
info: 'Notification Configuration',
infoDesc: 'Configure notification channels for receiving system messages (optional)',
type: 'Notification Type',