summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2016-01-08 13:13:30 +0100
committerBadlop <badlop@process-one.net>2016-01-08 13:14:40 +0100
commitc7b67ff00b4c1055b0dca789d94f53c85893d42c (patch)
tree2e4d1b51f330e0f9acb455232618efdf9a13ec2d
parentFix 'make install' to work on osx (diff)
Clarify a little more room error string (thanks to Genghis Khan)
Diffstat (limited to '')
-rw-r--r--src/mod_muc_room.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index 40d11bf6..6dfda260 100644
--- a/src/mod_muc_room.erl
+++ b/src/mod_muc_room.erl
@@ -228,8 +228,8 @@ normal_state({route, From, <<"">>,
case is_user_online(From, StateData) of
true ->
ErrorText = <<"It is not allowed to send error messages to the"
- " room. This participant (~s) sent an error "
- "message (~s) and gets kicked from the room">>,
+ " room. The participant (~s) has sent an error "
+ "message (~s) and got kicked from the room">>,
NewState = expulse_participant(Packet, From, StateData,
translate:translate(Lang,
ErrorText)),
@@ -516,8 +516,8 @@ normal_state({route, From, ToNick,
{expulse_sender, Reason} ->
?DEBUG(Reason, []),
ErrorText = <<"It is not allowed to send error messages to the"
- " room. This participant (~s) sent an error "
- "message (~s) and gets kicked from the room">>,
+ " room. The participant (~s) has sent an error "
+ "message (~s) and got kicked from the room">>,
NewState = expulse_participant(Packet, From, StateData,
translate:translate(Lang, ErrorText)),
{next_state, normal_state, NewState};
@@ -1057,8 +1057,8 @@ process_presence(From, Nick,
remove_online_user(From, NewState, Reason);
<<"error">> ->
ErrorText = <<"It is not allowed to send error messages to the"
- " room. This participant (~s) sent an error "
- "message (~s) and gets kicked from the room">>,
+ " room. The participant (~s) has sent an error "
+ "message (~s) and got kicked from the room">>,
expulse_participant(Packet, From, StateData,
translate:translate(Lang,
ErrorText));