aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-30 13:36:54 +0100
committerLaurent Montel <[email protected]>2018-01-30 13:36:54 +0100
commit000d4ab0372a149ecc5541c808019befea6aada4 (patch)
treed8e52ec9f3d3a0f8c4e4b221d260a49cdb29686a
parentccb4a4f4f9159def062380547c462dedb9059886 (diff)
Allow to translate it.
Bug found by "Safa_[A_Boy]" from irc
-rw-r--r--src/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index ce5c859..72624e2 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -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")