summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -101,6 +101,6 @@ DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /*onM*/,
- 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()) );
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
@@ -20,2 +20,21 @@ TARGET = todayaddressbookplugin
+TRANSLATIONS = ../../../../../i18n/de/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/xx/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/en/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/es/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/fr/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/hu/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/ja/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/ko/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/no/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pl/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pt/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/pt_BR/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/sl/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/zh_CN/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/zh_TW/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/it/libtodayaddressbookplugin.ts \
+ ../../../../../i18n/da/libtodayaddressbookplugin.ts
+
+
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
@@ -29,3 +29,2 @@
-
AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name)