author | zautrix <zautrix> | 2005-06-26 11:53:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-26 11:53:18 (UTC) |
commit | 095b64dde716ebaac511d413b5b4acdd68eccae5 (patch) (unidiff) | |
tree | 0f87898db258734f12e384f0d000ab773a0ea334 | |
parent | ef04711ec84150e67b00ce6dc0b6c6bafd5a537f (diff) | |
download | kdepimpi-095b64dde716ebaac511d413b5b4acdd68eccae5.zip kdepimpi-095b64dde716ebaac511d413b5b4acdd68eccae5.tar.gz kdepimpi-095b64dde716ebaac511d413b5b4acdd68eccae5.tar.bz2 |
fixes
-rw-r--r-- | bin/kdepim/kaddressbook/germantranslation.txt | 6 | ||||
-rw-r--r-- | kabc/addresseeview.cpp | 31 |
2 files changed, 20 insertions, 17 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index 473aa0e..515161f 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt | |||
@@ -783,7 +783,7 @@ | |||
783 | { "male","männlich" }, | 783 | { "male","männlich" }, |
784 | { "female","weiblich" }, | 784 | { "female","weiblich" }, |
785 | { "","" }, | 785 | { "Hide!","Verbergen!" }, |
786 | { "","" }, | 786 | { "Show!","Anzeigen!" }, |
787 | { "","" }, | 787 | { "Details","Details" }, |
788 | { "","" }, | 788 | { "","" }, |
789 | { "","" }, | 789 | { "","" }, |
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index 202a718..7c70ab1 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp | |||
@@ -230,8 +230,18 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
230 | "<tr><td align=\"right\"><b>%1</b></td>" | 230 | "<tr><td align=\"right\"><b>%1</b></td>" |
231 | "<td align=\"left\"><a href=\"notAllDetails\">%4</a></td></tr>" ) | 231 | "<td align=\"left\"><a href=\"notAllDetails\">%4</a></td></tr>" ) |
232 | .arg( i18n("Details:") ) | 232 | .arg( i18n("Details") ) |
233 | .arg( i18n("Click here to hide!") ); | 233 | .arg( i18n("Hide!") ); |
234 | 234 | ||
235 | QString tempX = mAddressee.secrecy().asString(); | 235 | QString tempX = mAddressee.custom( "KADDRESSBOOK", "X-Gender" ); |
236 | if ( !tempX.isEmpty() ) { | ||
237 | notes += QString( | ||
238 | "<tr><td align=\"right\"><b>%1</b></td>" | ||
239 | "<td align=\"left\">%2</td></tr>" ) | ||
240 | .arg( i18n( "" ) ) | ||
241 | .arg( i18n(tempX) ); | ||
242 | } | ||
243 | |||
244 | |||
245 | tempX = mAddressee.secrecy().asString(); | ||
236 | 246 | ||
237 | notes += QString( | 247 | notes += QString( |
@@ -241,5 +251,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
241 | .arg( tempX ); | 251 | .arg( tempX ); |
242 | 252 | ||
243 | 253 | ||
244 | tempX = mAddressee.categories().join(" - "); | 254 | tempX = mAddressee.categories().join(" - "); |
245 | if ( !tempX.isEmpty() ) { | 255 | if ( !tempX.isEmpty() ) { |
@@ -314,12 +324,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
314 | .arg( tempX ); | 324 | .arg( tempX ); |
315 | } | 325 | } |
316 | tempX = mAddressee.custom( "KADDRESSBOOK", "X-Gender" ); | 326 | |
317 | if ( !tempX.isEmpty() ) { | ||
318 | notes += QString( | ||
319 | "<tr><td align=\"right\"><b>%1</b></td>" | ||
320 | "<td align=\"left\">%2</td></tr>" ) | ||
321 | .arg( i18n( "Gender" ) ) | ||
322 | .arg( i18n(tempX) ); | ||
323 | } | ||
324 | tempX = mAddressee.custom( "KADDRESSBOOK", "X-Anniversary" ); | 327 | tempX = mAddressee.custom( "KADDRESSBOOK", "X-Anniversary" ); |
325 | if ( !tempX.isEmpty() ) { | 328 | if ( !tempX.isEmpty() ) { |
@@ -363,6 +366,6 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
363 | "<tr><td align=\"right\"><b>%1</b></td>" | 366 | "<tr><td align=\"right\"><b>%1</b></td>" |
364 | "<td align=\"left\"><a href=\"allDetails\">%4</a></td></tr>" ) | 367 | "<td align=\"left\"><a href=\"allDetails\">%4</a></td></tr>" ) |
365 | .arg( i18n("Details:") ) | 368 | .arg( i18n("Details") ) |
366 | .arg( i18n("Click here to show!") ); | 369 | .arg( i18n("Show!") ); |
367 | 370 | ||
368 | 371 | ||