feat: plugin auto upgrade strategy (#19758)
Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: crazywoola <427733928@qq.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Novice <novice12185727@gmail.com>
This commit is contained in:

committed by
GitHub

parent
e6913744ae
commit
eaae79a581
@@ -125,6 +125,56 @@ const translation = {
|
||||
admins: 'Admins',
|
||||
noone: 'No one',
|
||||
},
|
||||
autoUpdate: {
|
||||
automaticUpdates: 'Automatic updates',
|
||||
updateTime: 'Update time',
|
||||
specifyPluginsToUpdate: 'Specify plugins to update',
|
||||
strategy: {
|
||||
disabled: {
|
||||
name: 'Disabled',
|
||||
description: 'Plugins will not auto-update',
|
||||
},
|
||||
fixOnly: {
|
||||
name: 'Fix Only',
|
||||
description: 'Auto-update for patch versions only (e.g., 1.0.1 → 1.0.2). Minor version changes won\'t trigger updates.',
|
||||
selectedDescription: 'Auto-update for patch versions only',
|
||||
},
|
||||
latest: {
|
||||
name: 'Latest',
|
||||
description: 'Always update to latest version',
|
||||
selectedDescription: 'Always update to latest version',
|
||||
},
|
||||
},
|
||||
updateTimeTitle: 'Update time',
|
||||
upgradeMode: {
|
||||
all: 'Update all',
|
||||
exclude: 'Exclude selected',
|
||||
partial: 'Only selected',
|
||||
},
|
||||
upgradeModePlaceholder: {
|
||||
exclude: 'Selected plugins will not auto-update',
|
||||
partial: 'Only selected plugins will auto-update. No plugins are currently selected, so no plugins will auto-update.',
|
||||
},
|
||||
excludeUpdate: 'The following {{num}} plugins will not auto-update',
|
||||
partialUPdate: 'Only the following {{num}} plugins will auto-update',
|
||||
operation: {
|
||||
clearAll: 'Clear all',
|
||||
select: 'Select plugins',
|
||||
},
|
||||
nextUpdateTime: 'Next auto-update: {{time}}',
|
||||
pluginDowngradeWarning: {
|
||||
title: 'Plugin Downgrade',
|
||||
description: 'Auto-update is currently enabled for this plugin. Downgrading the version may cause your changes to be overwritten during the next automatic update.',
|
||||
downgrade: 'Downgrade anyway',
|
||||
exclude: 'Exclude from auto-update',
|
||||
},
|
||||
noPluginPlaceholder: {
|
||||
noFound: 'No plugins were found',
|
||||
noInstalled: 'No plugins installed',
|
||||
},
|
||||
updateSettings: 'Update Settings',
|
||||
changeTimezone: 'To change time zone, go to <setTimezone>Settings</setTimezone>',
|
||||
},
|
||||
pluginInfoModal: {
|
||||
title: 'Plugin info',
|
||||
repository: 'Repository',
|
||||
|
@@ -125,6 +125,56 @@ const translation = {
|
||||
admins: '管理员',
|
||||
noone: '无人',
|
||||
},
|
||||
autoUpdate: {
|
||||
automaticUpdates: '自动更新',
|
||||
updateTime: '更新时间',
|
||||
specifyPluginsToUpdate: '指定要更新的插件',
|
||||
strategy: {
|
||||
disabled: {
|
||||
name: '禁用',
|
||||
description: '插件将不会自动更新',
|
||||
},
|
||||
fixOnly: {
|
||||
name: '仅修复',
|
||||
description: '仅自动更新补丁版本(例如,1.0.1 → 1.0.2)。次要版本更改不会触发更新。',
|
||||
selectedDescription: '仅自动更新补丁版本',
|
||||
},
|
||||
latest: {
|
||||
name: '最新',
|
||||
description: '始终更新到最新版本',
|
||||
selectedDescription: '始终更新到最新版本',
|
||||
},
|
||||
},
|
||||
updateTimeTitle: '更新时间',
|
||||
upgradeMode: {
|
||||
all: '更新全部',
|
||||
exclude: '排除选定',
|
||||
partial: '仅选定',
|
||||
},
|
||||
upgradeModePlaceholder: {
|
||||
exclude: '选定的插件将不会自动更新',
|
||||
partial: '仅选定的插件将自动更新。目前未选择任何插件,因此不会自动更新任何插件。',
|
||||
},
|
||||
excludeUpdate: '以下 {{num}} 个插件将不会自动更新',
|
||||
partialUPdate: '仅以下 {{num}} 个插件将自动更新',
|
||||
operation: {
|
||||
clearAll: '清除所有',
|
||||
select: '选择插件',
|
||||
},
|
||||
nextUpdateTime: '下次自动更新时间: {{time}}',
|
||||
pluginDowngradeWarning: {
|
||||
title: '插件降级',
|
||||
description: '此插件目前已启用自动更新。降级版本可能会导致您的更改在下次自动更新时被覆盖。',
|
||||
downgrade: '仍然降级',
|
||||
exclude: '从自动更新中排除',
|
||||
},
|
||||
noPluginPlaceholder: {
|
||||
noFound: '未找到插件',
|
||||
noInstalled: '未安装插件',
|
||||
},
|
||||
updateSettings: '更新设置',
|
||||
changeTimezone: '要更改时区,请前往<setTimezone>设置</setTimezone>',
|
||||
},
|
||||
pluginInfoModal: {
|
||||
title: '插件信息',
|
||||
repository: '仓库',
|
||||
|
Reference in New Issue
Block a user