mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Make license decline button text context-dependant
CURA-7129
This commit is contained in:
parent
3b534ea986
commit
95def2850d
3 changed files with 19 additions and 5 deletions
|
@ -90,7 +90,7 @@ UM.Dialog
|
|||
leftPadding: UM.Theme.getSize("dialog_primary_button_padding").width
|
||||
rightPadding: UM.Theme.getSize("dialog_primary_button_padding").width
|
||||
|
||||
text: catalog.i18nc("@button", "Agree")
|
||||
text: licenseModel.acceptButtonText
|
||||
onClicked: { handler.onLicenseAccepted() }
|
||||
}
|
||||
]
|
||||
|
@ -100,7 +100,7 @@ UM.Dialog
|
|||
Cura.SecondaryButton
|
||||
{
|
||||
id: declineButton
|
||||
text: catalog.i18nc("@button", "Decline and remove from account")
|
||||
text: licenseModel.declineButtonText
|
||||
onClicked: { handler.onLicenseDeclined() }
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue