aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2011-09-26 20:00:43 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2011-09-26 20:00:43 +1000
commit39bc499b10fa231c01e6edd2d7190327ea39ba13 (patch)
tree2c499b35b1cc4e8021fa04c130eacb5c4a05d55e /src
parentChange "muc#role" field type to "hidden" (diff)
Fix instruction and error text
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc/mod_muc_room.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index e4daddb44..164805d9c 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -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"}]}]},