diff options
Diffstat (limited to 'src/mod_vcard_ldap.erl')
-rw-r--r-- | src/mod_vcard_ldap.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_vcard_ldap.erl b/src/mod_vcard_ldap.erl index 332c36cf..68e1fc8a 100644 --- a/src/mod_vcard_ldap.erl +++ b/src/mod_vcard_ldap.erl @@ -239,7 +239,7 @@ process_sm_iq(From, To, #iq{type = Type, sub_el = SubEl} = IQ) -> ?TLFIELD("text-single", "Birthday", "bday"), ?TLFIELD("text-single", "Country", "ctry"), ?TLFIELD("text-single", "City", "locality"), - ?TLFIELD("text-single", "email", "email"), + ?TLFIELD("text-single", "Email", "email"), ?TLFIELD("text-single", "Organization Name", "orgname"), ?TLFIELD("text-single", "Organization Unit", "orgunit") ]}]). @@ -397,10 +397,10 @@ find_xdata_el1([_ | Els]) -> search_result(Lang, JID, ServerHost, Data) -> [{xmlelement, "title", [], - [{xmlcdata, translate:translate(Lang, "Results of search in ") ++ + [{xmlcdata, translate:translate(Lang, "Search Results for ") ++ jlib:jid_to_string(JID)}]}, {xmlelement, "reported", [], - [?LFIELD("JID", "jid"), + [?LFIELD("Jabber ID", "jid"), ?LFIELD("Full Name", "fn"), ?LFIELD("Given Name", "given"), ?LFIELD("Middle Name", "middle"), @@ -409,7 +409,7 @@ search_result(Lang, JID, ServerHost, Data) -> ?LFIELD("Birthday", "bday"), ?LFIELD("Country", "ctry"), ?LFIELD("City", "locality"), - ?LFIELD("email", "email"), + ?LFIELD("Email", "email"), ?LFIELD("Organization Name", "orgname"), ?LFIELD("Organization Unit", "orgunit") ]}] ++ lists:map(fun(E) -> |