更新翻译
This commit is contained in:
parent
01db396809
commit
3df33a7cd2
@ -818,6 +818,7 @@
|
||||
"Are you sure you want to uninstall": "您确定要卸载",
|
||||
"Are you sure you want to uninstall '{0}'? This action cannot be undone.": "您确定要卸载 '{0}' 吗?此操作无法撤销。",
|
||||
"App '{0}' uninstalled successfully": "应用 '{0}' 卸载成功",
|
||||
"App '{0}' installed successfully": "应用 '{0}' 安装成功",
|
||||
"System App": "系统应用",
|
||||
"cannot be uninstalled": "不允许卸载",
|
||||
"Version": "版本",
|
||||
|
||||
@ -249,7 +249,7 @@ const startUpload = async () => {
|
||||
// 清空文件列表
|
||||
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 {
|
||||
throw new Error(response.data.error || t('Installation failed'))
|
||||
}
|
||||
@ -305,7 +305,7 @@ const installLocalApp = async (appName: string) => {
|
||||
})
|
||||
|
||||
if (response.data.success) {
|
||||
message.success(t(`App '${appName}' installed successfully`))
|
||||
message.success(t('App \'{0}\' installed successfully').replace('{0}', appName))
|
||||
// 重新加载本地App列表
|
||||
await loadLocalApps()
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user