Bug 57737 - Name handling i18n problem.
Summary: Name handling i18n problem.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-26 16:11 UTC by Csaba Lack
Modified: 2009-08-05 15:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Lack 2003-04-26 16:11:43 UTC
Version:           1.5.1 (using KDE 3.1.1)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

In some languages, (e.g. in Hungarian) the family's name is written before the First name. 
I don't know whether a bug or not. Maybe it should be in Hungarian kde-i18n package which knows that. 
But I think in all i18n the "Formatted name" value should be written to the email's e.g.: To: "Formatted name" <email@domain.top>, of course if it was given.

I don't know why does the Kaddressbook have the "Formatted name" input text area if it can't be used.

Another question: how can I write the recepient name as a nick name, without changing the "Given name" and "Family names" fields from First/Last name

Best Regards.
Csaba Lack (or in Hungarian: Lack Csaba)
Comment 1 Tobias Koenig 2003-09-28 15:09:27 UTC
Subject: kdelibs/kabc/scripts

CVS commit by tokoe: 

Quote real name in fullEmail() if it contains a comma.
That fixes bug 57737 as well.
CCMAIL:57737-done@bugs.kde.org


  M +6 -2      addressee.src.cpp   1.51


--- kdelibs/kabc/scripts/addressee.src.cpp  #1.50:1.51
@@ -305,6 +305,10 @@ QString Addressee::fullEmail( const QStr
   if ( realName().isEmpty() )
     text = e;
+  else {
+    if ( realName().find( ',' ) != -1 )
+      text = "\"" + realName() + "\" <" + e + ">";
   else
-    text = assembledName() + " <" + e + ">";
+      text = realName() + " <" + e + ">";
+  }
 
   return text;


Comment 2 Tobias Koenig 2009-08-05 15:52:21 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.