Commit 911cc82a authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Dir drop dialog: use "open" term for consistency, avoid Yes/No buttons

"Open" is the term used elsewhere in the UI.
Yes/No buttons are discouraged by KDE HIG
parent aa4d2a03
Pipeline #198986 passed with stage
in 14 minutes and 11 seconds
......@@ -835,9 +835,11 @@ void KateMainWindow::slotDropEvent(QDropEvent *event)
if (kitem.isDir()) {
if (KMessageBox::questionYesNo(this,
i18n("You dropped the directory %1 into Kate. "
"Do you want to load all files contained in it ?",
"Do you want to open all files contained in it?",
url.url()),
i18n("Load files recursively?"))
i18nc("@title:window", "Open Files Recursively"),
KGuiItem(i18nc("@action:button", "Open All Files"), QStringLiteral("document-open")),
KStandardGuiItem::cancel())
== KMessageBox::Yes) {
KIO::ListJob *list_job = KIO::listRecursive(url, KIO::DefaultFlags, false);
connect(list_job, &KIO::ListJob::entries, this, &KateMainWindow::slotListRecursiveEntries);
......
Supports Markdown
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