25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/mod_vcard_odbc.erl: Make service description translatable in discovery (EJAB-236)

* src/mod_vcard_ldap.erl: Likewise

SVN Revision: 776
This commit is contained in:
Mickaël Rémond 2007-05-29 14:53:09 +00:00
parent c228e7aeb3
commit 5c15f185c2
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2007-05-29 Mickael Remond <mickael.remond@process-one.net> 2007-05-29 Mickael Remond <mickael.remond@process-one.net>
* src/mod_vcard_odbc.erl: Make service description translatable in
discovery (EJAB-236)
* src/mod_vcard_ldap.erl: Likewise
* src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks * src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks
to Geoff Cant) to Geoff Cant)
* src/Makefile.in: Build XmppAddr.beam in a single pass * src/Makefile.in: Build XmppAddr.beam in a single pass

View File

@ -442,7 +442,7 @@ route(State, From, To, Packet) ->
From, From,
jlib:iq_to_xml(ResIQ)) jlib:iq_to_xml(ResIQ))
end; end;
#iq{type = Type, xmlns = ?NS_DISCO_INFO} -> #iq{type = Type, xmlns = ?NS_DISCO_INFO, lang = Lang} ->
case Type of case Type of
set -> set ->
Err = jlib:make_error_reply( Err = jlib:make_error_reply(
@ -458,7 +458,7 @@ route(State, From, To, Packet) ->
[{"category", "directory"}, [{"category", "directory"},
{"type", "user"}, {"type", "user"},
{"name", {"name",
"vCard User Search"}], translate:translate(Lang, "vCard User Search")}],
[]}, []},
{xmlelement, "feature", {xmlelement, "feature",
[{"var", ?NS_SEARCH}], []}, [{"var", ?NS_SEARCH}], []},

View File

@ -357,7 +357,7 @@ do_route(ServerHost, From, To, Packet) ->
[{"category", "directory"}, [{"category", "directory"},
{"type", "user"}, {"type", "user"},
{"name", {"name",
"vCard User Search"}], translate:translate(Lang, "vCard User Search")}],
[]}, []},
{xmlelement, "feature", {xmlelement, "feature",
[{"var", ?NS_SEARCH}], []}, [{"var", ?NS_SEARCH}], []},