Warning, /office/klevernotes/src/contents/ui/dialogs/DeleteConfirmationDialog.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 // SPDX-FileCopyrightText: 2023 Louis Schul <schul9louis@gmail.com>
0003
0004 import QtQuick 2.15
0005
0006 import org.kde.kirigami 2.19 as Kirigami
0007
0008 Kirigami.PromptDialog {
0009 readonly property var useCaseTrad: {
0010 "category": i18nc("Name, as in 'A note category'", "category"),
0011 "group": i18nc("Name, as in 'A note group'", "group"),
0012 "note": i18nc("Name, as in 'A note'", "note")
0013 }
0014
0015 property string useCase
0016
0017 subtitle: i18nc("@subtitle:dialog, %1 can be 'category' (a note category), 'group' (a note group) or 'note' (a note)", "Are you sure you want to delete this %1 ?",useCaseTrad[useCase.toLowerCase()])
0018 standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
0019 }