mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
* src/mod_muc/mod_muc_room.erl: Rephrase the invitation sentence
to make more natural SVN Revision: 1025
This commit is contained in:
parent
3a80aa24a8
commit
536a120c9d
@ -1,5 +1,8 @@
|
|||||||
2007-12-05 Badlop <badlop@process-one.net>
|
2007-12-05 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/mod_muc/mod_muc_room.erl: Rephrase the invitation sentence
|
||||||
|
to make more natural
|
||||||
|
|
||||||
* src/msgs/es.msg: Updated
|
* src/msgs/es.msg: Updated
|
||||||
|
|
||||||
* src/ejabberd.hrl: Set more proper version number
|
* src/ejabberd.hrl: Set more proper version number
|
||||||
|
@ -2968,11 +2968,12 @@ check_invitation(From, Els, Lang, StateData) ->
|
|||||||
io_lib:format(
|
io_lib:format(
|
||||||
translate:translate(
|
translate:translate(
|
||||||
Lang,
|
Lang,
|
||||||
"You have been invited to ~s by ~s"),
|
"~s invites you to the room ~s"),
|
||||||
[jlib:jid_to_string({StateData#state.room,
|
[jlib:jid_to_string(From),
|
||||||
|
jlib:jid_to_string({StateData#state.room,
|
||||||
StateData#state.host,
|
StateData#state.host,
|
||||||
""}),
|
""})
|
||||||
jlib:jid_to_string(From)])) ++
|
])) ++
|
||||||
case (StateData#state.config)#config.password_protected of
|
case (StateData#state.config)#config.password_protected of
|
||||||
true ->
|
true ->
|
||||||
", " ++
|
", " ++
|
||||||
|
@ -192,7 +192,7 @@
|
|||||||
{"Traffic rate limit is exceeded", "Se ha exedido el límite de tráfico"}.
|
{"Traffic rate limit is exceeded", "Se ha exedido el límite de tráfico"}.
|
||||||
{"Maximum Number of Occupants", "Número máximo de ocupantes"}.
|
{"Maximum Number of Occupants", "Número máximo de ocupantes"}.
|
||||||
{"No limit", "Sin límite"}.
|
{"No limit", "Sin límite"}.
|
||||||
{"You have been invited to ~s by ~s", "Has sido invitado a la sala de charla ~s. La invitación te la envió ~s"}.
|
{"~s invites you to the room ~s", "~s te invita a la sala ~s"}.
|
||||||
{"the password is", "la contraseña es"}.
|
{"the password is", "la contraseña es"}.
|
||||||
|
|
||||||
% mod_muc/mod_muc_log.erl
|
% mod_muc/mod_muc_log.erl
|
||||||
|
Loading…
Reference in New Issue
Block a user