summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookweeklst.cpp4
-rw-r--r--core/pim/today/plugins/addressbook/addressbook.pro19
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginconfig.cpp1
3 files changed, 21 insertions, 3 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
@@ -96,16 +96,16 @@ DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /*onM*/,
96 const char* name, 96 const char* name,
97 WFlags fl ) 97 WFlags fl )
98 : DateBookWeekLstDayHdrBase(parent, name, fl) { 98 : DateBookWeekLstDayHdrBase(parent, name, fl) {
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
109 if (d == QDate::currentDate()) { 109 if (d == QDate::currentDate()) {
110 QPalette pal=label->palette(); 110 QPalette pal=label->palette();
111 pal.setColor(QColorGroup::Foreground, QColor(0,0,255)); 111 pal.setColor(QColorGroup::Foreground, QColor(0,0,255));
diff --git a/core/pim/today/plugins/addressbook/addressbook.pro b/core/pim/today/plugins/addressbook/addressbook.pro
index fd7d786..3ee5bce 100644
--- a/core/pim/today/plugins/addressbook/addressbook.pro
+++ b/core/pim/today/plugins/addressbook/addressbook.pro
@@ -15,9 +15,28 @@ DEPENDPATH += $(OPIEDIR)/include \
15 15
16LIBS+= -lqpe -lopie 16LIBS+= -lqpe -lopie
17 17
18DESTDIR = $(OPIEDIR)/plugins/today 18DESTDIR = $(OPIEDIR)/plugins/today
19TARGET = todayaddressbookplugin 19TARGET = todayaddressbookplugin
20 20
21TRANSLATIONS = ../../../../../i18n/de/libtodayaddressbookplugin.ts \
22 ../../../../../i18n/xx/libtodayaddressbookplugin.ts \
23 ../../../../../i18n/en/libtodayaddressbookplugin.ts \
24 ../../../../../i18n/es/libtodayaddressbookplugin.ts \
25 ../../../../../i18n/fr/libtodayaddressbookplugin.ts \
26 ../../../../../i18n/hu/libtodayaddressbookplugin.ts \
27 ../../../../../i18n/ja/libtodayaddressbookplugin.ts \
28 ../../../../../i18n/ko/libtodayaddressbookplugin.ts \
29 ../../../../../i18n/no/libtodayaddressbookplugin.ts \
30 ../../../../../i18n/pl/libtodayaddressbookplugin.ts \
31 ../../../../../i18n/pt/libtodayaddressbookplugin.ts \
32 ../../../../../i18n/pt_BR/libtodayaddressbookplugin.ts \
33 ../../../../../i18n/sl/libtodayaddressbookplugin.ts \
34 ../../../../../i18n/zh_CN/libtodayaddressbookplugin.ts \
35 ../../../../../i18n/zh_TW/libtodayaddressbookplugin.ts \
36 ../../../../../i18n/it/libtodayaddressbookplugin.ts \
37 ../../../../../i18n/da/libtodayaddressbookplugin.ts
38
39
21 40
22 41
23include ( $(OPIEDIR)/include.pro ) 42include ( $(OPIEDIR)/include.pro )
diff --git a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
index 8d7bec6..a234236 100644
--- a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
@@ -24,13 +24,12 @@
24#include <qhbox.h> 24#include <qhbox.h>
25#include <qtoolbutton.h> 25#include <qtoolbutton.h>
26#include <qlabel.h> 26#include <qlabel.h>
27#include <qwhatsthis.h> 27#include <qwhatsthis.h>
28 28
29 29
30
31AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name) 30AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name)
32 : TodayConfigWidget(parent, name ) { 31 : TodayConfigWidget(parent, name ) {
33 32
34 QVBoxLayout * layout = new QVBoxLayout( this ); 33 QVBoxLayout * layout = new QVBoxLayout( this );
35 layout->setMargin( 20 ); 34 layout->setMargin( 20 );
36 35