mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Rephrase sentences to avoid using "allow to + verb"
This commit is contained in:
parent
5b6329a12e
commit
74cb2e054f
|
@ -381,7 +381,7 @@ doc() ->
|
||||||
"authenticate using: the old Jabber Non-SASL (XEP-0078), "
|
"authenticate using: the old Jabber Non-SASL (XEP-0078), "
|
||||||
"SASL PLAIN, SASL DIGEST-MD5, and SASL SCRAM-SHA-1/256/512(-PLUS). "), "",
|
"SASL PLAIN, SASL DIGEST-MD5, and SASL SCRAM-SHA-1/256/512(-PLUS). "), "",
|
||||||
?T("* 'scram': The password is not stored, only some information "
|
?T("* 'scram': The password is not stored, only some information "
|
||||||
"that allows to verify the hash provided by the client. "
|
"required to verify the hash provided by the client. "
|
||||||
"It is impossible to obtain the original plain password "
|
"It is impossible to obtain the original plain password "
|
||||||
"from the stored information; for this reason, when this "
|
"from the stored information; for this reason, when this "
|
||||||
"value is configured it cannot be changed to plain anymore. "
|
"value is configured it cannot be changed to plain anymore. "
|
||||||
|
@ -702,7 +702,7 @@ doc() ->
|
||||||
#{value => ?T("FieldName"),
|
#{value => ?T("FieldName"),
|
||||||
desc =>
|
desc =>
|
||||||
?T("By default, the JID is defined in the '\"jid\"' JWT field. "
|
?T("By default, the JID is defined in the '\"jid\"' JWT field. "
|
||||||
"This option allows to specify other JWT field name "
|
"In this option you can specify other JWT field name "
|
||||||
"where the JID is defined.")}},
|
"where the JID is defined.")}},
|
||||||
{jwt_key,
|
{jwt_key,
|
||||||
#{value => ?T("FilePath"),
|
#{value => ?T("FilePath"),
|
||||||
|
@ -903,8 +903,8 @@ doc() ->
|
||||||
{?T("Whether to use 'new' SQL schema. All schemas are located "
|
{?T("Whether to use 'new' SQL schema. All schemas are located "
|
||||||
"at <https://github.com/processone/ejabberd/tree/~s/sql>. "
|
"at <https://github.com/processone/ejabberd/tree/~s/sql>. "
|
||||||
"There are two schemas available. The default legacy schema "
|
"There are two schemas available. The default legacy schema "
|
||||||
"allows to store one XMPP domain into one ejabberd database. "
|
"stores one XMPP domain into one ejabberd database. "
|
||||||
"The 'new' schema allows to handle several XMPP domains in a "
|
"The 'new' schema can handle several XMPP domains in a "
|
||||||
"single ejabberd database. Using this 'new' schema is best when "
|
"single ejabberd database. Using this 'new' schema is best when "
|
||||||
"serving several XMPP domains and/or changing domains from "
|
"serving several XMPP domains and/or changing domains from "
|
||||||
"time to time. This avoid need to manage several databases and "
|
"time to time. This avoid need to manage several databases and "
|
||||||
|
@ -1417,7 +1417,7 @@ doc() ->
|
||||||
"contains the header 'X-Forwarded-For'. You can specify "
|
"contains the header 'X-Forwarded-For'. You can specify "
|
||||||
"'all' to allow all proxies, or specify a list of IPs, "
|
"'all' to allow all proxies, or specify a list of IPs, "
|
||||||
"possibly with masks. The default value is an empty list. "
|
"possibly with masks. The default value is an empty list. "
|
||||||
"This allows, if enabled, to be able to know the real IP "
|
"Using this option you can know the real IP "
|
||||||
"of the request, for admin purpose, or security configuration "
|
"of the request, for admin purpose, or security configuration "
|
||||||
"(for example using 'mod_fail2ban'). IMPORTANT: The proxy MUST "
|
"(for example using 'mod_fail2ban'). IMPORTANT: The proxy MUST "
|
||||||
"be configured to set the 'X-Forwarded-For' header if you "
|
"be configured to set the 'X-Forwarded-For' header if you "
|
||||||
|
|
|
@ -256,7 +256,7 @@ mod_options(_) ->
|
||||||
|
|
||||||
mod_doc() ->
|
mod_doc() ->
|
||||||
#{desc =>
|
#{desc =>
|
||||||
?T("This module allows to block/log messages coming from an "
|
?T("This module blocks and logs any messages coming from an "
|
||||||
"unknown entity. If a writing entity is not in your roster, "
|
"unknown entity. If a writing entity is not in your roster, "
|
||||||
"you can let this module drop and/or log the message. "
|
"you can let this module drop and/or log the message. "
|
||||||
"By default you'll just not receive message from that entity. "
|
"By default you'll just not receive message from that entity. "
|
||||||
|
|
|
@ -1679,7 +1679,7 @@ mod_doc() ->
|
||||||
#{value => ?T("Options"),
|
#{value => ?T("Options"),
|
||||||
note => "improved in 22.05",
|
note => "improved in 22.05",
|
||||||
desc =>
|
desc =>
|
||||||
?T("This option allows to define the desired "
|
?T("Define the "
|
||||||
"default room options. Note that the creator of a room "
|
"default room options. Note that the creator of a room "
|
||||||
"can modify the options of his room at any time using an "
|
"can modify the options of his room at any time using an "
|
||||||
"XMPP client with MUC capability. The 'Options' are:")},
|
"XMPP client with MUC capability. The 'Options' are:")},
|
||||||
|
|
|
@ -1043,7 +1043,7 @@ mod_doc() ->
|
||||||
{dirname,
|
{dirname,
|
||||||
#{value => "room_jid | room_name",
|
#{value => "room_jid | room_name",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Allows to configure the name of the room directory. "
|
?T("Configure the name of the room directory. "
|
||||||
"If set to 'room_jid', the room directory name will "
|
"If set to 'room_jid', the room directory name will "
|
||||||
"be the full room JID. Otherwise, the room directory "
|
"be the full room JID. Otherwise, the room directory "
|
||||||
"name will be only the room name, not including the "
|
"name will be only the room name, not including the "
|
||||||
|
|
|
@ -4414,7 +4414,7 @@ mod_doc() ->
|
||||||
"items. Value is 'true' or 'false'. If not defined, "
|
"items. Value is 'true' or 'false'. If not defined, "
|
||||||
"pubsub does not cache last items. On systems with not"
|
"pubsub does not cache last items. On systems with not"
|
||||||
" so many nodes, caching last items speeds up pubsub "
|
" so many nodes, caching last items speeds up pubsub "
|
||||||
"and allows to raise user connection rate. The cost "
|
"and allows you to raise the user connection rate. The cost "
|
||||||
"is memory usage, as every item is stored in memory.")}},
|
"is memory usage, as every item is stored in memory.")}},
|
||||||
{max_item_expire_node,
|
{max_item_expire_node,
|
||||||
#{value => "timeout() | infinity",
|
#{value => "timeout() | infinity",
|
||||||
|
@ -4469,7 +4469,7 @@ mod_doc() ->
|
||||||
{pep_mapping,
|
{pep_mapping,
|
||||||
#{value => "List of Key:Value",
|
#{value => "List of Key:Value",
|
||||||
desc =>
|
desc =>
|
||||||
?T("This allows to define a list of key-value to choose "
|
?T("In this option you can provide a list of key-value to choose "
|
||||||
"defined node plugins on given PEP namespace. "
|
"defined node plugins on given PEP namespace. "
|
||||||
"The following example will use 'node_tune' instead of "
|
"The following example will use 'node_tune' instead of "
|
||||||
"'node_pep' for every PEP node with the tune namespace:"),
|
"'node_pep' for every PEP node with the tune namespace:"),
|
||||||
|
@ -4494,7 +4494,7 @@ mod_doc() ->
|
||||||
"follows standard XEP-0060 implementation."),
|
"follows standard XEP-0060 implementation."),
|
||||||
?T("- 'pep' plugin adds extension to handle Personal "
|
?T("- 'pep' plugin adds extension to handle Personal "
|
||||||
"Eventing Protocol (XEP-0163) to the PubSub engine. "
|
"Eventing Protocol (XEP-0163) to the PubSub engine. "
|
||||||
"Adding pep allows to handle PEP automatically.")]}},
|
"When enabled, PEP is handled automatically.")]}},
|
||||||
{vcard,
|
{vcard,
|
||||||
#{value => ?T("vCard"),
|
#{value => ?T("vCard"),
|
||||||
desc =>
|
desc =>
|
||||||
|
|
|
@ -652,7 +652,7 @@ mod_doc() ->
|
||||||
{access_from,
|
{access_from,
|
||||||
#{value => ?T("AccessName"),
|
#{value => ?T("AccessName"),
|
||||||
desc =>
|
desc =>
|
||||||
?T("By default, 'ejabberd' doesn't allow to register new accounts "
|
?T("By default, 'ejabberd' doesn't allow the client to register new accounts "
|
||||||
"from s2s or existing c2s sessions. You can change it by defining "
|
"from s2s or existing c2s sessions. You can change it by defining "
|
||||||
"access rule in this option. Use with care: allowing registration "
|
"access rule in this option. Use with care: allowing registration "
|
||||||
"from s2s leads to uncontrolled massive accounts creation by rogue users.")}},
|
"from s2s leads to uncontrolled massive accounts creation by rogue users.")}},
|
||||||
|
|
|
@ -390,7 +390,7 @@ mod_doc() ->
|
||||||
#{value => "true | false",
|
#{value => "true | false",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Always insert \"Record-Route\" header into "
|
?T("Always insert \"Record-Route\" header into "
|
||||||
"SIP messages. This approach allows to bypass "
|
"SIP messages. With this approach it is possible to bypass "
|
||||||
"NATs/firewalls a bit more easily. "
|
"NATs/firewalls a bit more easily. "
|
||||||
"The default value is 'true'.")}},
|
"The default value is 'true'.")}},
|
||||||
{flow_timeout_tcp,
|
{flow_timeout_tcp,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user