mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 10:30:23 +08:00
精简:移除重复的插件更新器
This commit is contained in:
1 parent
35e3e7d9bc
commit
1b4d8b9205
18 files changed
+223
-1467
No files matched your search
@@ -43,33 +43,10 @@ export const zh = {
|
||||
settingsLoading: '正在读取配置…',
|
||||
operationFailed: '操作失败:',
|
||||
issuePersona: '未检测到预设角色前缀段落,已自动保留原版提示词',
|
||||
updateTitle: '版本与更新',
|
||||
currentVersion: '当前版本',
|
||||
latestVersion: '最新版本',
|
||||
installSource: '安装方式',
|
||||
sourceGithub: 'GitHub 仓库',
|
||||
sourceFile: '本地目录 (file:)',
|
||||
sourceRegistry: '软件包镜像',
|
||||
sourceUnknown: '当前 Profile',
|
||||
updateIdle: '尚未检查更新',
|
||||
updateChecking: '正在检查更新…',
|
||||
updateUpToDate: '已是最新版本',
|
||||
updateAvailable: '发现新版本',
|
||||
updateInstalling: '正在下载并安装更新,请稍候…',
|
||||
updateInstalled: '已安装新版本,重启 DSH Web 或桌面端后生效',
|
||||
updateBadge: '可更新',
|
||||
updateRestartBadge: '待重启生效',
|
||||
checkUpdate: '检查更新',
|
||||
installUpdate: '立即更新',
|
||||
viewRelease: '发布说明',
|
||||
errorRpcDisconnected: '无法连接宿主服务,请确认 DSH 正在运行后刷新重试。',
|
||||
errorUnsupportedPreset: '不支持该预设模式的提示词预览。',
|
||||
errorMissingPersona: '当前预设未包含角色前缀段落,已自动保留原版提示词。',
|
||||
errorPreviewFailed: '生成提示词预览失败,请稍后刷新重试。',
|
||||
errorUpdateCheckFailed: '检查更新失败,请确认网络连接正常后重试。',
|
||||
errorUpdateNoProfile: '当前运行环境未绑定可管理的 Profile 目录,无法执行自动更新。',
|
||||
errorUpdateFileOutdated: '当前通过本地目录 (file:) 安装,且本地目录版本低于远端最新版本,请先更新本地源码目录后再点更新。',
|
||||
errorUpdateInstallFailed: '安装更新失败:',
|
||||
} satisfies Record<string, string>
|
||||
|
||||
/** Unrestricted card locale key union. */
|
||||
@@ -118,33 +95,10 @@ export const en = {
|
||||
settingsLoading: 'Loading configuration…',
|
||||
operationFailed: 'Operation failed: ',
|
||||
issuePersona: 'Preset persona section not found — stock prompt kept',
|
||||
updateTitle: 'Version & Updates',
|
||||
currentVersion: 'Current version',
|
||||
latestVersion: 'Latest version',
|
||||
installSource: 'Install source',
|
||||
sourceGithub: 'GitHub repository',
|
||||
sourceFile: 'Local directory (file:)',
|
||||
sourceRegistry: 'Package registry',
|
||||
sourceUnknown: 'Active profile',
|
||||
updateIdle: 'Not checked yet',
|
||||
updateChecking: 'Checking for updates…',
|
||||
updateUpToDate: 'Up to date',
|
||||
updateAvailable: 'Update available',
|
||||
updateInstalling: 'Downloading and installing update…',
|
||||
updateInstalled: 'Update installed — restart DSH Web or Desktop to apply',
|
||||
updateBadge: 'Update available',
|
||||
updateRestartBadge: 'Restart to apply',
|
||||
checkUpdate: 'Check for updates',
|
||||
installUpdate: 'Update now',
|
||||
viewRelease: 'Release notes',
|
||||
errorRpcDisconnected: 'Cannot reach the host service. Please verify DSH is running and refresh.',
|
||||
errorUnsupportedPreset: 'Prompt preview is not supported for this preset.',
|
||||
errorMissingPersona: 'The preset is missing a persona prefix section; the stock prompt is kept.',
|
||||
errorPreviewFailed: 'Could not assemble the prompt preview. Please try refreshing.',
|
||||
errorUpdateCheckFailed: 'Could not check for updates. Please verify your network connection and try again.',
|
||||
errorUpdateNoProfile: 'This runtime does not expose a managed profile directory for self-update.',
|
||||
errorUpdateFileOutdated: 'Installed from a local file: directory whose version is older than the latest release. Update the local directory first.',
|
||||
errorUpdateInstallFailed: 'Failed to install update: ',
|
||||
} satisfies Record<UnrestrictedLocaleKey, string>
|
||||
|
||||
/** Dictionary namespace owned by this plugin. */
|
||||
|
||||
Reference in new issue
Block a user