author | groucho <groucho> | 2003-01-27 08:49:52 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-01-27 08:49:52 (UTC) |
commit | dd9560a3f08593d99036adfad6636f4aaa52a01b (patch) (side-by-side diff) | |
tree | 09ea262ef72f0f45051184531f94fafcd7b33d30 /core/pim/datebook | |
parent | 85edd77c0da9c2aec1b57238d010e84db1607363 (diff) | |
download | opie-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
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 4 |
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*/, date=d; - static const char *wdays="MTWTFSS"; + static const char *wdays={"MTWTFSS"}; char day=wdays[d.dayOfWeek()-1]; - label->setText( QString(QChar(day)) + " " + + label->setText( QString(QObject::tr(QString(QChar(day)))) + " " + QString::number(d.day()) ); add->setText("+"); |