forked from Silverfish/proton-bridge
GODT-1378: varia GUI fixes
This commit is contained in:
@ -123,6 +123,7 @@ Item {
|
|||||||
Item { implicitHeight: root.type == AccountDelegate.LargeView ? 6 : 0 }
|
Item { implicitHeight: root.type == AccountDelegate.LargeView ? 6 : 0 }
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
spacing: 0
|
||||||
Label {
|
Label {
|
||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
text: root.user && root.user.loggedIn ? root.usedSpace : qsTr("Signed out")
|
text: root.user && root.user.loggedIn ? root.usedSpace : qsTr("Signed out")
|
||||||
|
|||||||
@ -71,8 +71,8 @@ SettingsView {
|
|||||||
SettingsItem {
|
SettingsItem {
|
||||||
id: beta
|
id: beta
|
||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
text: qsTr("Enable Beta access")
|
text: qsTr("Beta access")
|
||||||
description: qsTr("Be the first one to see new features.")
|
description: qsTr("Be among the first to try new features.")
|
||||||
type: SettingsItem.Toggle
|
type: SettingsItem.Toggle
|
||||||
checked: root.backend.isBetaEnabled
|
checked: root.backend.isBetaEnabled
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
@ -98,7 +98,7 @@ SettingsView {
|
|||||||
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
text: qsTr("Proton Mail Bridge v%1<br>© 2021 Proton Technologies AG<br>%2 %3").
|
text: qsTr("Proton Mail Bridge v%1<br>© 2021 Proton AG<br>%2 %3").
|
||||||
arg(root.backend.version).
|
arg(root.backend.version).
|
||||||
arg(link("file://"+root.backend.licensePath, qsTr("License"))).
|
arg(link("file://"+root.backend.licensePath, qsTr("License"))).
|
||||||
arg(link(root.backend.releaseNotesLink, qsTr("Release notes")))
|
arg(link(root.backend.releaseNotesLink, qsTr("Release notes")))
|
||||||
|
|||||||
@ -329,7 +329,7 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
action: Action {
|
action: Action {
|
||||||
text: qsTr("Ok")
|
text: qsTr("OK")
|
||||||
|
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.updateIsLatestVersion.active = false
|
root.updateIsLatestVersion.active = false
|
||||||
@ -373,8 +373,8 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
property Notification enableBeta: Notification {
|
property Notification enableBeta: Notification {
|
||||||
text: qsTr("Enable beta access?")
|
text: qsTr("Enable Beta access")
|
||||||
description: qsTr("Bridge will update to the latest beta version according to your update preferences. Disabling beta access later on will reset Bridge and require you to reconfigure your client.")
|
description: qsTr("Be the first to get new updates and use new features. Bridge will update to the latest beta version.")
|
||||||
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
|
||||||
@ -467,7 +467,7 @@ QtObject {
|
|||||||
|
|
||||||
action: [
|
action: [
|
||||||
Action {
|
Action {
|
||||||
text: qsTr("Ok")
|
text: qsTr("OK")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.bugReportSendSuccess.active = false
|
root.bugReportSendSuccess.active = false
|
||||||
}
|
}
|
||||||
@ -489,7 +489,7 @@ QtObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
action: Action {
|
action: Action {
|
||||||
text: qsTr("Ok")
|
text: qsTr("OK")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.bugReportSendError.active = false
|
root.bugReportSendError.active = false
|
||||||
}
|
}
|
||||||
@ -574,7 +574,7 @@ QtObject {
|
|||||||
|
|
||||||
action: [
|
action: [
|
||||||
Action {
|
Action {
|
||||||
text: qsTr("Ok")
|
text: qsTr("OK")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.cacheLocationChangeSuccess.active = false
|
root.cacheLocationChangeSuccess.active = false
|
||||||
}
|
}
|
||||||
|
|||||||
@ -245,7 +245,7 @@ Window {
|
|||||||
Button {
|
Button {
|
||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
secondary: true
|
secondary: true
|
||||||
text: qsTr("Open ProtonBridge")
|
text: qsTr("Open Bridge")
|
||||||
|
|
||||||
borderless: true
|
borderless: true
|
||||||
labelType: Label.LabelType.Caption_semibold
|
labelType: Label.LabelType.Caption_semibold
|
||||||
@ -296,7 +296,7 @@ Window {
|
|||||||
}
|
}
|
||||||
MenuItem {
|
MenuItem {
|
||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
text: qsTr("Quit ProtonBridge")
|
text: qsTr("Quit Bridge")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.quit()
|
root.quit()
|
||||||
root.close()
|
root.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user