mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix instruction and error text
This commit is contained in:
parent
de4d4a4bbb
commit
39bc499b10
@ -340,7 +340,7 @@ normal_state({route, From, "",
|
||||
end;
|
||||
false ->
|
||||
ErrText = "Voice requests are "
|
||||
"disabled in this room",
|
||||
"disabled in this conference",
|
||||
Err = jlib:make_error_reply(
|
||||
Packet,
|
||||
?ERRT_FORBIDDEN(
|
||||
@ -3784,9 +3784,7 @@ prepare_request_form(Requester, Nick, Lang) ->
|
||||
{xmlelement, "instructions", [],
|
||||
[{xmlcdata,
|
||||
translate:translate(
|
||||
Lang, "To approve this request for voice, select the "
|
||||
"\"Grant voice to this person?\" checkbox and click OK. "
|
||||
"To skip this request, click the cancel button.")}]},
|
||||
Lang, "Either approve or decline the voice request.")}]},
|
||||
{xmlelement, "field", [{"var", "FORM_TYPE"}, {"type", "hidden"}],
|
||||
[{xmlelement, "value", [],
|
||||
[{xmlcdata, "http://jabber.org/protocol/muc#request"}]}]},
|
||||
|
Loading…
Reference in New Issue
Block a user