Commit be3c95e8 authored by Volker Krause's avatar Volker Krause
Browse files

Add translation context for the "Dismiss" action

Should help with fixing the misleading German translation of this.

CCBUG: 452264
parent 79689531
Pipeline #179081 passed with stage
in 2 minutes and 6 seconds
......@@ -107,7 +107,7 @@ void AlarmNotification::send(KalendarAlarmClient *client, const KCalendarCore::I
m_notification->setIconName(incidence->type() == KCalendarCore::Incidence::TypeTodo ? QStringLiteral("view-task")
: QStringLiteral("view-calendar-upcoming"));
QStringList actions = {i18n("Remind in 5 mins"), i18n("Dismiss")};
QStringList actions = {i18n("Remind in 5 mins"), i18nc("dismiss a reminder notification for an event", "Dismiss")};
const auto contextAction = determineContextAction(incidence);
if (!contextAction.isEmpty()) {
actions.push_back(contextAction);
......
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