Re: [Knokiisync-users] Surname - name seperator
Status: Beta
Brought to you by:
reverant
|
From: Dimitris S. <dim...@li...> - 2003-08-07 15:51:53
|
On Thursday 07 August 2003 11:54, you wrote:
> On Wed, 6 Aug 2003, Dimitris Stasinopoulos wrote:
> > after thinking about Guillaume's and Pawel's comments on the name format,
> > I thought of a very simple idea: Why not make the seperator of the name
> > and the surname customisable? So, if you have a three-word name, like
> > "John T. Smith", you can specify a two space seperator ' ' between
> > "John" and "T. Smith", so you end up with a pretty customisable format. I
> > need everyone's
>
> I'm afraid it will give not much. Think of "John Andrew Smith". What I
> would suggest is rather allowing to set some thing like:
> - if the entry has one part then: ask/use as name/use as surname/custom
> - if the entry has two parts then: ask/name surname/surname name/custom
> - if the entry has three parts then: ask/name name surname/...
> with the default to ask.
>
> pkot
The whole problem here is the KABC::Addressee class. All contacts in the phone
have to be inserted into one such object. You have to remember that you are
allowed up to three fields for the full name in this class, which are:
1) Given name ("John")
2) Family name ("Smith")
3) Additional name ("Andrew")
Also, if we decide to use a "custom" dialog, there will have to be big code
changes, and that is certainly going to push back version 0.4.0, maybe up to
one month, until I can properly implement these features. So, the way I see
it, based on your proposal:
The seperator MUST be user defined. It will be shown as [SEPERATOR] below.
The presence (or absence) of the seperator is the fact by which we judge how
many parts the entry has.
1) If the entry has one part then:
a) Ask
b) Assume Name
c) Assume Surname
d) Assume Additional Name
2) If the entry has two parts then:
a) Ask
b) Assume Name [SEPERATOR] Surname
c) Assume Surname [SEPERATOR] Name
3) If the entry has three parts then:
a) Ask
b) Assume Name [SEPERATOR] Additional Name [SEPERATOR] Surname
c) Assume Surname [SEPERATOR] Additional Name [SEPERATOR] Name
4) If the entry has more than three parts then:
a) Ask
And here is what the Ask dialog will look like:
http://knokiisync.sf.net/Name/images.html
The number of frame widgets shown on the dialog depends on the number of parts
the entry has, as you can see in the pictures.
What do you think?
Dimitris
|