Skip to content

Commit 21953aa

Browse files
authored
fix: update backing up notification message (#353)
Bug: https://pms.uniontech.com/bug-view-354291.html
1 parent 06f9a1e commit 21953aa

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

locale/lastore-daemon.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ msgid "Backing up and installing updates..."
144144
msgstr ""
145145

146146
#: ../src/lastore-daemon/manager_upgrade.go:204
147-
msgid "Start to update. Please do not shutdown"
147+
msgid "Download completed, system starts backing up before update"
148148
msgstr ""
149149

150150
#: ../src/lastore-daemon/manager_upgrade.go:267

locale/zh_CN.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ msgid "Backing up and installing updates..."
153153
msgstr "备份和安装更新中..."
154154

155155
#: ../src/lastore-daemon/manager_upgrade.go:204
156-
msgid "Start to update. Please do not shutdown"
157-
msgstr "系统开始更新,更新完成前请不要关闭计算机"
156+
msgid "Download completed, system starts backing up before update"
157+
msgstr "下载完成,系统开始进行更新前备份"
158158

159159
#: ../src/lastore-daemon/manager_upgrade.go:267
160160
msgid "Backup failed!"

src/lastore-daemon/manager_upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func (m *Manager) distUpgradePartly(sender dbus.Sender, origin system.UpdateType
203203
// 设置UpdateStatus为WaitRunUpgrade,隐藏更新并关机/重启按钮
204204
m.statusManager.SetUpdateStatus(mode, system.WaitRunUpgrade)
205205
if m.config.IntranetUpdate {
206-
msg := gettext.Tr("Start to update. Please do not shutdown")
206+
msg := gettext.Tr("Download completed, system starts backing up before update")
207207
go m.sendNotify(updateNotifyShow, 0, "preferences-system", "", msg, nil, nil, system.NotifyExpireTimeoutNoHide)
208208
}
209209

0 commit comments

Comments
 (0)