Commit 059c0e43 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Use the same menu text in the popup menu as in KOEventPopupMenu

See !15
parent b38328a9
Pipeline #45182 passed with stage
in 12 minutes and 58 seconds
......@@ -370,14 +370,14 @@ TodoView::TodoView(const EventViews::PrefsPtr &prefs, bool sidebarView, QWidget
mItemPopupMenu->addSeparator();
a = mItemPopupMenu->addAction(QIcon::fromTheme(QStringLiteral("appointment-new")),
i18nc("@action:inmenu", "Create Event"),
i18nc("@action:inmenu", "Create Event from To-do"),
this, SLOT(createEvent()));
a->setObjectName(QStringLiteral("createevent"));
mItemPopupMenuReadWriteEntries << a;
mItemPopupMenuItemOnlyEntries << a;
a = mItemPopupMenu->addAction(QIcon::fromTheme(QStringLiteral("view-pim-notes")),
i18nc("@action:inmenu", "Create Note"),
i18nc("@action:inmenu", "Create Note for To-do"),
this, SLOT(createNote()));
a->setObjectName(QStringLiteral("createnote"));
mItemPopupMenuReadWriteEntries << a;
......
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