CURA-7409 Update keep/discard dialog.

This commit is contained in:
Remco Burema 2020-04-29 13:02:48 +02:00
parent 8386d094d3
commit 3604e75cce
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -113,14 +113,14 @@ UM.Dialog
TableViewColumn TableViewColumn
{ {
role: "original_value" role: "original_value"
title: catalog.i18nc("@title:column", "Default") title: Cura.MachineManager.activeQualityDisplayNameMap["main"]
width: (tableView.width * 0.3) | 0 width: (tableView.width * 0.3) | 0
delegate: defaultDelegate delegate: defaultDelegate
} }
TableViewColumn TableViewColumn
{ {
role: "user_value" role: "user_value"
title: catalog.i18nc("@title:column", "Customized") title: catalog.i18nc("@title:column", "Current changes")
width: (tableView.width * 0.3) | 0 width: (tableView.width * 0.3) | 0
} }
section.property: "category" section.property: "category"
@ -192,7 +192,7 @@ UM.Dialog
Button Button
{ {
id: discardButton id: discardButton
text: catalog.i18nc("@action:button", "Discard"); text: catalog.i18nc("@action:button", "Discard changes");
anchors.right: parent.right anchors.right: parent.right
onClicked: onClicked:
{ {
@ -205,7 +205,7 @@ UM.Dialog
Button Button
{ {
id: keepButton id: keepButton
text: catalog.i18nc("@action:button", "Keep"); text: catalog.i18nc("@action:button", "Keep changes");
anchors.right: discardButton.left anchors.right: discardButton.left
anchors.rightMargin: UM.Theme.getSize("default_margin").width anchors.rightMargin: UM.Theme.getSize("default_margin").width
onClicked: onClicked: