Add generic {enum/well-known string -> display string} maps to Folks
Submitted by Travis Reitter
Link to original bug (#652671)
Description
As discussed in the IM/Social/Contacts hackfest, we need centralized utility functions for converting these types of data to human-readable (translated) strings:
-
presence types (already covered by bug #627403)
- eg, 'available' -> _("Available")
-
protocol well-known/vCard value to display label
- eg, 'linklocal-xmpp' -> _("Nearby people")
-
field name
- eg, 'TEL' -> _("Phone")
Version: git master