Commit 904d305f authored by Nicolas Fella's avatar Nicolas Fella Committed by Jonah Brüchert

Translate actions in DetailsPage

parent 12e79b98
......@@ -64,7 +64,7 @@ Kirigami.ScrollablePage {
}
right: Kirigami.Action {
iconName: "document-edit"
text: "Edit"
text: i18n("Edit")
onTriggered: {
pageStack.push(Qt.resolvedUrl("AddContactPage.qml"), {state: "update", person: personData.person})
}
......@@ -72,14 +72,14 @@ Kirigami.ScrollablePage {
contextualActions: [
Kirigami.Action {
iconName: "document-edit"
text: "Edit"
text: i18n("Edit")
onTriggered: {
pageStack.push(Qt.resolvedUrl("AddContactPage.qml"), {state: "update", person: personData.person})
}
},
Kirigami.Action {
iconName: "delete"
text: "Delete contact"
text: i18n("Delete contact")
onTriggered: {
KPeople.PersonPluginManager.deleteContact(page.personUri)
pageStack.pop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment