Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 000d4ab0 authored by Laurent Montel's avatar Laurent Montel 😁

Allow to translate it.

Bug found by "Safa_[A_Boy]" from irc
parent ccb4a4f4
......@@ -538,25 +538,25 @@ QString CalendarSupport::displayName(Akonadi::ETMCalendar *calendar, const Akona
if (tName.startsWith(QStringLiteral("shared.cal"), Qt::CaseInsensitive)) {
ownerStr = QStringLiteral("Shared");
nameStr = cName;
typeStr = QStringLiteral("Calendar");
typeStr = i18n("Calendar");
break;
} else if (tName.startsWith(QStringLiteral("shared.tasks"), Qt::CaseInsensitive)
|| tName.startsWith(QStringLiteral("shared.todo"),
Qt::CaseInsensitive)) {
ownerStr = QStringLiteral("Shared");
nameStr = cName;
typeStr = QStringLiteral("Tasks");
typeStr = i18n("Tasks");
break;
} else if (tName.startsWith(QStringLiteral("shared.journal"),
Qt::CaseInsensitive)) {
ownerStr = QStringLiteral("Shared");
nameStr = cName;
typeStr = QStringLiteral("Journal");
typeStr = i18n("Journal");
break;
} else if (tName.startsWith(QStringLiteral("shared.notes"), Qt::CaseInsensitive)) {
ownerStr = QStringLiteral("Shared");
nameStr = cName;
typeStr = QStringLiteral("Notes");
typeStr = i18n("Notes");
break;
} else if (tName != i18n("Calendar")
&& tName != i18n("Tasks")
......
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