更新翻译

This commit is contained in:
jingrow 2025-10-26 02:04:39 +08:00
parent 01db396809
commit 3df33a7cd2
2 changed files with 3 additions and 2 deletions

View File

@ -818,6 +818,7 @@
"Are you sure you want to uninstall": "您确定要卸载", "Are you sure you want to uninstall": "您确定要卸载",
"Are you sure you want to uninstall '{0}'? This action cannot be undone.": "您确定要卸载 '{0}' 吗?此操作无法撤销。", "Are you sure you want to uninstall '{0}'? This action cannot be undone.": "您确定要卸载 '{0}' 吗?此操作无法撤销。",
"App '{0}' uninstalled successfully": "应用 '{0}' 卸载成功", "App '{0}' uninstalled successfully": "应用 '{0}' 卸载成功",
"App '{0}' installed successfully": "应用 '{0}' 安装成功",
"System App": "系统应用", "System App": "系统应用",
"cannot be uninstalled": "不允许卸载", "cannot be uninstalled": "不允许卸载",
"Version": "版本", "Version": "版本",

View File

@ -249,7 +249,7 @@ const startUpload = async () => {
// //
clearFiles() clearFiles()
message.success(t(`App '${response.data.app_name}' installed successfully`)) message.success(t('App \'{0}\' installed successfully').replace('{0}', response.data.app_name))
} else { } else {
throw new Error(response.data.error || t('Installation failed')) throw new Error(response.data.error || t('Installation failed'))
} }
@ -305,7 +305,7 @@ const installLocalApp = async (appName: string) => {
}) })
if (response.data.success) { if (response.data.success) {
message.success(t(`App '${appName}' installed successfully`)) message.success(t('App \'{0}\' installed successfully').replace('{0}', appName))
// App // App
await loadLocalApps() await loadLocalApps()
} else { } else {