Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 8902:cb3dd3a4c71c
[gaim-migrate @ 9671]
Show "not specified" as a gender instead of defaulting to male.
I thought about using "inhuman" or "unknown"... but I didn't.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 08 May 2004 07:19:33 +0000 |
parents | 60cc86a15eed |
children | 00138e366ef8 |
comparison
equal
deleted
inserted
replaced
8901:c430e99bb147 | 8902:cb3dd3a4c71c |
---|---|
4233 g_free(utf8); | 4233 g_free(utf8); |
4234 } | 4234 } |
4235 } | 4235 } |
4236 } | 4236 } |
4237 oscar_string_append(str, "\n<br>", _("Mobile Phone"), info->mobile); | 4237 oscar_string_append(str, "\n<br>", _("Mobile Phone"), info->mobile); |
4238 oscar_string_append(str, "\n<br>", _("Gender"), info->gender==1 ? _("Female") : _("Male")); | 4238 oscar_string_append(str, "\n<br>", _("Gender"), info->gender == 0 ? _("Not specified") : |
4239 info->gender == 1 ? _("Female") : _("Male")); | |
4239 if (info->birthyear || info->birthmonth || info->birthday) { | 4240 if (info->birthyear || info->birthmonth || info->birthday) { |
4240 char date[30]; | 4241 char date[30]; |
4241 struct tm tm; | 4242 struct tm tm; |
4242 tm.tm_mday = (int)info->birthday; | 4243 tm.tm_mday = (int)info->birthday; |
4243 tm.tm_mon = (int)info->birthmonth-1; | 4244 tm.tm_mon = (int)info->birthmonth-1; |