Adium

Opened 12 years ago

Closed 12 years ago

#10327 closed defect (fixed)

Support Chinese Name Format: “<Surname> <Given Name>”

Reported by: transalpin Owned by: nobody
Milestone: Component: Adium UI
Version: Severity: normal
Keywords: Cc:
Patch Status:

Description

There is an option in Address Book which allows you to put the surname in front of the given name(s) for some single entries (while default mode remains “<givenname> <familyname>”). This is especially useful for Chinese contacts. When selected, also other apps like Mail recognize this preference. However, Adium doesn’t. Probably not a huge bug for most Westerners, but sometimes it would be nice to see the name displayed correctly, so you can just copy&paste it when you start a conversation. Hope it’s easy to fix. 謝謝.

Change History (6)

comment:1 Changed 12 years ago by Evan Schoenberg

Resolution: worksforme
Status: newclosed

Change the name format in Preferences->Advanced->Address Book to what you want :)

comment:2 Changed 12 years ago by Andreas Monitzer

Resolution: worksforme
Status: closedreopened

That's a global setting. transalpin is asking Adium to honor the per-contact setting (yes, Address Book allows that, and the Address Book API allows to read that information).

comment:3 Changed 12 years ago by Evan Schoenberg

So "First Last" becomes "Last First".... what happens in the other global settings? Nothing?

if (([[person valueForProperty:kABPersonFlags] intValue] & kABNameOrderingMask) == kABLastNameFirst) {
   if (theDisplayStyle == FirstLast) {
	theDisplayStyle = LastFirstNoComma;
   }
}

comment:4 Changed 12 years ago by Andreas Monitzer

If the global setting matches the local one, nothing happens. If they differ, you have to switch.

comment:5 Changed 12 years ago by Evan Schoenberg

Yes, but there are other global settings which aren't a mirror image of "Last First." There is, for example First Last-initial. I don't think swapping that to Last-initial First makes much sense....but then I wouldn't use this functionality. Does it?

comment:6 Changed 12 years ago by Evan Schoenberg

Resolution: fixed
Status: reopenedclosed

(In [24305]) Respect the 'last name first' per-contact setting which can be set in the address book. Fixes #10327

Note: See TracTickets for help on using tickets.