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

View File

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

View File

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

View File

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

View File

@ -176,7 +176,7 @@ mod_doc() ->
"\"app servers\" operated by third-party vendors of " "\"app servers\" operated by third-party vendors of "
"mobile apps. Those app servers will usually trigger " "mobile apps. Those app servers will usually trigger "
"notification delivery to the user's mobile device using " "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 => opts =>
[{notify_on, [{notify_on,
#{value => "messages | all", #{value => "messages | all",

View File

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