Skip to content

Commit

Permalink
应用商店卸载报错提示优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Jan 9, 2024
1 parent 792aff9 commit 53b2c37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/renderer/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default {
desc: 'desc',
sync: 'sync',
set: 'set',
uninstall: 'uninstall',
initializing: 'initialize',
download: 'download',
uncompress: 'uncompress',
Expand Down
1 change: 1 addition & 0 deletions src/renderer/i18n/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default {
desc: '描述',
sync: '同步',
set: '设置',
uninstall: '卸载',
initializing: '初始化中',
download: '下载',
uncompress: '解压',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Software.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ const uninstall = async (item) => {
MessageBox.error(t('failedOperation') + '\n' + t('softwareUninstallErrorTip', [item.DirName]))
}
} catch (error) {
MessageBox.error(error.message ?? error, '卸载出错!')
MessageBox.error(error.message ?? error, t('errorOccurredDuring', [mt('uninstall', 'ws') + item.Name]))
}
}
Expand Down

0 comments on commit 53b2c37

Please sign in to comment.