mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 21:26:50 +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 {
|
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")
|
brief: qsTr("Upgrade your account")
|
||||||
icon: "./icons/ic-exclamation-circle-filled.svg"
|
icon: "./icons/ic-exclamation-circle-filled.svg"
|
||||||
type: Notification.NotificationType.Danger
|
type: Notification.NotificationType.Danger
|
||||||
group: Notifications.Group.Configuration
|
group: Notifications.Group.Configuration
|
||||||
|
property var pricingLink: "https://proton.me/mail/pricing"
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: Backend
|
target: Backend
|
||||||
@ -550,8 +551,9 @@ QtObject {
|
|||||||
|
|
||||||
action: [
|
action: [
|
||||||
Action {
|
Action {
|
||||||
text: qsTr("OK")
|
text: qsTr("Upgrade")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
Qt.openUrlExternally(root.onlyPaidUsers.pricingLink)
|
||||||
root.onlyPaidUsers.active = false
|
root.onlyPaidUsers.active = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user