]> granicus.if.org Git - ejabberd/commitdiff
Fix instruction and error text
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 26 Sep 2011 10:00:43 +0000 (20:00 +1000)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 26 Sep 2011 10:00:43 +0000 (20:00 +1000)
src/mod_muc/mod_muc_room.erl

index e4daddb44d1aaf7f82964a8e3bf8fbb91ea241ce..164805d9cd34fc93a37d6e12a6f6bf0bd1fbfb99 100644 (file)
@@ -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"}]}]},