Add ellipses to various settings actions that have confirm dialogs
This commit is contained in:
@@ -106,7 +106,7 @@ KirigamiComponents.ConvergentContextMenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QQC2.Action {
|
QQC2.Action {
|
||||||
text: i18n("Logout")
|
text: i18n("Logout…")
|
||||||
icon.name: "im-kick-user"
|
icon.name: "im-kick-user"
|
||||||
onTriggered: confirmLogoutDialogComponent.createObject(root).open()
|
onTriggered: confirmLogoutDialogComponent.createObject(root).open()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ FormCard.FormCardPage {
|
|||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
id: deactivateAccountButton
|
id: deactivateAccountButton
|
||||||
text: i18n("Deactivate Account")
|
text: i18nc("@action:button", "Deactivate Account…")
|
||||||
icon.name: "trash-empty-symbolic"
|
icon.name: "trash-empty-symbolic"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
const component = Qt.createComponent('org.kde.neochat', 'ConfirmDeactivateAccountDialog');
|
const component = Qt.createComponent('org.kde.neochat', 'ConfirmDeactivateAccountDialog');
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ FormCard.FormCardPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QQC2.ToolButton {
|
QQC2.ToolButton {
|
||||||
text: i18n("Logout")
|
text: i18n("Logout…")
|
||||||
icon.name: "im-kick-user"
|
icon.name: "im-kick-user"
|
||||||
onClicked: confirmLogoutDialogComponent.createObject(root.QQC2.Overlay.overlay).open()
|
onClicked: confirmLogoutDialogComponent.createObject(root.QQC2.Overlay.overlay).open()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ FormCard.FormCardPage {
|
|||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
icon.name: "kt-restore-defaults-symbolic"
|
icon.name: "kt-restore-defaults-symbolic"
|
||||||
text: i18nc("@action:button", "Reset all configuration values to their default")
|
text: i18nc("@action:button", "Reset all configuration values to their default…")
|
||||||
onClicked: resetDialog.open()
|
onClicked: resetDialog.open()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user