summaryrefslogtreecommitdiff
authorgroucho <groucho>2003-01-27 08:49:52 (UTC)
committer groucho <groucho>2003-01-27 08:49:52 (UTC)
commitdd9560a3f08593d99036adfad6636f4aaa52a01b (patch) (unidiff)
tree09ea262ef72f0f45051184531f94fafcd7b33d30
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 (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*/,
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()) );
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
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
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 @@
29 29
30
31AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name) 30AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name)