25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Fix typos (thanks to Jerome Sautret)

This commit is contained in:
Badlop 2024-06-27 17:20:50 +02:00
parent 82d95ac81d
commit 949649e3a9
6 changed files with 13 additions and 13 deletions

View File

@ -2389,7 +2389,7 @@ mod_doc() ->
#{desc =>
[?T("This module provides additional administrative commands."), "",
?T("Details for some commands:"), "",
?T("- 'ban-acount':"),
?T("- 'ban_account':"),
?T("This command kicks all the connected sessions of the account "
"from the server. It also changes their password to a randomly "
"generated one, so they can't login anymore unless a server "
@ -2402,8 +2402,8 @@ mod_doc() ->
"`C:/Program Files/ejabberd` or similar. If you use other "
"Operating System, place the file on the same directory where "
"the .beam files are installed. See below an example roster file."),
?T("- 'srg-create':"),
?T("If you want to put a group Name with blankspaces, use the "
?T("- 'srg_create':"),
?T("If you want to put a group Name with blank spaces, use the "
"characters \"\' and \'\" to define when the Name starts and "
"ends. See an example below.")],
example =>
@ -2427,6 +2427,6 @@ mod_doc() ->
"boby@example.org will be kicked, and its password will be set "
"to something like "
"'BANNED_ACCOUNT--20080425T21:45:07--2176635--Spammed_rooms'"),
["ejabberdctl vhost example.org ban-account boby \"Spammed rooms\""]},
{?T("Call to srg-create using double-quotes and single-quotes:"),
["ejabberdctl srg-create g1 example.org \"\'Group number 1\'\" this_is_g1 g1"]}]}.
["ejabberdctl vhost example.org ban_account boby \"Spammed rooms\""]},
{?T("Call to srg_create using double-quotes and single-quotes:"),
["ejabberdctl srg_create g1 example.org \"\'Group number 1\'\" this_is_g1 g1"]}]}.

View File

@ -1678,7 +1678,7 @@ mod_doc() ->
#{value => "true | false",
desc =>
?T("When this option is disabled, for each individual "
"subscriber a separa mucsub message is stored. With this "
"subscriber a separate mucsub message is stored. With this "
"option enabled, when a user fetches archive virtual "
"mucsub, messages are generated from muc archives. "
"The default value is 'false'.")}}]}.

View File

@ -1582,7 +1582,7 @@ mod_doc() ->
desc =>
?T("This option defines after how many users in the room, "
"it is considered overcrowded. When a MUC room is considered "
"overcrowed, presence broadcasts are limited to reduce load, "
"overcrowded, presence broadcasts are limited to reduce load, "
"traffic and excessive presence \"storm\" received by participants. "
"The default value is '1000'.")}},
{min_message_interval,

View File

@ -1225,7 +1225,7 @@ mod_doc() ->
{bounce_groupchat,
#{value => "true | false",
desc =>
?T("This option is use the disable an optimisation that "
?T("This option is use the disable an optimization that "
"avoids bouncing error messages when groupchat messages "
"could not be stored as offline. It will reduce chat "
"room load, without any drawback in standard use cases. "
@ -1235,7 +1235,7 @@ mod_doc() ->
"but the bounce is much more likely to happen in the context "
"of MucSub, so it is even more important to have it on "
"large MucSub services. The default value is 'false', meaning "
"the optimisation is enabled.")}},
"the optimization is enabled.")}},
{db_type,
#{value => "mnesia | sql",
desc =>

View File

@ -176,7 +176,7 @@ mod_doc() ->
"\"app servers\" operated by third-party vendors of "
"mobile apps. Those app servers will usually trigger "
"notification delivery to the user's mobile device using "
"platform-dependant backend services such as FCM or APNS."),
"platform-dependent backend services such as FCM or APNS."),
opts =>
[{notify_on,
#{value => "messages | all",

View File

@ -950,7 +950,7 @@ mod_doc() ->
"https://xmpp.org/extensions/xep-0198.html"
"[XEP-0198: Stream Management]. This protocol allows "
"active management of an XML stream between two XMPP "
"entities, including features for stanza acknowledgements "
"entities, including features for stanza acknowledgments "
"and stream resumption."),
opts =>
[{max_ack_queue,
@ -992,7 +992,7 @@ mod_doc() ->
{ack_timeout,
#{value => "timeout()",
desc =>
?T("A time to wait for stanza acknowledgements. "
?T("A time to wait for stanza acknowledgments. "
"Setting it to 'infinity' effectively disables the timeout. "
"The default value is '1' minute.")}},
{resend_on_timeout,