mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-14 14:36:44 +00:00
GODT-1545 GODT-1521: Change wording and enable release notes link.
This commit is contained in:
@ -84,6 +84,7 @@ Dialog {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
type: Label.LabelType.Body
|
type: Label.LabelType.Body
|
||||||
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|||||||
@ -100,8 +100,13 @@ QtObject {
|
|||||||
// Updates
|
// Updates
|
||||||
property Notification updateManualReady: Notification {
|
property Notification updateManualReady: Notification {
|
||||||
title: qsTr("Update to Bridge %1").arg(data ? data.version : "")
|
title: qsTr("Update to Bridge %1").arg(data ? data.version : "")
|
||||||
description: qsTr("A new version of ProtonMail Bridge is available. See what's changed.")
|
description: {
|
||||||
brief: qsTr("Update available. (See what's new.)")
|
var descr = qsTr("A new version of ProtonMail Bridge is available.")
|
||||||
|
var text = qsTr("See what's changed.")
|
||||||
|
var link = root.backend.releaseNotesLink
|
||||||
|
return `${descr} <a href="${link}">${text}</a>`
|
||||||
|
}
|
||||||
|
brief: qsTr("Update available.")
|
||||||
icon: "./icons/ic-info-circle-filled.svg"
|
icon: "./icons/ic-info-circle-filled.svg"
|
||||||
type: Notification.NotificationType.Info
|
type: Notification.NotificationType.Info
|
||||||
group: Notifications.Group.Update | Notifications.Group.Dialogs
|
group: Notifications.Group.Update | Notifications.Group.Dialogs
|
||||||
@ -834,10 +839,10 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
property Notification deleteAccount: Notification {
|
property Notification deleteAccount: Notification {
|
||||||
title: qsTr("Delete this account?")
|
title: qsTr("Remove this account?")
|
||||||
brief: title
|
brief: title
|
||||||
icon: "./icons/ic-exclamation-circle-filled.svg"
|
icon: "./icons/ic-exclamation-circle-filled.svg"
|
||||||
description: qsTr("Are you sure you want to delete this account and all the stored preferences and other data associated with it?")
|
description: qsTr("Are you sure you want to remove this account from Bridge and delete locally stored preferences and data?")
|
||||||
type: Notification.NotificationType.Danger
|
type: Notification.NotificationType.Danger
|
||||||
group: Notifications.Group.Configuration | Notifications.Group.Dialogs
|
group: Notifications.Group.Configuration | Notifications.Group.Dialogs
|
||||||
|
|
||||||
@ -861,7 +866,7 @@ QtObject {
|
|||||||
},
|
},
|
||||||
Action {
|
Action {
|
||||||
id: deleteAccount_delete
|
id: deleteAccount_delete
|
||||||
text: qsTr("Delete this account")
|
text: qsTr("Remove this account")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.deleteAccount.user.remove()
|
root.deleteAccount.user.remove()
|
||||||
root.deleteAccount.active = false
|
root.deleteAccount.active = false
|
||||||
|
|||||||
Reference in New Issue
Block a user