PropertyChanges{target:label;visible:true;text:qsTr("This is an exception for the event originally occurring at: \"%1\"").arg(controller.recurrenceId.toLocaleString(Qt.locale(),"dd. MMMM hh:mm"))}
PropertyChanges{target:label;visible:true;text:qsTr("This is an exception for the event originally occurring at: \"%1\"").arg(controller.recurrenceId.toLocaleString(Qt.locale(),"dd. MMMM hh:mm"))}
details += qsTr("The signature is invalid.") + "\n"
details+=i18n("The signature is invalid.")+"\n"
}
}
returndetails
}
Column {
ColumnLayout{
id:buttons
anchors.left: parent.left
anchors.top: parent.top
anchors.rightMargin: Kirigami.Units.smallSpacing
anchors{
left:parent.left
right:parent.right
top:parent.top
rightMargin:Kirigami.Units.largeSpacing
leftMargin:Kirigami.Units.largeSpacing
topMargin:Kirigami.Units.smallSpacing
}
spacing:Kirigami.Units.smallSpacing
Kube.IconButton {
Kirigami.InlineMessage{
id:encryptedButton
width: Kube.Units.gridUnit
height: width
iconName: Kube.Icons.secure
color: getColor(model.encryptionSecurityLevel)
backgroundOpacity: 0.5
Layout.fillWidth:true
Layout.maximumWidth:parent.width
icon.name:'mail-encrypted'
type:getType(model.encryptionSecurityLevel)
visible:model.encrypted
tooltip: model.encryptionDetails.keyId == "" ? qsTr("This message is encrypted but we don't have the key for it.") : qsTr("This message is encrypted to the key: %1").arg(model.encryptionDetails.keyId);
//FIXME make text copyable
// Kube.SelectableItem {
// visualParent: encryptedButton
// text: parent.tooltip
// }
text:model.encryptionDetails.keyId==""?i18n("This message is encrypted but we don't have the key for it."):i18n("This message is encrypted to the key: %1",model.encryptionDetails.keyId);