From 570130f80c0db0c9acab25423b8e8424beb78491 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 09 Feb 2007 21:16:14 +0000 Subject: This commit is based on the patch submitted to bug 1702: http://opie-bugs.oszine.de/view.php?id=1702 The problem behavior said that the day abbreviations in the PIM suite were wrong for at least it and fr. The fix is to make sure that there is not a translation of the abbreviations because the abbreviations have already been translated. Thanks goes to an anonymous reporter for reporting and to antonus for submitting a patch. Thanks to Paul E. (aka BlueLightning) for bringing the bug to our attention. --- diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp b/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp index d173444..24a68ed 100644 --- a/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp +++ b/core/pim/datebook/modules/weeklst/datebookweeklstdayhdr.cpp @@ -14,7 +14,7 @@ DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /* onM */, char day=wdays[d.dayOfWeek()-1]; //dont use dayOfWeek() to save space ! - label->setText( QString(QObject::tr(QString(QChar(day)))) + " " +QString::number(d.day()) ); + label->setText( QString(QString(QChar(day))) + " " +QString::number(d.day()) ); add->setText("+"); -- cgit v0.9.0.2