Best way to format a name string in Folks
- From: Contzen Laurent <lcontzen gmail com>
- To: gnome-i18n gnome org
- Subject: Best way to format a name string in Folks
- Date: Sat, 4 Aug 2012 10:18:07 +0200
Hello,
I'm currently adding a new display-name property in FolksIndividual as discussed in bug #651672 (
https://bugzilla.gnome.org/show_bug.cgi?id=651672). One of the possible values we'd like to set this value to would use the given_name and the family_name of the contact. Currently, I'm simply doing
var name = structured_name.given_name + " " + structured_name.family_name;
which outputs a string containing exactly "$given_name $family_name".
Is this the best way of doing this or should, for example, the string format be translatable?
Thanks in advance for your opinions on this.
Best regards,
Laurent Contzen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]