-rw-r--r-- | bin/kdepim/kaddressbook/germantranslation.txt | 2 | ||||
-rw-r--r-- | kabc/addresseeview.cpp | 26 | ||||
-rw-r--r-- | kaddressbook/addresseeeditorwidget.cpp | 2 | ||||
-rw-r--r-- | korganizer/searchdialog.cpp | 2 |
4 files changed, 18 insertions, 14 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 | |||
@@ -95,5 +95,5 @@ | |||
95 | { "Anniversary:","Jahrestag:" }, | 95 | { "Anniversary:","Jahrestag:" }, |
96 | { "Gender:","Geschlecht:" }, | 96 | { "Gender:","Geschlecht:" }, |
97 | { "ALIEN (gender undefined)","ALIEN (Geschlecht unbekannt)" }, | 97 | { "ALIEN (undefined)","ALIEN (undefiniert)" }, |
98 | { "female","weiblich" }, | 98 | { "female","weiblich" }, |
99 | { "male","männlich" }, | 99 | { "male","männlich" }, |
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index 2691d9a..f3cfb23 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp | |||
@@ -235,9 +235,11 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
235 | QString tempX = mAddressee.custom( "KADDRESSBOOK", "X-Gender" ); | 235 | QString tempX = mAddressee.custom( "KADDRESSBOOK", "X-Gender" ); |
236 | if ( !tempX.isEmpty() ) { | 236 | if ( !tempX.isEmpty() ) { |
237 | notes += QString( | 237 | if ( tempX == "male" || tempX == "female" ) { |
238 | "<tr><td align=\"right\"><b>%1</b></td>" | 238 | notes += QString( |
239 | "<td align=\"left\">%2</td></tr>" ) | 239 | "<tr><td align=\"right\"><b>%1</b></td>" |
240 | .arg( i18n( "" ) ) | 240 | "<td align=\"left\">%2</td></tr>" ) |
241 | .arg( i18n(tempX) ); | 241 | .arg( i18n( "" ) ) |
242 | .arg( i18n(tempX) ); | ||
243 | } | ||
242 | } | 244 | } |
243 | 245 | ||
@@ -328,10 +330,12 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
328 | if ( !tempX.isEmpty() ) { | 330 | if ( !tempX.isEmpty() ) { |
329 | QDate dt = KGlobal::locale()->readDate( tempX, "%Y-%m-%d"); | 331 | QDate dt = KGlobal::locale()->readDate( tempX, "%Y-%m-%d"); |
330 | tempX = KGlobal::locale()->formatDate(dt, true); | 332 | if ( dt.isValid () ) { |
331 | notes += QString( | 333 | tempX = KGlobal::locale()->formatDate(dt, true); |
332 | "<tr><td align=\"right\"><b>%1</b></td>" | 334 | notes += QString( |
333 | "<td align=\"left\">%2</td></tr>" ) | 335 | "<tr><td align=\"right\"><b>%1</b></td>" |
334 | .arg( i18n( "Anniversary" ) ) | 336 | "<td align=\"left\">%2</td></tr>" ) |
335 | .arg( tempX ); | 337 | .arg( i18n( "Anniversary" ) ) |
338 | .arg( tempX ); | ||
339 | } | ||
336 | } | 340 | } |
337 | tempX = mAddressee.custom( "KADDRESSBOOK", "X-SpousesName" ); | 341 | 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 | |||
@@ -707,5 +707,5 @@ void AddresseeEditorWidget::setupTab2() | |||
707 | layout->addWidget( label, iii, 1 ); | 707 | layout->addWidget( label, iii, 1 ); |
708 | mGenderBox = new QComboBox ( tab2 ); | 708 | mGenderBox = new QComboBox ( tab2 ); |
709 | mGenderBox->insertItem ( i18n( "ALIEN (gender undefined)" )); | 709 | mGenderBox->insertItem ( i18n( "ALIEN (undefined)" )); |
710 | mGenderBox->insertItem ( i18n( "female" )); | 710 | mGenderBox->insertItem ( i18n( "female" )); |
711 | mGenderBox->insertItem ( i18n( "male" )); | 711 | mGenderBox->insertItem ( i18n( "male" )); |
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 72359df..d0865c3 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp | |||
@@ -125,5 +125,5 @@ SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) | |||
125 | 125 | ||
126 | QWidget *rangeWidget = new QWidget(topFrame); | 126 | QWidget *rangeWidget = new QWidget(topFrame); |
127 | QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()); | 127 | QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()-3); |
128 | rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); | 128 | rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); |
129 | mStartDate = new KDateEdit(rangeWidget); | 129 | mStartDate = new KDateEdit(rangeWidget); |