增加新词条 增加是否为网络认证的词条
This commit is contained in:
parent
c22fcfa90b
commit
412897184b
|
@ -405,6 +405,7 @@ class InstallBackendAptdaemon(InstallBackend):
|
||||||
if self.action == self.ACTION_REMOVE_PACKAGES:
|
if self.action == self.ACTION_REMOVE_PACKAGES:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.action != self.ACTION_UPDATE:
|
||||||
logging.info("\033[1;32m" + "Emitting" + "\033[0m" +" Cancelable: %r",Cancelable)
|
logging.info("\033[1;32m" + "Emitting" + "\033[0m" +" Cancelable: %r",Cancelable)
|
||||||
self.window_main.dbusController.Cancelable(Cancelable)
|
self.window_main.dbusController.Cancelable(Cancelable)
|
||||||
#增加取消信号的频发机制
|
#增加取消信号的频发机制
|
||||||
|
|
|
@ -484,6 +484,9 @@ class InstallBackend():
|
||||||
elif action == self.ACTION_UPDATE:
|
elif action == self.ACTION_UPDATE:
|
||||||
if success == False and 'The following signatures' in self.trans_error_details:
|
if success == False and 'The following signatures' in self.trans_error_details:
|
||||||
error_desc = _("Check your source public key signature")
|
error_desc = _("Check your source public key signature")
|
||||||
|
elif success == False and 'does the network require authentication?' in self.trans_error_details:
|
||||||
|
error_desc = _("Check if your network requires authentication?")
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
#开始生成列表
|
#开始生成列表
|
||||||
self.window_main.start_available()
|
self.window_main.start_available()
|
||||||
|
|
|
@ -2559,6 +2559,8 @@ msgstr "无法访问源管理服务器,请稍后再试"
|
||||||
msgid "Connection exception with push server"
|
msgid "Connection exception with push server"
|
||||||
msgstr "推送服务器连接异常"
|
msgstr "推送服务器连接异常"
|
||||||
|
|
||||||
|
msgid "Check if your network requires authentication?"
|
||||||
|
msgstr "检查您的网络需要认证吗?"
|
||||||
|
|
||||||
msgid "Check your source public key signature"
|
msgid "Check your source public key signature"
|
||||||
msgstr "检查您的源数字签名"
|
msgstr "检查您的源数字签名"
|
||||||
|
|
Loading…
Reference in New Issue