summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookweeklst.cpp
authorgroucho <groucho>2003-01-27 08:49:52 (UTC)
committer groucho <groucho>2003-01-27 08:49:52 (UTC)
commitdd9560a3f08593d99036adfad6636f4aaa52a01b (patch) (unidiff)
tree09ea262ef72f0f45051184531f94fafcd7b33d30 /core/pim/datebook/datebookweeklst.cpp
parent85edd77c0da9c2aec1b57238d010e84db1607363 (diff)
downloadopie-dd9560a3f08593d99036adfad6636f4aaa52a01b.zip
opie-dd9560a3f08593d99036adfad6636f4aaa52a01b.tar.gz
opie-dd9560a3f08593d99036adfad6636f4aaa52a01b.tar.bz2
Changes to make the weeklstview show translated day headers
Addressbookplugin was not translated, however this beast still does not show the translated strings
Diffstat (limited to 'core/pim/datebook/datebookweeklst.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookweeklst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp
index 7451abc..9089fe9 100644
--- a/core/pim/datebook/datebookweeklst.cpp
+++ b/core/pim/datebook/datebookweeklst.cpp
@@ -99,10 +99,10 @@ DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /*onM*/,
99 99
100 date=d; 100 date=d;
101 101
102 static const char *wdays="MTWTFSS"; 102 static const char *wdays={"MTWTFSS"};
103 char day=wdays[d.dayOfWeek()-1]; 103 char day=wdays[d.dayOfWeek()-1];
104 104
105 label->setText( QString(QChar(day)) + " " + 105 label->setText( QString(QObject::tr(QString(QChar(day)))) + " " +
106 QString::number(d.day()) ); 106 QString::number(d.day()) );
107 add->setText("+"); 107 add->setText("+");
108 108