Diffstat (limited to 'core/pim/datebook/holiday/christian/hlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/holiday/christian/hlist.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/pim/datebook/holiday/christian/hlist.cpp b/core/pim/datebook/holiday/christian/hlist.cpp index 2ce13f5..f1d51f8 100644 --- a/core/pim/datebook/holiday/christian/hlist.cpp +++ b/core/pim/datebook/holiday/christian/hlist.cpp | |||
@@ -4,13 +4,17 @@ | |||
4 | 4 | ||
5 | const QStringList HList::entries(const QDate&aDate)const | 5 | const QStringList HList::entries(const QDate&aDate)const |
6 | { | 6 | { |
7 | QStringList ret; | 7 | QStringList ret; |
8 | if (aDate.month()==12) { | 8 | if (aDate.month()==12) { |
9 | if (aDate.day()==24) { | 9 | if (aDate.day()==24) { |
10 | ret.append(QObject::tr("Christmas","holidays")); | 10 | ret.append(QObject::tr("Christmas Eve","holidays")); |
11 | } else if (aDate.day()==25) { | ||
12 | ret.append(QObject::tr("Christmas Day","holidays")); | ||
13 | } else if (aDate.day()==26) { | ||
14 | ret.append(QObject::tr("Boxing Day","holidays")); | ||
11 | } | 15 | } |
12 | } else if (aDate.month()==1) { | 16 | } else if (aDate.month()==1) { |
13 | if (aDate.day()==1) { | 17 | if (aDate.day()==1) { |
14 | ret.append(QObject::tr("New Year","holidays")); | 18 | ret.append(QObject::tr("New Year","holidays")); |
15 | } | 19 | } |
16 | } | 20 | } |