mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix English strings (thanks to Andreas van Cranenburgh)
This commit is contained in:
parent
752652e56c
commit
7dd171322d
@ -304,7 +304,7 @@ process(_Handlers, #request{method='POST', q=Q, lang=Lang, path=[_, Id]}) ->
|
||||
Form =
|
||||
{xmlelement, "p", [],
|
||||
[{xmlcdata,
|
||||
translate:translate(Lang, "The captcha is valid.")
|
||||
translate:translate(Lang, "The CAPTCHA is valid.")
|
||||
}]},
|
||||
ejabberd_web:make_xhtml([Form]);
|
||||
captcha_non_valid ->
|
||||
|
@ -363,7 +363,7 @@ normal_state({route, From, "",
|
||||
error ->
|
||||
ErrText = "Failed to extract "
|
||||
"JID from your voice "
|
||||
"request approvement",
|
||||
"request approval",
|
||||
Err = jlib:make_error_reply(
|
||||
Packet,
|
||||
?ERRT_BAD_REQUEST(
|
||||
@ -1861,7 +1861,7 @@ add_new_user(From, Nick, {xmlelement, _, Attrs, Els} = Packet, StateData) ->
|
||||
From, Err),
|
||||
StateData;
|
||||
_ ->
|
||||
ErrText = "Unable to generate a captcha",
|
||||
ErrText = "Unable to generate a CAPTCHA",
|
||||
Err = jlib:make_error_reply(
|
||||
Packet, ?ERRT_INTERNAL_SERVER_ERROR(Lang, ErrText)),
|
||||
ejabberd_router:route( % TODO: s/Nick/""/
|
||||
@ -3314,7 +3314,7 @@ get_config(Lang, StateData, From) ->
|
||||
] ++
|
||||
case ejabberd_captcha:is_feature_available() of
|
||||
true ->
|
||||
[?BOOLXFIELD("Make room captcha protected",
|
||||
[?BOOLXFIELD("Make room CAPTCHA protected",
|
||||
"captcha_protected",
|
||||
Config#config.captcha_protected)];
|
||||
false -> []
|
||||
|
Loading…
Reference in New Issue
Block a user