-rw-r--r-- | bin/kdepim/kaddressbook/germantranslation.txt | 2 | ||||
-rw-r--r-- | kabc/addresseeview.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/addresseeeditorwidget.cpp | 2 | ||||
-rw-r--r-- | korganizer/searchdialog.cpp | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index c18a241..b2f2704 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt @@ -96,3 +96,3 @@ { "Gender:","Geschlecht:" },
-{ "ALIEN (gender undefined)","ALIEN (Geschlecht unbekannt)" },
+{ "ALIEN (undefined)","ALIEN (undefiniert)" },
{ "female","weiblich" },
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index 2691d9a..f3cfb23 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp @@ -236,2 +236,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) if ( !tempX.isEmpty() ) { + if ( tempX == "male" || tempX == "female" ) { notes += QString( @@ -242,2 +243,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) } + } @@ -329,2 +331,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) QDate dt = KGlobal::locale()->readDate( tempX, "%Y-%m-%d"); + if ( dt.isValid () ) { tempX = KGlobal::locale()->formatDate(dt, true); @@ -336,2 +339,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) } + } tempX = mAddressee.custom( "KADDRESSBOOK", "X-SpousesName" ); diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp index 5334a0e..29abd6f 100644 --- a/kaddressbook/addresseeeditorwidget.cpp +++ b/kaddressbook/addresseeeditorwidget.cpp @@ -708,3 +708,3 @@ void AddresseeEditorWidget::setupTab2() mGenderBox = new QComboBox ( tab2 ); - mGenderBox->insertItem ( i18n( "ALIEN (gender undefined)" )); + mGenderBox->insertItem ( i18n( "ALIEN (undefined)" )); mGenderBox->insertItem ( i18n( "female" )); diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 72359df..d0865c3 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp @@ -126,3 +126,3 @@ SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) QWidget *rangeWidget = new QWidget(topFrame); - QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()); + QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()-3); rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); |