Skip to content

Commit

Permalink
chore: change the uninstall app notification wording
Browse files Browse the repository at this point in the history
  • Loading branch information
zsien committed Mar 19, 2024
1 parent 56b6ca3 commit fda1eaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lastore1/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ func (l *Lastore) notifyInstall(pkgId string, succeed bool, ac []NotifyAction) {
func (l *Lastore) notifyRemove(pkgId string, succeed bool, ac []NotifyAction) {
var msg string
if succeed {
msg = gettext.Tr("Removed successfully")
msg = fmt.Sprintf(gettext.Tr("%q removed successfully"), pkgId)
} else {
msg = gettext.Tr("Failed to remove the app")
msg = fmt.Sprintf(gettext.Tr("%q failed to remove"), pkgId)
}
l.sendNotify("deepin-appstore", "", msg, ac, nil, notifyExpireTimeoutDefault, getAppStoreAppName())
}

//NotifyLowPower send notify for low power
// NotifyLowPower send notify for low power
func (l *Lastore) notifyLowPower() {
msg := gettext.Tr("In order to prevent automatic shutdown, please plug in for normal update.")
l.sendNotify("notification-battery_low", "", msg, nil, nil, notifyExpireTimeoutDefault, getAppStoreAppName())
Expand Down

0 comments on commit fda1eaa

Please sign in to comment.