case privacy_check_packet(StateData, From, To, Packet, out) of
deny ->
Lang = StateData#state.lang,
- ErrText = "Routing of this stanza was denied by your active privacy list",
+ ErrText = "Your active privacy list has denied the routing of this stanza.",
Err = jlib:make_error_reply(Packet, ?ERRT_NOT_ACCEPTABLE(Lang, ErrText)),
ejabberd_router:route(To, From, Err),
ok;
[{xmlelement, "instructions", [],
[{xmlcdata,
translate:translate(
- Lang, "You need an x:data capable client to register nickname")}]},
+ Lang, "You need a client that supports x:data to register the nickname")}]},
{xmlelement, "x",
[{"xmlns", ?NS_XDATA}],
[{xmlelement, "title", [],
IQ#iq{type = error,
sub_el = [SubEl, ?ERR_BAD_REQUEST]};
_ ->
- ErrText = "Captcha test failed",
+ ErrText = "The CAPTCHA verification has failed",
IQ#iq{type = error,
sub_el = [SubEl,
?ERRT_NOT_ALLOWED(Lang, ErrText)]}
TopInstrEl = {xmlelement, "instructions", [],
[{xmlcdata,
translate:translate(
- Lang, "You need an x:data capable client "
- "with CAPTCHA support to register")}]},
+ Lang, "You need a client that supports x:data "
+ "and CAPTCHA to register")}]},
InstrEl = {xmlelement, "instructions", [],
[{xmlcdata,
translate:translate(
[{"xmlns", "jabber:iq:register"}],
[TopInstrEl | CaptchaEls]}]};
error ->
- ErrText = "Unable to generate a captcha",
+ ErrText = "Unable to generate a CAPTCHA",
IQ#iq{type = error,
sub_el = [SubEl, ?ERRT_INTERNAL_SERVER_ERROR(
Lang, ErrText)]}
{success, ok, {Username, Host, _Password}} ->
Jid = jlib:make_jid(Username, Host, ""),
send_registration_notifications(Jid, Ip),
- Text = ?T("Your Jabber account was succesfully created."),
+ Text = ?T("Your Jabber account was successfully created."),
{200, [], Text};
Error ->
ErrorText = ?T("There was an error creating the account: ") ++
process(["delete"], #request{method = 'POST', q = Q, lang = Lang, host = Host}) ->
case form_del_post(Q, Host) of
{atomic, ok} ->
- Text = ?T("Your Jabber account was succesfully deleted."),
+ Text = ?T("Your Jabber account was successfully deleted."),
{200, [], Text};
Error ->
ErrorText = ?T("There was an error deleting the account: ") ++
process(["change_password"], #request{method = 'POST', q = Q, lang = Lang, host = Host}) ->
case form_changepass_post(Q, Host) of
{atomic, ok} ->
- Text = ?T("The password of your Jabber account was succesfully changed."),
+ Text = ?T("The password of your Jabber account was successfully changed."),
{200, [], Text};
Error ->
ErrorText = ?T("There was an error changing the password: ") ++