mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-11 15:08:56 +02: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:
parent
c228e7aeb3
commit
5c15f185c2
@ -1,5 +1,9 @@
|
||||
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
|
||||
to Geoff Cant)
|
||||
* src/Makefile.in: Build XmppAddr.beam in a single pass
|
||||
|
@ -442,7 +442,7 @@ route(State, From, To, Packet) ->
|
||||
From,
|
||||
jlib:iq_to_xml(ResIQ))
|
||||
end;
|
||||
#iq{type = Type, xmlns = ?NS_DISCO_INFO} ->
|
||||
#iq{type = Type, xmlns = ?NS_DISCO_INFO, lang = Lang} ->
|
||||
case Type of
|
||||
set ->
|
||||
Err = jlib:make_error_reply(
|
||||
@ -458,7 +458,7 @@ route(State, From, To, Packet) ->
|
||||
[{"category", "directory"},
|
||||
{"type", "user"},
|
||||
{"name",
|
||||
"vCard User Search"}],
|
||||
translate:translate(Lang, "vCard User Search")}],
|
||||
[]},
|
||||
{xmlelement, "feature",
|
||||
[{"var", ?NS_SEARCH}], []},
|
||||
|
@ -357,7 +357,7 @@ do_route(ServerHost, From, To, Packet) ->
|
||||
[{"category", "directory"},
|
||||
{"type", "user"},
|
||||
{"name",
|
||||
"vCard User Search"}],
|
||||
translate:translate(Lang, "vCard User Search")}],
|
||||
[]},
|
||||
{xmlelement, "feature",
|
||||
[{"var", ?NS_SEARCH}], []},
|
||||
|
Loading…
Reference in New Issue
Block a user