mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
feat(GODT-2520): Update error message for free users.
This commit is contained in:
committed by
Romain Le Jeune
parent
c438704648
commit
a05f93debd
@ -535,11 +535,12 @@ QtObject {
|
||||
}
|
||||
|
||||
property Notification onlyPaidUsers: Notification {
|
||||
description: qsTr("Bridge is exclusive to our paid plans. Upgrade your account to use Bridge.")
|
||||
description: qsTr("Bridge is exclusive to our mail paid plans. Upgrade your account to use Bridge.")
|
||||
brief: qsTr("Upgrade your account")
|
||||
icon: "./icons/ic-exclamation-circle-filled.svg"
|
||||
type: Notification.NotificationType.Danger
|
||||
group: Notifications.Group.Configuration
|
||||
property var pricingLink: "https://proton.me/mail/pricing"
|
||||
|
||||
Connections {
|
||||
target: Backend
|
||||
@ -550,8 +551,9 @@ QtObject {
|
||||
|
||||
action: [
|
||||
Action {
|
||||
text: qsTr("OK")
|
||||
text: qsTr("Upgrade")
|
||||
onTriggered: {
|
||||
Qt.openUrlExternally(root.onlyPaidUsers.pricingLink)
|
||||
root.onlyPaidUsers.active = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user