closed-cd:141197 增加中文翻译对加锁的界面

This commit is contained in:
wangsong 2022-10-10 11:27:30 +08:00
parent 7a0ec50c6c
commit 5da8114c27
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ class InstallBackendAptdaemon(InstallBackend):
if progress > 51 and progress < 90 and self.on_install_stage == False:
logging.info("The process is now in the installtion phase")
self.on_install_stage = True
self._start_install_lock()
self._start_install_lock(_("Kylin System Updater"))
#只处理从下载切换到安装时出现的网络问题
#当网络波动时下载某些软件包失败时属于异常状态进行重试时 不发送后续进度 等待重试正常是 进行下载安装

View File

@ -325,7 +325,7 @@ class InstallBackend():
self.fix_incomplete()
#卸载包
elif self.action == self.ACTION_REMOVE_PACKAGES:
self._start_install_lock()
self._start_install_lock(_("Kylin System Updater"))
self.purge_packages(partial_upgrade_list)
elif self.action == self.ACTION_CLEAN:
self.clean()